[wpkg-users] Java RE and wpkg

Philipp v. Thunen phil_lists at pvth.de
Wed Apr 28 20:40:26 CEST 2010


> I think I will try to copy these libraries to a safe place before wpkg
> removes the old Java RE version and copy it back after the new version
> is installed. Hope that works ;-)

Just for the records -- it seems to work like this:

| <!-- Saving old lib's for EGVP -->
|   <install cmd='%COMSPEC% /c mkdir %SOFTWARE%\java6\tmp\%COMPUTERNAME%'></install>
|   <install cmd='%COMSPEC% /c copy /y /v "%PROGRAMFILES%\Java\jre6\lib\security\*.jar" "%SOFTWARE%\java6\tmp\%COMPUTERNAME%"'></install>
|
| <!-- Cleaning old java versions-->
|   <install cmd='net STOP JavaQuickStarterService' ><exit code='2' /></install>
|   <install cmd='msiexec /qn /norestart /x {7148F0A8-6813-11D6-A77B-00B0D0142000}'><exit code='0' /><exit code='1605' /></install>
| [...]
|   <install cmd='%SOFTWARE%\java6\jre-6u20-windows-i586.exe /s IEXPLORER=1 MOZILLA=1 ADDLOCAL=ALL REBOOT=Suppress JAVAUPDATE=0 JU=0 AUTOUPDATECHECK=0' />
|
| <!-- Restoring old lib's for EGVP -->
|   <install cmd='%COMSPEC% /c copy /y /v "%SOFTWARE%\java6\tmp\%COMPUTERNAME%\*.jar" "%PROGRAMFILES%\Java\jre6\lib\security"'></install>

Regards,
-Philipp





More information about the wpkg-users mailing list