ich habe das opsi-paket "javavm_1.6.0.20-2" mit aktuellen java sourcen jre-6u31-windows-i586-s.exe und jre-6u31-windows-x64.exe angepasst und neu paketiert. Beim Installieren kommt eine fehlermeldung mit exitcode 1603. kann das sein das java die Installationsparameter geändert hat?
hier mein script
Code: Alles auswählen
; Copyright (c) uib gmbh (http://www.uib.de)
; This sourcecode is owned by uib
; and published under the Terms of the General Public License.
[Aktionen]
requiredWinstVersion >= "4.10.3"
Message "installing Java Virtual Machine Sun 1.6 ..."
DefVar $ExitCode$
DefVar $INST_MsVersion$
DefVar $INST_SystemType$
DefVar $INST_architecture$
DefVar $JAVA32_16EXE$
DefVar $JAVA32_16VER$
DefVar $JAVA64_16EXE$
DefVar $JAVA64_16VER$
DefVar $UninstallCommand$
DefVar $DisplayName$
DefVar $InstallPlugins$
DefVar $MySystemRoot$
DefStringlist $INST_MsVersionMap$
Set $INST_SystemType$ = GetSystemType
set $INST_MsVersion$ = GetMsVersionInfo
set $INST_MsVersionMap$ = GetMSVersionMap
set $INST_architecture$ = GetProductProperty("install_architecture","system specific")
set $MySystemRoot$ = "%"+"systemroot"+"%"
set $JAVA32_16EXE$="jre-6u31-windows-i586-s.exe"
set $JAVA32_16VER$="jre1.6.0_31"
set $JAVA64_16EXE$="jre-6u31-windows-x64.exe"
set $JAVA64_16VER$="jre1.6.0_31"
set $InstallPlugins$ = "IEXPLORER=1 MOZILLA=1"
if not(HasMinimumSpace ("%SYSTEMDRIVE%", "200 MB"))
LogError "Not enough space on %SystemDrive%, " + $MinimumSpace$ + " on drive %SystemDrive% needed for Java 1.6"
isFatalError
; Stop process and set installation status to failed
endif
if $INST_MsVersion$ < "5.0"
LogError "Minimum Windows 2000 is required for Java 1.6"
isFatalError
endif
ShowBitmap "%scriptpath%\java.png" "SUN Java VM"
if FileExists("%ScriptPath%\subdeljava.ins")
comment "start uninstall"
sub "%ScriptPath%\subdeljava.ins"
endif
comment "installing"
if (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specific")) or ($INST_architecture$ = "both") or ($INST_architecture$ = "32 only")
if ($INST_MsVersion$ = "6.0") and ("1" < getValue("product_type_nr",$INST_MsVersionMap$)) and ($INST_SystemType$ = "64 Bit System")
LogWarning "silent installation on 2008x64 doesn't works at the moment"
else
Message "Installing Sun "+$JAVA32_16VER$+ " 32 Bit..."
if $INST_SystemType$ = "64 Bit System"
comment "registry hack for silent install 32 bit on 64 Bit Systems"
; see http://www.myitforum.com/forums/tm.aspx?high=&m=215451&mpage=1#215451
Registry_redirect_64_profile_image_to_32 /64bit
endif
Winbatch_sun_1_6_silent_install_32
if $INST_SystemType$ = "64 Bit System"
comment "registry hack for silent install 32 bit on 64 Bit Systems"
Registry_redirect_64_profile_image_to_64 /64bit
endif
Sub_check_exitcode
comment "disable auto updater"
; see http://wpkg.org/Java
Winbatch_sun_1_6_silent_disable_update
;Sub_check_exitcode
Registry_disable_update
endif
endif ; 32 Bit
if ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system specific") or ($INST_architecture$ = "both") or ($INST_architecture$ = "64 only"))
Message "Installing Sun "+$JAVA64_16VER$+ " 64 Bit..."
Winbatch_sun_1_6_silent_install_64
Sub_check_exitcode
comment "disable auto updater"
; see http://wpkg.org/Java
Registry_disable_update /64Bit
endif ; 64 Bit
; custom specific stuff
if FileExists("%ScriptPath%\custom_ins_dir\custom.ins")
sub "%ScriptPath%\custom_ins_dir\custom.ins"
endif
[Sub_check_exitcode]
comment "Test for installation success via exit code"
set $ExitCode$ = getLastExitCode
; informations to exit codes see
; http://msdn.microsoft.com/en-us/library/aa372835(VS.85).aspx
; http://msdn.microsoft.com/en-us/library/aa368542.aspx
if ($ExitCode$ = "0")
comment "Looks good: setup program gives exitcode zero"
else
comment "Setup program gives a exitcode unequal zero: " + $ExitCode$
if ($ExitCode$ = "1605")
comment "ERROR_UNKNOWN_PRODUCT 1605 This action is only valid for products that are currently installed."
comment "Uninstall of a not installed product failed - no problem"
else
if ($ExitCode$ = "1641")
comment "looks good: setup program gives exitcode 1641"
comment "ERROR_SUCCESS_REBOOT_INITIATED 1641 The installer has initiated a restart. This message is indicative of a success."
else
if ($ExitCode$ = "3010")
comment "looks good: setup program gives exitcode 3010"
comment "ERROR_SUCCESS_REBOOT_REQUIRED 3010 A restart is required to complete the install. This message is indicative of a success."
else
logError "Fatal: Setup program gives an unknown exitcode unequal zero: " + $ExitCode$
isFatalError
endif
endif
endif
endif
[winbatch_start_taskmgr]
taskmgr.exe
[Winbatch_sun_1_6_silent_disable_update]
msiexec /x {4A03706F-666A-4037-7777-5F2748764D10} /qb-!
[Registry_redirect_64_profile_image_to_32]
openkey [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-18]
set "ProfileImagePath"=REG_EXPAND_SZ:"$MySystemRoot$\syswow64\config\systemprofile"
[Registry_redirect_64_profile_image_to_64]
openkey [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-18]
set "ProfileImagePath"=REG_EXPAND_SZ:"$MySystemRoot$\config\systemprofile"
[Registry_disable_update]
openkey [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update\Policy]
set "EnableJavaUpdate"=REG_DWORD:0
[Winbatch_sun_1_6_silent_install_32]
%SCRIPTPATH%\$JAVA32_16EXE$ /s /v"/qb-! /lie c:\tmp\$JAVA32_16VER$.log ADDLOCAL=ALL $InstallPlugins$ REBOOT=ReallySuppess SYSTRAY=0 JAVAUPDATE=0 JU=0 AUTOUPDATECHECK=0 ARPURLUPDATEINFO='http://www.opsi.org'"
[Winbatch_sun_1_6_silent_install_64]
%SCRIPTPATH%\$JAVA64_16EXE$ /s /v"/qb-! /lie c:\tmp\$JAVA32_16VER$.log ADDLOCAL=ALL $InstallPlugins$ REBOOT=ReallySuppess SYSTRAY=0 JAVAUPDATE=0 JU=0 AUTOUPDATECHECK=0 ARPURLUPDATEINFO='http://www.opsi.org'"
[Winbatch_sun_uninstall]
$UninstallCommand$
------install-log----
Code: Alles auswählen
[5] [27.04.2012 08:52:08] --
[5] [27.04.2012 08:52:08] --
[1] [27.04.2012 08:52:08] opsi-winst 4.11.2.5 started at >>27.04.2012 08:52:05
[1] [27.04.2012 08:52:08] startmessage winst created at CentralForm.FormCreate: 27.04.2012 08:52:05
[1] [27.04.2012 08:52:08] startmessage StartProgramModes and create log: 27.04.2012 08:52:05
[1] [27.04.2012 08:52:08] startmessage start opsi service connection: 27.04.2012 08:52:05
[1] [27.04.2012 08:52:08] startmessage create log: 27.04.2012 08:52:08
[6] [27.04.2012 08:52:08] JSON service request https://x.x.x.x:4447/rpc getDepotId
[6] [27.04.2012 08:52:08] JSON service request https://x.x.x.x:4447/rpc backend_setOptions
[6] [27.04.2012 08:52:08] JSON service request https://x.x.x.x:4447/rpc productOnClient_getObjects
[5] [27.04.2012 08:52:09] Computername:sp-dell-desktop.domain.de
[5] [27.04.2012 08:52:09] Computername according to Environment Variable :SP-DELL-DESKTOP
[5] [27.04.2012 08:52:09] opsi service URL https://x.x.x.x:4447
[5] [27.04.2012 08:52:09] Depot path: p:\
[5] [27.04.2012 08:52:09]
[5] [27.04.2012 08:52:09] bootmode BKSTD
[5] [27.04.2012 08:52:09] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[5] [27.04.2012 08:52:09] Resolved sequence of products (27.04.2012 08:52:09):
[5] [27.04.2012 08:52:09] Product 9 java : setup
[5] [27.04.2012 08:52:09] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[6] [27.04.2012 08:52:09] JSON service request https://x.x.x.x:4447/rpc getProductProperties_hash
[6] [27.04.2012 08:52:09] JSON service request https://x.x.x.x:4447/rpc getProduct_hash
[6] [27.04.2012 08:52:09] JSON service request https://x.x.x.x:4447/rpc productOnClient_getObjects
[5] [27.04.2012 08:52:09] scriptname: "javavm.ins", special path: "p:\java\"
[6] [27.04.2012 08:52:09] JSON service request https://x.x.x.x:4447/rpc productOnClient_updateObject
[1] [27.04.2012 08:52:09]
[1] [27.04.2012 08:52:09] ============ Version 4.11.2.5 WIN32 script "p:\java\javavm.ins"
[1] [27.04.2012 08:52:09] start: 2012-04-27 08:52:09
[1] [27.04.2012 08:52:09] on client named "sp-dell-desktop.domain.de"
[1] [27.04.2012 08:52:09] loggedin user "andreas.rempel"
[1] [27.04.2012 08:52:09] winst running as "SYSTEM"
[1] [27.04.2012 08:52:09] winst running with admin privileges
[1] [27.04.2012 08:52:09] winst running in standard script mode
[1] [27.04.2012 08:52:09] [executing: "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-winst\winst32.exe"]
[1] [27.04.2012 08:52:09] system infos:
[1] [27.04.2012 08:52:09] xx-xx-xx-xx-xx-xx - PC hardware address
[1] [27.04.2012 08:52:09] SP-DELL-DESKTOP - IP name
[1] [27.04.2012 08:52:09] 10.10.240.250 - IP address
[1] [27.04.2012 08:52:09] DEU - System default locale
[1] [27.04.2012 08:52:09] MS Windowds 6.1 64 Bit
[1] [27.04.2012 08:52:09] opsi service version : 4
[1] [27.04.2012 08:52:09]
[6] [27.04.2012 08:52:09] Registry key [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion] opened
[6] [27.04.2012 08:52:09] Key closed
[6] [27.04.2012 08:52:10] wInst has version 4.11.2.5, required is : >= 4.10.3
[5] [27.04.2012 08:52:10] message installing Java Virtual Machine Sun 1.6 ...
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] Set $INST_SystemType$ = GetSystemType
[6] [27.04.2012 08:52:10] The value of the variable "$INST_SystemType$" is now: "64 Bit System"
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] Set $INST_MsVersion$ = GetMsVersionInfo
[6] [27.04.2012 08:52:10] The value of the variable "$INST_MsVersion$" is now: "6.1"
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] Set $INST_MsVersionMap$ = GetMSVersionMap
[6] [27.04.2012 08:52:10] retrieving strings from GetMSVersionMap [switch to loglevel 7 for debugging]
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] Set $INST_architecture$ = GetProductProperty("install_architecture","system specific")
[6] [27.04.2012 08:52:10] The value of the variable "$INST_architecture$" is now: "system specific"
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] Set $MySystemRoot$ = "%"+"systemroot"+"%"
[6] [27.04.2012 08:52:10] The value of the variable "$MySystemRoot$" is now: "%systemroot%"
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] Set $JAVA32_16EXE$="jre-6u31-windows-i586-s.exe"
[6] [27.04.2012 08:52:10] The value of the variable "$JAVA32_16EXE$" is now: "jre-6u31-windows-i586-s.exe"
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] Set $JAVA32_16VER$="jre1.6.0_31"
[6] [27.04.2012 08:52:10] The value of the variable "$JAVA32_16VER$" is now: "jre1.6.0_31"
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] Set $JAVA64_16EXE$="jre-6u31-windows-x64.exe"
[6] [27.04.2012 08:52:10] The value of the variable "$JAVA64_16EXE$" is now: "jre-6u31-windows-x64.exe"
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] Set $JAVA64_16VER$="jre1.6.0_31"
[6] [27.04.2012 08:52:10] The value of the variable "$JAVA64_16VER$" is now: "jre1.6.0_31"
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] Set $InstallPlugins$ = "IEXPLORER=1 MOZILLA=1"
[6] [27.04.2012 08:52:10] The value of the variable "$InstallPlugins$" is now: "IEXPLORER=1 MOZILLA=1"
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] If
[6] [27.04.2012 08:52:10] Free on Disk C:: 212.376.604.672 bytes This is more than the required amount of 200.000.000 bytes
[5] [27.04.2012 08:52:10] HasMinimumSpace ("C:", "200 MB") <<< result true
[5] [27.04.2012 08:52:10] not(HasMinimumSpace ("C:", "200 MB")) <<< result false
[5] [27.04.2012 08:52:10] Then
[5] [27.04.2012 08:52:10] EndIf
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] If
[5] [27.04.2012 08:52:10] $INST_MsVersion$ < "5.0" <<< result false
[5] [27.04.2012 08:52:10] Then
[5] [27.04.2012 08:52:10] EndIf
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] If
[6] [27.04.2012 08:52:10] Starting query if file exist ...
[5] [27.04.2012 08:52:10] FileExists("P:\java\subdeljava.ins") <<< result true
[5] [27.04.2012 08:52:10] Then
[5] [27.04.2012 08:52:10] comment: start uninstall
[6] [27.04.2012 08:52:10]
[6] [27.04.2012 08:52:10] ~~~~~~~ Start Sub ~~~~~~~ sub "P:\java\subdeljava.ins"
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] If
[6] [27.04.2012 08:52:10] Starting query if file exist ...
[5] [27.04.2012 08:52:10] "P:\java\custom_ins_dir\prevent_uninstall.ins": File Error 3 (Das System kann den angegebenen Pfad nicht finden.
)
[5] [27.04.2012 08:52:10] FileExists("P:\java\custom_ins_dir\prevent_uninstall.ins") <<< result false
[5] [27.04.2012 08:52:10] Then
[5] [27.04.2012 08:52:10] EndIf
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] Execution of LinkFolder_Webstart_delete
[6] [27.04.2012 08:52:10] Base folder is the COMMON PROGRAMS folder
[6] [27.04.2012 08:52:10] Folder "Java" in the COMMON PROGRAMS folder does not exist, nothing to delete
[6] [27.04.2012 08:52:10] Folder "Java Web Start" in the COMMON PROGRAMS folder does not exist, nothing to delete
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] Set $DisplayName$ = GetRegistryStringValue ("[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3248F0A8-6813-11D6-A77B-00B0D0160000}] DisplayName")
[6] [27.04.2012 08:52:10] Info: Registry key [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3248F0A8-6813-11D6-A77B-00B0D0160000}] could not be opened by RegOpenKeyEx, Errorno 2 "Das System kann die angegebene Datei nicht finden.
"
[6] [27.04.2012 08:52:10] The value of the variable "$DisplayName$" is now: ""
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] If
[5] [27.04.2012 08:52:10] $DisplayName$ = "" <<< result true
[5] [27.04.2012 08:52:10] not ($DisplayName$ = "") <<< result false
[5] [27.04.2012 08:52:10] Then
[5] [27.04.2012 08:52:10] EndIf
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] Set $DisplayName$ = GetRegistryStringValue ("[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3248F0A8-6813-11D6-A77B-00B0D0160010}] DisplayName")
[6] [27.04.2012 08:52:10] Info: Registry key [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3248F0A8-6813-11D6-A77B-00B0D0160010}] could not be opened by RegOpenKeyEx, Errorno 2 "Das System kann die angegebene Datei nicht finden.
"
[6] [27.04.2012 08:52:10] The value of the variable "$DisplayName$" is now: ""
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] If
[5] [27.04.2012 08:52:10] $DisplayName$ = "" <<< result true
[5] [27.04.2012 08:52:10] not ($DisplayName$ = "") <<< result false
[5] [27.04.2012 08:52:10] Then
[5] [27.04.2012 08:52:10] EndIf
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] Set $DisplayName$ = GetRegistryStringValue ("[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3248F0A8-6813-11D6-A77B-00B0D0160020}] DisplayName")
[6] [27.04.2012 08:52:10] Info: Registry key [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3248F0A8-6813-11D6-A77B-00B0D0160020}] could not be opened by RegOpenKeyEx, Errorno 2 "Das System kann die angegebene Datei nicht finden.
"
[6] [27.04.2012 08:52:10] The value of the variable "$DisplayName$" is now: ""
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] If
[5] [27.04.2012 08:52:10] $DisplayName$ = "" <<< result true
[5] [27.04.2012 08:52:10] not ($DisplayName$ = "") <<< result false
[5] [27.04.2012 08:52:10] Then
[5] [27.04.2012 08:52:10] EndIf
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] Set $DisplayName$ = GetRegistryStringValue ("[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3248F0A8-6813-11D6-A77B-00B0D0160030}] DisplayName")
[6] [27.04.2012 08:52:10] Info: Registry key [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3248F0A8-6813-11D6-A77B-00B0D0160030}] could not be opened by RegOpenKeyEx, Errorno 2 "Das System kann die angegebene Datei nicht finden.
"
[6] [27.04.2012 08:52:10] The value of the variable "$DisplayName$" is now: ""
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] If
[5] [27.04.2012 08:52:10] $DisplayName$ = "" <<< result true
[5] [27.04.2012 08:52:10] not ($DisplayName$ = "") <<< result false
[5] [27.04.2012 08:52:10] Then
[5] [27.04.2012 08:52:10] EndIf
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] Set $DisplayName$ = GetRegistryStringValue ("[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3248F0A8-6813-11D6-A77B-00B0D0160040}] DisplayName")
[6] [27.04.2012 08:52:10] Info: Registry key [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3248F0A8-6813-11D6-A77B-00B0D0160040}] could not be opened by RegOpenKeyEx, Errorno 2 "Das System kann die angegebene Datei nicht finden.
"
[6] [27.04.2012 08:52:10] The value of the variable "$DisplayName$" is now: ""
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] If
[5] [27.04.2012 08:52:10] $DisplayName$ = "" <<< result true
[5] [27.04.2012 08:52:10] not ($DisplayName$ = "") <<< result false
[5] [27.04.2012 08:52:10] Then
[5] [27.04.2012 08:52:10] EndIf
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] Set $DisplayName$ = GetRegistryStringValue ("[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3248F0A8-6813-11D6-A77B-00B0D0160050}] DisplayName")
[6] [27.04.2012 08:52:10] Info: Registry key [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3248F0A8-6813-11D6-A77B-00B0D0160050}] could not be opened by RegOpenKeyEx, Errorno 2 "Das System kann die angegebene Datei nicht finden.
"
[6] [27.04.2012 08:52:10] The value of the variable "$DisplayName$" is now: ""
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] If
[5] [27.04.2012 08:52:10] $DisplayName$ = "" <<< result true
[5] [27.04.2012 08:52:10] not ($DisplayName$ = "") <<< result false
[5] [27.04.2012 08:52:10] Then
[5] [27.04.2012 08:52:10] EndIf
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] Set $DisplayName$ = GetRegistryStringValue ("[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3248F0A8-6813-11D6-A77B-00B0D0160060}] DisplayName")
[6] [27.04.2012 08:52:10] Info: Registry key [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3248F0A8-6813-11D6-A77B-00B0D0160060}] could not be opened by RegOpenKeyEx, Errorno 2 "Das System kann die angegebene Datei nicht finden.
"
[6] [27.04.2012 08:52:10] The value of the variable "$DisplayName$" is now: ""
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] If
[5] [27.04.2012 08:52:10] $DisplayName$ = "" <<< result true
[5] [27.04.2012 08:52:10] not ($DisplayName$ = "") <<< result false
[5] [27.04.2012 08:52:10] Then
[5] [27.04.2012 08:52:10] EndIf
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] Set $DisplayName$ = GetRegistryStringValue ("[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3248F0A8-6813-11D6-A77B-00B0D0160070}] DisplayName")
[6] [27.04.2012 08:52:10] Info: Registry key [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3248F0A8-6813-11D6-A77B-00B0D0160070}] could not be opened by RegOpenKeyEx, Errorno 2 "Das System kann die angegebene Datei nicht finden.
"
[6] [27.04.2012 08:52:10] The value of the variable "$DisplayName$" is now: ""
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] If
[5] [27.04.2012 08:52:10] $DisplayName$ = "" <<< result true
[5] [27.04.2012 08:52:10] not ($DisplayName$ = "") <<< result false
[5] [27.04.2012 08:52:10] Then
[5] [27.04.2012 08:52:10] EndIf
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] Set $DisplayName$ = GetRegistryStringValue ("[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{26A24AE4-039D-4CA4-87B4-2F83216011FF}] DisplayName")
[6] [27.04.2012 08:52:10] Info: Registry key [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{26A24AE4-039D-4CA4-87B4-2F83216011FF}] could not be opened by RegOpenKeyEx, Errorno 2 "Das System kann die angegebene Datei nicht finden.
"
[6] [27.04.2012 08:52:10] The value of the variable "$DisplayName$" is now: ""
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] If
[5] [27.04.2012 08:52:10] $DisplayName$ = "" <<< result true
[5] [27.04.2012 08:52:10] not ($DisplayName$ = "") <<< result false
[5] [27.04.2012 08:52:10] Then
[5] [27.04.2012 08:52:10] EndIf
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] Set $DisplayName$ = GetRegistryStringValue ("[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{26A24AE4-039D-4CA4-87B4-2F83216012FF}] DisplayName")
[6] [27.04.2012 08:52:10] Info: Registry key [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{26A24AE4-039D-4CA4-87B4-2F83216012FF}] could not be opened by RegOpenKeyEx, Errorno 2 "Das System kann die angegebene Datei nicht finden.
"
[6] [27.04.2012 08:52:10] The value of the variable "$DisplayName$" is now: ""
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] If
[5] [27.04.2012 08:52:10] $DisplayName$ = "" <<< result true
[5] [27.04.2012 08:52:10] not ($DisplayName$ = "") <<< result false
[5] [27.04.2012 08:52:10] Then
[5] [27.04.2012 08:52:10] EndIf
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] Set $DisplayName$ = GetRegistryStringValue ("[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{26A24AE4-039D-4CA4-87B4-2F83216013FF}] DisplayName")
[6] [27.04.2012 08:52:10] Info: Registry key [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{26A24AE4-039D-4CA4-87B4-2F83216013FF}] could not be opened by RegOpenKeyEx, Errorno 2 "Das System kann die angegebene Datei nicht finden.
"
[6] [27.04.2012 08:52:10] The value of the variable "$DisplayName$" is now: ""
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] If
[5] [27.04.2012 08:52:10] $DisplayName$ = "" <<< result true
[5] [27.04.2012 08:52:10] not ($DisplayName$ = "") <<< result false
[5] [27.04.2012 08:52:10] Then
[5] [27.04.2012 08:52:10] EndIf
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] Set $DisplayName$ = GetRegistryStringValue ("[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{26A24AE4-039D-4CA4-87B4-2F83216014FF}] DisplayName")
[6] [27.04.2012 08:52:10] Info: Registry key [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{26A24AE4-039D-4CA4-87B4-2F83216014FF}] could not be opened by RegOpenKeyEx, Errorno 2 "Das System kann die angegebene Datei nicht finden.
"
[6] [27.04.2012 08:52:10] The value of the variable "$DisplayName$" is now: ""
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] If
[5] [27.04.2012 08:52:10] $DisplayName$ = "" <<< result true
[5] [27.04.2012 08:52:10] not ($DisplayName$ = "") <<< result false
[5] [27.04.2012 08:52:10] Then
[5] [27.04.2012 08:52:10] EndIf
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] Set $DisplayName$ = GetRegistryStringValue ("[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{26A24AE4-039D-4CA4-87B4-2F83216015FF}] DisplayName")
[6] [27.04.2012 08:52:10] Info: Registry key [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{26A24AE4-039D-4CA4-87B4-2F83216015FF}] could not be opened by RegOpenKeyEx, Errorno 2 "Das System kann die angegebene Datei nicht finden.
"
[6] [27.04.2012 08:52:10] The value of the variable "$DisplayName$" is now: ""
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] If
[5] [27.04.2012 08:52:10] $DisplayName$ = "" <<< result true
[5] [27.04.2012 08:52:10] not ($DisplayName$ = "") <<< result false
[5] [27.04.2012 08:52:10] Then
[5] [27.04.2012 08:52:10] EndIf
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] Set $DisplayName$ = GetRegistryStringValue ("[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{26A24AE4-039D-4CA4-87B4-2F83216016FF}] DisplayName")
[6] [27.04.2012 08:52:10] Info: Registry key [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{26A24AE4-039D-4CA4-87B4-2F83216016FF}] could not be opened by RegOpenKeyEx, Errorno 2 "Das System kann die angegebene Datei nicht finden.
"
[6] [27.04.2012 08:52:10] The value of the variable "$DisplayName$" is now: ""
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] If
[5] [27.04.2012 08:52:10] $DisplayName$ = "" <<< result true
[5] [27.04.2012 08:52:10] not ($DisplayName$ = "") <<< result false
[5] [27.04.2012 08:52:10] Then
[5] [27.04.2012 08:52:10] EndIf
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] Set $DisplayName$ = GetRegistryStringValue ("[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{26A24AE4-039D-4CA4-87B4-2F83216017FF}] DisplayName")
[6] [27.04.2012 08:52:10] Info: Registry key [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{26A24AE4-039D-4CA4-87B4-2F83216017FF}] could not be opened by RegOpenKeyEx, Errorno 2 "Das System kann die angegebene Datei nicht finden.
"
[6] [27.04.2012 08:52:10] The value of the variable "$DisplayName$" is now: ""
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] If
[5] [27.04.2012 08:52:10] $DisplayName$ = "" <<< result true
[5] [27.04.2012 08:52:10] not ($DisplayName$ = "") <<< result false
[5] [27.04.2012 08:52:10] Then
[5] [27.04.2012 08:52:10] EndIf
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] Set $DisplayName$ = GetRegistryStringValue ("[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{26A24AE4-039D-4CA4-87B4-2F83216018FF}] DisplayName")
[6] [27.04.2012 08:52:10] Info: Registry key [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{26A24AE4-039D-4CA4-87B4-2F83216018FF}] could not be opened by RegOpenKeyEx, Errorno 2 "Das System kann die angegebene Datei nicht finden.
"
[6] [27.04.2012 08:52:10] The value of the variable "$DisplayName$" is now: ""
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] If
[5] [27.04.2012 08:52:10] $DisplayName$ = "" <<< result true
[5] [27.04.2012 08:52:10] not ($DisplayName$ = "") <<< result false
[5] [27.04.2012 08:52:10] Then
[5] [27.04.2012 08:52:10] EndIf
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] Set $DisplayName$ = GetRegistryStringValue ("[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{26A24AE4-039D-4CA4-87B4-2F83216019FF}] DisplayName")
[6] [27.04.2012 08:52:10] Info: Registry key [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{26A24AE4-039D-4CA4-87B4-2F83216019FF}] could not be opened by RegOpenKeyEx, Errorno 2 "Das System kann die angegebene Datei nicht finden.
"
[6] [27.04.2012 08:52:10] The value of the variable "$DisplayName$" is now: ""
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] If
[5] [27.04.2012 08:52:10] $DisplayName$ = "" <<< result true
[5] [27.04.2012 08:52:10] not ($DisplayName$ = "") <<< result false
[5] [27.04.2012 08:52:10] Then
[5] [27.04.2012 08:52:10] EndIf
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] Set $DisplayName$ = GetRegistryStringValue ("[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{26A24AE4-039D-4CA4-87B4-2F83216020FF}] DisplayName")
[6] [27.04.2012 08:52:10] Info: Registry key [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{26A24AE4-039D-4CA4-87B4-2F83216020FF}] could not be opened by RegOpenKeyEx, Errorno 2 "Das System kann die angegebene Datei nicht finden.
"
[6] [27.04.2012 08:52:10] The value of the variable "$DisplayName$" is now: ""
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] If
[5] [27.04.2012 08:52:10] $DisplayName$ = "" <<< result true
[5] [27.04.2012 08:52:10] not ($DisplayName$ = "") <<< result false
[5] [27.04.2012 08:52:10] Then
[5] [27.04.2012 08:52:10] EndIf
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] Set $DisplayName$ = GetRegistryStringValue64 ("[HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{26A24AE4-039D-4CA4-87B4-2F86416020FF}] DisplayName")
[6] [27.04.2012 08:52:10] Info: Registry key [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{26A24AE4-039D-4CA4-87B4-2F86416020FF}] could not be opened by RegOpenKeyEx, Errorno 2 "Das System kann die angegebene Datei nicht finden.
"
[6] [27.04.2012 08:52:10] The value of the variable "$DisplayName$" is now: ""
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] If
[5] [27.04.2012 08:52:10] $DisplayName$ = "" <<< result true
[5] [27.04.2012 08:52:10] not ($DisplayName$ = "") <<< result false
[5] [27.04.2012 08:52:10] Then
[5] [27.04.2012 08:52:10] EndIf
[6] [27.04.2012 08:52:10] Section ending since next line is starting with "["
[6] [27.04.2012 08:52:10]
[6] [27.04.2012 08:52:10] ~~~~~~~ End Sub ~~~~~~~ sub "P:\java\subdeljava.ins"
[6] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] EndIf
[5] [27.04.2012 08:52:10] comment: installing
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] If
[5] [27.04.2012 08:52:10] $INST_SystemType$ = "x86 System" <<< result false
[5] [27.04.2012 08:52:10] $INST_architecture$ = "system specific" <<< result true
[5] [27.04.2012 08:52:10] ($INST_architecture$ = "system specific") <<< result true
[5] [27.04.2012 08:52:10] ($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specific") <<< result false
[5] [27.04.2012 08:52:10] $INST_architecture$ = "both" <<< result false
[5] [27.04.2012 08:52:10] $INST_architecture$ = "32 only" <<< result false
[5] [27.04.2012 08:52:10] ($INST_architecture$ = "32 only") <<< result false
[5] [27.04.2012 08:52:10] ($INST_architecture$ = "both") or ($INST_architecture$ = "32 only") <<< result false
[5] [27.04.2012 08:52:10] (($INST_SystemType$ = "x86 System") and ($INST_architecture$ = "system specific")) or ($INST_architecture$ = "both") or ($INST_architecture$ = "32 only") <<< result false
[5] [27.04.2012 08:52:10] Then
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] If
[5] [27.04.2012 08:52:10] Then
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] Else
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] If
[5] [27.04.2012 08:52:10] Then
[5] [27.04.2012 08:52:10] EndIf
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] If
[5] [27.04.2012 08:52:10] Then
[5] [27.04.2012 08:52:10] EndIf
[5] [27.04.2012 08:52:10] EndIf
[5] [27.04.2012 08:52:10] EndIf
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] If
[5] [27.04.2012 08:52:10] $INST_SystemType$ = "64 Bit System" <<< result true
[5] [27.04.2012 08:52:10] $INST_architecture$ = "system specific" <<< result true
[5] [27.04.2012 08:52:10] $INST_architecture$ = "both" <<< result false
[5] [27.04.2012 08:52:10] $INST_architecture$ = "64 only" <<< result false
[5] [27.04.2012 08:52:10] ($INST_architecture$ = "64 only") <<< result false
[5] [27.04.2012 08:52:10] ($INST_architecture$ = "both") or ($INST_architecture$ = "64 only") <<< result false
[5] [27.04.2012 08:52:10] ($INST_architecture$ = "system specific") or ($INST_architecture$ = "both") or ($INST_architecture$ = "64 only") <<< result true
[5] [27.04.2012 08:52:10] (($INST_architecture$ = "system specific") or ($INST_architecture$ = "both") or ($INST_architecture$ = "64 only")) <<< result true
[5] [27.04.2012 08:52:10] ($INST_SystemType$ = "64 Bit System") and (($INST_architecture$ = "system specific") or ($INST_architecture$ = "both") or ($INST_architecture$ = "64 only")) <<< result true
[5] [27.04.2012 08:52:10] Then
[5] [27.04.2012 08:52:10] message Installing Sun jre1.6.0_31 64 Bit...
[5] [27.04.2012 08:52:10]
[5] [27.04.2012 08:52:10] Execution of Winbatch_sun_1_6_silent_install_64
[6] [27.04.2012 08:52:10] Call "P:\java\jre-6u31-windows-x64.exe /s /v"/qb-! /lie c:\tmp\jre1.6.0_31.log ADDLOCAL=ALL IEXPLORER=1 MOZILLA=1 REBOOT=ReallySuppess SYSTRAY=0 JAVAUPDATE=0 JU=0 AUTOUPDATECHECK=0 ARPURLUPDATEINFO='http://www.opsi.org'""
[6] [27.04.2012 08:52:10] Waiting until the called process is finished
[6] [27.04.2012 08:52:38] ExitCode 1603 Executed process "P:\java\jre-6u31-windows-x64.exe /s /v"/qb-! /lie c:\tmp\jre1.6.0_31.log ADDLOCAL=ALL IEXPLORER=1 MOZILLA=1 REBOOT=ReallySuppess SYSTRAY=0 JAVAUPDATE=0 JU=0 AUTOUPDATECHECK=0 ARPURLUPDATEINFO='http://www.opsi.org'""
[6] [27.04.2012 08:52:38]
[6] [27.04.2012 08:52:38] ~~~~~~~ Start Sub ~~~~~~~ Sub_check_exitcode
[5] [27.04.2012 08:52:38] comment: Test for installation success via exit code
[5] [27.04.2012 08:52:38]
[5] [27.04.2012 08:52:38] Set $ExitCode$ = getLastExitCode
[6] [27.04.2012 08:52:38] The value of the variable "$ExitCode$" is now: "1603"
[5] [27.04.2012 08:52:38]
[5] [27.04.2012 08:52:38] If
[5] [27.04.2012 08:52:38] $ExitCode$ = "0" <<< result false
[5] [27.04.2012 08:52:38] ($ExitCode$ = "0") <<< result false
[5] [27.04.2012 08:52:38] Then
[5] [27.04.2012 08:52:38]
[5] [27.04.2012 08:52:38] Else
[5] [27.04.2012 08:52:38] comment: Setup program gives a exitcode unequal zero: 1603
[5] [27.04.2012 08:52:38]
[5] [27.04.2012 08:52:38] If
[5] [27.04.2012 08:52:38] $ExitCode$ = "1605" <<< result false
[5] [27.04.2012 08:52:38] ($ExitCode$ = "1605") <<< result false
[5] [27.04.2012 08:52:38] Then
[5] [27.04.2012 08:52:38]
[5] [27.04.2012 08:52:38] Else
[5] [27.04.2012 08:52:38]
[5] [27.04.2012 08:52:38] If
[5] [27.04.2012 08:52:38] $ExitCode$ = "1641" <<< result false
[5] [27.04.2012 08:52:38] ($ExitCode$ = "1641") <<< result false
[5] [27.04.2012 08:52:38] Then
[5] [27.04.2012 08:52:38]
[5] [27.04.2012 08:52:38] Else
[5] [27.04.2012 08:52:38]
[5] [27.04.2012 08:52:38] If
[5] [27.04.2012 08:52:38] $ExitCode$ = "3010" <<< result false
[5] [27.04.2012 08:52:38] ($ExitCode$ = "3010") <<< result false
[5] [27.04.2012 08:52:38] Then
[5] [27.04.2012 08:52:38]
[5] [27.04.2012 08:52:38] Else
[3] [27.04.2012 08:52:38] Error: Fatal: Setup program gives an unknown exitcode unequal zero: 1603
[5] [27.04.2012 08:52:38] Error level set to fatal
[5] [27.04.2012 08:52:38] Process aborted
[6] [27.04.2012 08:52:38]
[6] [27.04.2012 08:52:38] ~~~~~~~ End Sub ~~~~~~~ Sub_check_exitcode
[6] [27.04.2012 08:52:38]
[5] [27.04.2012 08:52:38] Process aborted
[1] [27.04.2012 08:52:38] ___________________
[1] [27.04.2012 08:52:38] script finished
[1] [27.04.2012 08:52:38] 1 error
[1] [27.04.2012 08:52:38] 0 warnings
[1] [27.04.2012 08:52:38]
[1] [27.04.2012 08:52:38] installed Produkt: java Version: 1.6.0.31-1
[1] [27.04.2012 08:52:38]
[6] [27.04.2012 08:52:38] Delete "c:\opsi.org\tmp\_winstbat_*"
[6] [27.04.2012 08:52:38] Search "c:\opsi.org\tmp\"
[6] [27.04.2012 08:52:38] JSON service request https://x.x.x.x:4447/rpc setProductActionRequest
[1] [27.04.2012 08:52:38] product "java set to update
[1] [27.04.2012 08:52:38] Update script name:
[5] [27.04.2012 08:52:38] no script file name given
[1] [27.04.2012 08:52:38] we have no update script
[6] [27.04.2012 08:52:38] JSON service request https://x.x.x.x:4447/rpc productOnClient_updateObject
[6] [27.04.2012 08:52:38] Registry key [HKLM\SOFTWARE\opsi.org\winst] opened
[6] [27.04.2012 08:52:38] Variable "RebootRequested" is keeping its value "0"
[6] [27.04.2012 08:52:38] Variable "LastLogFilename" is keeping its value "c:\tmp\instlog.txt"
[6] [27.04.2012 08:52:38] Variable "ContinueLogFile" is keeping its value "0"
[6] [27.04.2012 08:52:38] Variable "NumberOfErrors" is keeping its value "0"
[6] [27.04.2012 08:52:38] Key flushed
[6] [27.04.2012 08:52:38] Key closed