Java Installation Windows 7

Post Reply
shanti
Posts: 20
Joined: 01. Apr 2009, 14:34
Contact:

Java Installation Windows 7

Post by shanti » 20. Jul 2010, 09:29

Hallo zusammen,

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

Wenn ich es mit den Package Editor debugge, funktioniert alles ohne Fehler. Wenn ich es aber übers Software Depot installiere, wird nur die 64bit Version installiert.

Post Reply

Return to “Paketierung”

Who is online

Users browsing this forum: Google [Bot] and 7 guests