Changes

Jump to: navigation, search

Java

310 bytes added, 17:46, 3 April 2013
no edit summary
No disrespect to the others who created this script. It was included with the WPKG install, but I edited it to make it more useful in a generic environment. This install 32-bit on both architectures as it is very useful when using both 64 and 32 bit browsers. The 32-bit install is the check type as well. I have tried to annotate as often as possible with comments so the next person using it can further customize it easily. I left a block at the end for misc settings. I like to put the code for turning off Auto-Update there so it runs every time to make sure it doesn't come back.
Note that I have left the uninstall in as a precursor to make sure the correct version is installed. This will allow for later versions to be installed, but this sets a baseline. Others have not used it due to it taking too long. I didn't notice any major delays in my running and editing of this script. Also, I have found that when upgrading to the latest version (43), the uninstall process will hang after the uninstall command for version 39. I'm not sure if this is because of a limit in a buffer or what. I fixed it by moving the initial start up to 15. I have edited the file below to show this change.
''Variables:''<br>
<exit code="1605" />
</install>
<install cmd="%ComSpec% /c for /L %V in (1015,1,%PKG_VERSION%) do @msiexec /passive /x {26A24AE4-039D-4CA4-87B4-2F832160%VFF}">
<exit code="1605" />
</install>
<!-- remove 64-bit version -->
<install architecture="x64" cmd="%ComSpec% /c for /L %V in (1015,1,%PKG_VERSION%) do @msiexec /passive /x {26A24AE4-039D-4CA4-87B4-2F864160%VFF}">
<exit code="1605" />
</install>
<exit code="1605" />
</upgrade>
<upgrade cmd="%ComSpec% /c for /L %V in (1015,1,%PKG_VERSION%) do @msiexec /passive /x {26A24AE4-039D-4CA4-87B4-2F832160%VFF}">
<exit code="1605" />
</upgrade>
<!-- remove 64-bit version -->
<upgrade architecture="x64" cmd="%ComSpec% /c for /L %V in (1015,1,%PKG_VERSION%) do @msiexec /passive /x {26A24AE4-039D-4CA4-87B4-2F864160%VFF}">
<exit code="1605" />
</upgrade>
11
edits

Navigation menu