Dear Friends,

I am trying to upgrades all pervious versions of java using major upgrde. Details are as belows:

I have to uninstall following version of JRE using JRE version 6.0.130:

5.0.60.5
6.0.20.6
6.0.30.5
6.0.50.13
6.0.60.2

I have done all the needful, that is, changed product code, changed project code, changed version (all were already differnt from previous version). Added upgrade item in Wise package studio in upgrade section.

RemoveExistingProducts sequencing is prior to InstallInitialize in InstallExecuteSection.

But.....Upgrade is not happening at all. Previous versions are still there.[:@]

Could anyone please advise, what is wrong. Am I doing something worong, or missed some steps.

Will appreciate all the help.

Thanks,
0 Comments   [ + ] Show 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.

Answers

0
I don't think JRE is upgradeable, as such. The different flavours are designed to live side-by-side: hence the discrete folders 'C:\Program Files\Java\jre1.5.0_10', 'C:\Program Files\Java\jre1.6.0_01', etc.

You'll need to uninstall them.
Answered 05/29/2009 by: VBScab
Red Belt

Please log in to comment
0
RemoveExistingProduct is conditioned as
REMOVEEXISTING Or (MODE="C" And (PREV_CONSUMER_VERSION<JDK_VERSION))

PLease check the condition result to analyze the upgrade.

Jeeoo!
Santro
Answered 05/29/2009 by: zipsantro
Purple Belt

Please log in to comment
0
Hi VBScab,

I understand that JRE version can be installed side by side. But is there any way to uninstall it via upgrade using my latest version of JRE.

Thanks,
Answered 05/29/2009 by: djain3
Second Degree Blue Belt

Please log in to comment
0
ORIGINAL: zipsantro

RemoveExistingProduct is conditioned as
REMOVEEXISTING Or (MODE="C" And (PREV_CONSUMER_VERSION<JDK_VERSION))

PLease check the condition result to analyze the upgrade.

Jeeoo!
Santro



Hi Santro,

I removed the condition still no luck...

could there be any other reason?

please suggest
Answered 05/29/2009 by: djain3
Second Degree Blue Belt

Please log in to comment
0
Dear Experts,

Please give your kind comments on this.

Many Thanks,
Answered 05/29/2009 by: djain3
Second Degree Blue Belt

Please log in to comment
0
what does your upgrade table look like?
Answered 05/29/2009 by: kiptek
Second Degree Green Belt

Please log in to comment
0
It has an entry for each previous version. so that upgrade can work.
Answered 05/29/2009 by: djain3
Second Degree Blue Belt

Please log in to comment
0
Really? Wow!

interested in these columns...

VersionMin
VersionMax
Attributes
ActionProperty
Answered 05/29/2009 by: kiptek
Second Degree Green Belt

Please log in to comment
0
VersionMin
VersionMax
Attributes
ActionProperty


VersionMin = 1.6.0.20
VersionMax = 6.0.130
Attributes =256
ActionProperty =UPGRADE_1
Answered 05/29/2009 by: djain3
Second Degree Blue Belt

Please log in to comment
0
informed the values of columns...could you advise what is going wrong?
Answered 05/29/2009 by: djain3
Second Degree Blue Belt

Please log in to comment
0
It's not doing wrong per se... Sometimes a packager hosed up the versioning. Try:

VersionMin = 0
VersionMax = (*leave this blank*)
Attributes =256
Answered 05/29/2009 by: kiptek
Second Degree Green Belt

Please log in to comment
0
I had this same problem. We had so many different versions of Java installed on all of our machines I didnt want to go to each machine to remove all the different copies.. I found out how to push the latest version down.. and also learned how to quitely remove older version(used 1.5.0 as the oldest.) so I made a list of the versions of jre that was installed.. and have all the older version uninstall before installing the newest version.

install_java.bat - used netping to install or you can use psexec.exe.

PUSHD "\\server\installs\java"
rem JQS.exe hangs sometimes.. so I kill it.
taskkill /IM jqs.exe /f
rem uninstall all previous version from 1.5.0 to 1.6.12 -. when it moves to 1.6.14 then add 1.6.13 to the uninstall.
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150000}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150010}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150020}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150030}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150040}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150050}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150060}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150070}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150080}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150090}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150100}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150110}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150120}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150130}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150140}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150150}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150160}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150170}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0160000}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0160010}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0160020}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0160030}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0160040}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0160050}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0160060}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0160070}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0160080}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0160090}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0160100}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0160110}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0160120}
rem install latest version silently .. no autoupdate either.
START /WAIT jre-6u13-windows-i586-p.exe /s IEXPLORER=1 AUTOUPDATECHECK=0 REBOOT=Suppress
POPD

It seems to work well here..
I also do this with Adobe reader.. it actually works quite well with them both.
Answered 05/29/2009 by: Cuznmark
Yellow Belt

Please log in to comment
0
ORIGINAL: Cuznmark
I had this same problem. We had so many different versions of Java installed on all of our machines I didnt want to go to each machine to remove all the different copies.. I found out how to push the latest version down.. and also learned how to quitely remove older version(used 1.5.0 as the oldest.) so I made a list of the versions of jre that was installed.. and have all the older version uninstall before installing the newest version.

install_java.bat - used netping to install or you can use psexec.exe.


I would recommend this method. I used it & it works like a charm! Created a permanent java Uninstall ZSERVICE in our radia environment to use as a prereq. As we update java, i just update the batch file with the current version to add to the uninstall.
Answered 05/29/2009 by: kiptek
Second Degree Green Belt

Please log in to comment
0
ORIGINAL: kiptek

It's not doing wrong per se... Sometimes a packager hosed up the versioning. Try:

VersionMin = 0
VersionMax = (*leave this blank*)
Attributes =256



Do I have to tick both options 'Include minimum version in range' and 'Include Maximum version in range'??

Please suggest
Answered 06/01/2009 by: djain3
Second Degree Blue Belt

Please log in to comment
0
ORIGINAL: kiptek

It's not doing wrong per se... Sometimes a packager hosed up the versioning. Try:

VersionMin = 0
VersionMax = (*leave this blank*)
Attributes =256



I did as per your above suggetions...this still doesn't work.
Answered 06/01/2009 by: djain3
Second Degree Blue Belt

Please log in to comment
0
ORIGINAL: Cuznmark

I had this same problem. We had so many different versions of Java installed on all of our machines I didnt want to go to each machine to remove all the different copies.. I found out how to push the latest version down.. and also learned how to quitely remove older version(used 1.5.0 as the oldest.) so I made a list of the versions of jre that was installed.. and have all the older version uninstall before installing the newest version.

install_java.bat - used netping to install or you can use psexec.exe.

PUSHD "\\server\installs\java"
rem JQS.exe hangs sometimes.. so I kill it.
taskkill /IM jqs.exe /f
rem uninstall all previous version from 1.5.0 to 1.6.12 -. when it moves to 1.6.14 then add 1.6.13 to the uninstall.
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150000}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150010}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150020}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150030}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150040}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150050}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150060}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150070}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150080}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150090}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150100}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150110}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150120}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150130}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150140}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150150}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150160}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0150170}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0160000}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0160010}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0160020}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0160030}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0160040}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0160050}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0160060}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0160070}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0160080}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0160090}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0160100}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0160110}
START /WAIT msiexec.exe /qn /x {3248F0A8-6813-11D6-A77B-00B0D0160120}
rem install latest version silently .. no autoupdate either.
START /WAIT jre-6u13-windows-i586-p.exe /s IEXPLORER=1 AUTOUPDATECHECK=0 REBOOT=Suppress
POPD

It seems to work well here..
I also do this with Adobe reader.. it actually works quite well with them both.


Can we put thse command in landesk deployment tool?
Answered 06/01/2009 by: djain3
Second Degree Blue Belt

Please log in to comment
Answer this question or Comment on this question for clarity