ich möchte für Windows 7 ein Java Paket erstellen. Für 64bit möchte ich beide Java x64 und x86 installieren.
Code: Select all
[Product]
;#FileCheckMachine, MACHINE
;#FileCheckClient, CLIENT
;ReplaceEnv <Variable>
#Set:Product
#Set:Installation, DONTDELETE
#Set:Deinstallation, DELETE
#Set:Installationx64, DONTDELETE WINDOWS64
#Set:Deinstallationx64, DELETE WINDOWS64
#Reg:OnUninstallProduct, DELETE
#Reg:Product
#Ini:Product
#Security:Product
[Set:Product]
[SET:Installation]
AddMeter 50
Call "jre-6u20-windows-i586-s.exe" /lang=1031 /s IEXPLORER=1 MOZILLA=1 JU=0 JAVAUPDATE=0 REBOOT="Suppress"
If %ErrorLevel% <> "0" Then "SET:InstallationError" EndIf
[SET:Deinstallation]
If "%Src%\jre-6u20-windows-i586.exe" <> "" Then "SET:Deinstallation2" EndIf
[SET:Deinstallation2]
If %ErrorLevel% <> "0" Then "SET:DeInstallationError" EndIf
-Call "MsiExec.exe" /X{26A24AE4-039D-4CA4-87B4-2F83216020FF} /qn
-AddMeter 50
[SET:Installationx64]
Call "jre-6u20-windows-x64.exe" /lang=1031 /s IEXPLORER=1 MOZILLA=1 JU=0 JAVAUPDATE=0 REBOOT="Suppress"
If %ErrorLevel% <> "0" Then "SET:InstallationError" EndIf
[SET:Deinstallationx64]
If "%Src%\jre-6u20-windows-x64.exe" <> "" Then "SET:Deinstallation2x64" EndIf
[SET:Deinstallation2x64]
If %ErrorLevel% <> "0" Then "SET:DeInstallationError" EndIf
-Call "MsiExec.exe" /X{26A24AE4-039D-4CA4-87B4-2F86416020FF} /qn
-AddMeter 50