/bundles/itninjaweb/img/Breadcrumb_cap_w.png
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   [ - ] Hide Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity

Answers

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
Answered 03/30/2005 by: hantu33
Yellow Belt

Please log in to comment