Updating Java 6_30 to Java 7_17
Ive searched these boards up and down and have tried many different options offered here but just cannot get Java 7 update 17 to install while at the same time remove Java 6 Update 30.
Currently Im using this .bat
taskkill /F /IM iexplorer.exe
taskkill /F /IM iexplore.exe
taskkill /F /IM javaw.exe
taskkill /F /IM jqs.exe
taskkill /F /IM jusched.exe
MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83216033FF} /qn
taskkill /F /IM iexplorer.exe
taskkill /F /IM iexplore.exe
taskkill /F /IM javaw.exe
taskkill /F /IM jqs.exe
taskkill /F /IM jusched.exe
msiexec.exe /i jre1.7.0_17.msi /qn
exit
This does install Version 7 update 17 but it does not remove the old version 6 Update 30. Can anyone tell me what I am missing here?
Thanks in advance.
Answers (3)
Java is really bollocks, its not a real MSI. Its a EXE repacked into a MSI with custom actions. Have a look here, I had some issues as well: http://www.itninja.com/question/java-1-6u30
Would sugguest having a look with basic UI (/qb) on to see whats going.
Good luck, R.
The above approach in a production environment is not recommondalble as it is terminating the generic processes like
jusched.exe
iexplore.exe
javaw.exe
jqs.exe
... To answer you question..
Did you try with the following command
Start /wait msiexec /x {26A24AE4-039D-4CA4-87B4-2F83216033FF} /qn
Comments:
-
Is this correct ProductCode of Java 6 Update 30 - jagadeish 11 years ago
Upgrade table can be used so it will remove Java 6 U 30 prior to installing Java 7.
http://msdn.microsoft.com/en-us/library/windows/desktop/aa372379(v=vs.85).aspx
http://www.itninja.com/blog/view/uninstalling-your-old-msi-with-your-new-msi
Comments:
-
Yes - jagadeish 11 years ago