Changes

Jump to: navigation, search

Java

529 bytes removed, 17:01, 10 April 2015
Java Runtime Environment (JRE) 8: Corrected ordering, normalized indentation. I picked four-space indents since that's what 80-90% of the package was using.
<variable name="updatever" value="08" />
<variable name="shortupdatever" value="31" />
<variable name="prevshortupdatever" value="25" /> <!--Previous Version-->
<variable name="version" value="8.0.%shortupdatever%" />
<check type="uninstall" condition="exists" path="Java 8 Update %updatever%" />
<check type="uninstall" condition="exists" path="Java 8 Update %shortupdatever%" />
<check type="uninstall" condition="exists" path="{26A24AE4-039D-4CA4-87B4-2F832180%shortupdatever%F0}" />
</check>
<install cmd='taskkill /f /im jqs.exe /im iexplore.exe /im firefox.exe'>
<exit code='any' />
</install>
<install cmd='msiexec /i %SOFTWARE%\java\jre1.8.0_%shortupdatever%.msi JU=0 JAVAUPDATE=0 AUTOUPDATECHECK=0 RebootYesNo=No WEB_JAVA=1 /q' >
<exit code='any' /> </install> <!-- remove Java Quick Starter --> <install cmd='%COMSPEC% /C if exist "%PROGRAMFILES%\Java\jre1.8.0_%shortupdatever\bin\jqs.exe" "%PROGRAMFILES%\Java\jre1.8.0_%shortupdatever\bin\jqs.exe" -unregister'> <exit code='any' /> </install> <install cmd='%COMSPEC% /C if exist "%PROGRAMFILES(x86)%\Java\jre1.8.0_%shortupdatever\bin\jqs.exe" "%PROGRAMFILES(x86)%\Java\jre1.8.0_%shortupdatever\bin\jqs.exe" -unregister'> <exit code='any' /> </install> <!-- remove Java Auto Update --> <install cmd='REG DELETE HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v SunJavaUpdateSched /f'> <exit code='any' />
</install>
<downgrade include="install" />
<upgrade cmd='msiexec.exe /qn /x {26A24AE4-039D-4CA4-87B4-2F832180%prevshortupdatever%F0}' /> <!--Remove previous Version-->
<upgrade include="install" />
<remove cmd='msiexec.exe /qn /x {26A24AE4-039D-4CA4-87B4-2F832180%shortupdatever%F0}' />
<check type="uninstall" condition="exists" path="Java 8 Update %updatever% (64-bit)" />
<check type="uninstall" condition="exists" path="Java 8 Update %shortupdatever% (64-bit)" />
<check type="uninstall" condition="exists" path="{26A24AE4-039D-4CA4-87B4-2F864180%shortupdatever%F0}" />
</check>
<exit code='any' />
</install>
  <!-- All architectures: remove Java Quick Starter --> <install architecture="x64" cmd='%COMSPEC% /C if exist "%PROGRAMFILES%\Java\jre1.8.0_%shortupdatever%\bin\jqs.exe" "%PROGRAMFILES%\Java\jre1.8.0_%shortupdatever\bin\jqs.exe" -unregister'> <exit code='any' />
</install>
<install architecture="x64" cmd='%COMSPEC% /C if exist "%PROGRAMFILES(x86)%\Java\jre1.8.0_%shortupdatever%\bin\jqs.exe" "%PROGRAMFILES(x86)%\Java\jre1.8.0_%shortupdatever\bin\jqs.exe" -unregister'> <exit code='any' />
</install>
<!-- All architectures: remove Java Auto Update -->
<install cmd='REG DELETE HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v SunJavaUpdateSched /f'>
<exit code='any' />
</install>
 
<downgrade include="install" />
<upgrade architecture="x64" cmd='msiexec /qn /x {26A24AE4-039D-4CA4-87B4-2F864180%prevshortupdatever%F0}' /> <!--Remove previous Version-->
<upgrade include="install" />
91
edits

Navigation menu