/build/static/layout/Breadcrumb_cap_w.png

Sun Java 1.4.2_03

Hi Everyone

We are looking at installing on our corporate machine Sun Java 1.4.2_03 as the standard. I have created a package that I can distribute through ZenWorks to do the installation but I am having a problem with previously installed version. Some of these version could be higher that the version that I am installing. I believe that the current version is 1.4.2_07.

How can I uninstall these other version (older and newer) or do I even want to? I believe that I can run multiple versions at the same time but I am not sure of this as well as what effect this might have. I have looked in IE and the version that was originally installed (which was a higher version) is still being displayed there.

Any assistance would be greatly appreciated

0 Comments   [ + ] Show comments

Answers (1)

Posted by: hantu33 19 years ago
Yellow Belt
0
hi there

I had the same problem, what I did to get around it was to place the following in the "Eun before launching script":

@ECHO OFF
IF EXIST "C:\Program Files\Java\j2re1.4.1_01\bin\java.exe" GOTO EXIST Else
goto End

:EXIST
IF EXIST "C:\Program Files\InstallShield Installation Information\{1666FA7C-CB5F-11D6-A78C-00B0D079AF64}\setup.exe" GOTO UNINST Else
goto COPY

:COPY
rem this was just incase the uninstall files were not on the local pc
Echo Copying j2re1.4.1_01 Uninstall Files....
XCOPY "\\Install-srv2\VOL1\equip.srv\Users\Equipser\Johan\NAL\Jre 1.4.2_07\Uninstall\*.*" /S /Y /Q "C:\Program Files\InstallShield Installation Information\*.*"

:UNINST
Echo Removing j2re1.4.1_01....
"C:\Program Files\InstallShield Installation Information\{1666FA7C-CB5F-11D6-A78C-00B0D079AF64}\Setup.exe" /s /x /f1"\\Install-srv2\VOL1\equip.srv\Users\Equipser\Johan\NAL\Jre 1.4.2_07\setup.iss" /f2"%temp%\setup.log"
Goto End

:END
Echo Removal of J2RE 1.4.1_01finished.
Exit
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ