Uninstall old Java

This commit is contained in:
Mario Fetka 2019-09-13 11:11:24 +02:00
parent c17e8a66c6
commit 6b1d639901
2 changed files with 4 additions and 2 deletions

View File

@ -5,7 +5,9 @@
<check type="file" condition="<" arch="x64" value="%BUILD%" path="%programfiles(x86)%\Java\jre11\bin\java.exe" />
<install>
<cmd name="Java: Fix MS SystemUser Bug" path="..\SystemFix.bat" />
<cmd name="Java: Remove old Installation" path="..\uninstall.bat" param="8" />
<cmd name="Java: Remove old Installation of Java 9" path="..\uninstall.bat" param="9" />
<cmd name="Java: Remove old Installation of Java 10" path="..\uninstall.bat" param="10" />
<cmd name="Java: Remove old Installation of Java 11" path="..\uninstall.bat" param="11" />
<cmd path="x86\silent.bat" />
<cmd path="x64\silent.bat" arch="x64" name="%NAME% x64" />
</install>

View File

@ -5,7 +5,7 @@
<check type="file" condition="<" arch="x64" value="%BUILD%" path="%programfiles(x86)%\Java\jre8\bin\java.exe" />
<install>
<cmd name="Java: Fix MS SystemUser Bug" path="..\SystemFix.bat" />
<cmd name="Java: Remove old Installation" path="..\uninstall.bat" param="8" />
<cmd name="Java: Remove old Installation of Java 8" path="..\uninstall.bat" param="8" />
<cmd path="x86\silent.bat" />
<cmd path="x64\silent.bat" arch="x64" name="%NAME% x64" />
</install>