bin mal wider am ende meines Lateins.
Versuche ein spezial Software Paket auf Win7/32bit Clients zu verteilen.
Das Start Setup ruft eine MSI Datei auf, die nicht direkt installiert werden kann.
über diese Setup.exe Datei, kann mittels /v" Tranformlist" die Parameter dem MSI Packet mit gegeben werden.
Bei ausführen in der Dos Console funktioniert alles einwandfrei.
Die übergab der MSI Parameter Funktioniert nicht.
Egal ob ich /v "/qb".. /qn etc verwende..
Dos Befehl OK:
setup.exe /S /v" /passive DEDE=1 FRFR=1 ITIT=1 LANGUAGE_SELECTED=DEDE DISTRIBUTOR=70373 AUTOMATICUPDATE=0"
Versuche:
Variante 1 NOK
%ScriptPath%\files\setup.exe /S /v" /passive DEDE=1 FRFR=1 ITIT=1 LANGUAGE_SELECTED=DEDE DISTRIBUTOR=70373 ISSHOWMSILOG=1 AUTOMATICUPDATE=0"
Variante 2 NOK
set $setupstring$ = "/passive " + $DEDE$ + " " + $ENEN$ + " " + $FRFR$ + " " + $ITIT$ + " " + "LANGUAGE_SELECTED=" + $Default-Language$ + " " + $Autoupdate$"
%ScriptPath%\files\setup.exe /S /v"$setupstring$"
Bisher leider ohne Erfolg.
Setup.ins
Code: Alles auswählen
; Copyright (c) uib gmbh (www.uib.de)
; This sourcecode is owned by uib
; and published under the Terms of the General Public License.
; credits: http://www.opsi.org/credits/
[Actions]
requiredWinstVersion >= "4.10.5"
DefVar $InstallId$
DefVar $UninstallProgram$
DefVar $UninstallDir$
DefVar $LogDir$
DefVar $ProductId$
DefVar $MinimumSpace$
DefVar $InstallDir$
DefVar $ExitCode$
DefVar $OS$
DefVar $SystemType$
DefVar $DEDE$
DefVar $ENEN$
DefVar $FRFR$
DefVar $ITIT$
DefVar $ENEB$
DefVar $Default-Language$
DefVar $Autoupdate$
DefVar $setupstring$
Set $LogDir$ = "%SystemDrive%\tmp"
Set $OS$ = GetMsVersionInfo
Set $SystemType$ = GetSystemType
; Sprach Einstellung
Set $DEDE$ = GetProductProperty("DE-DE", "")
Set $ENEN$ = GetProductProperty("EN-EN", "")
Set $FRFR$ = GetProductProperty("FR-FR", "")
Set $ITIT$ = GetProductProperty("IT-IT", "")
Set $ENEB$ = GetProductProperty("EN-EB", "")
Set $Default-Language$ = GetProductProperty("Default-Language", "")
Set $Autoupdate$ = GetProductProperty("Autoupdate", "")
; ----------------------------------------------------------------
; - Please edit the following values -
; ----------------------------------------------------------------
Set $ProductId$ = "Compass GPS"
Set $MinimumSpace$ = "540 MB"
Set $InstallDir$ = "%ProgramFilesDir%\Firma\CompassGPS"
Set $InstallId$ = '{87AAE664-634C-4DC1-9888-AD4AD1717A5C}'
Set $UninstallDir$ = "%ProgramFilesDir%\InstallShield Installation Information\" + $InstallId$
; ----------------------------------------------------------------
set $setupstring$ = "/passive " + $DEDE$ + " " + $ENEN$ + " " + $FRFR$ + " " + $ITIT$ + " " + "LANGUAGE_SELECTED=" + $Default-Language$ + " " + $Autoupdate$"
if not(HasMinimumSpace ("%SystemDrive%", $MinimumSpace$))
LogError "Not enough space on %SystemDrive%, " + $MinimumSpace$ + " on drive %SystemDrive% needed for " + $ProductId$
isFatalError
; Stop process and set installation status to failed
else
comment "Show product picture"
ShowBitmap "%ScriptPath%\" + $ProductId$ + ".png" $ProductId$
if FileExists("%ScriptPath%\delsub1.ins")
comment "Start uninstall sub section"
Sub "%ScriptPath%\delsub.ins"
endif
Message "Installiere " + $ProductId$ + " ..."
if ($OS$ <= "5.2")
comment "Start setup program"
Winbatch_install
Sub_check_exitcode
else
if ($SystemType$ = "64 Bit System")
comment "64 Bit Systems are not supported"
isFatalError
else
comment "Start setup program"
Winbatch_install_win7
Sub_check_exitcode
endif
endif
comment "Test for installation success"
; Test if software marked as installed in registry
if (GetRegistryStringValue("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" + $InstallId$ + "] DisplayName") = "")
logError "Fatal: After Installation [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" + $InstallId$ + "}] not found"
isFatalError
else
comment "Successful Installation"
endif
endif
[Winbatch_install]
%ScriptPath%\files\setup.exe /S /v"$setupstring$"
;%ScriptPath%\files\setup.exe /S /v" /passive DEDE=1 FRFR=1 ITIT=1 LANGUAGE_SELECTED=DEDE DISTRIBUTOR=70373 ISSHOWMSILOG=1 AUTOMATICUPDATE=0"
[Winbatch_install_Win7]
%ScriptPath%\files\setup.exe /S /v"$setupstring$"
%ScriptPath%\files\setup.exe /S /v" /passive DEDE=1 FRFR=1 ITIT=1 LANGUAGE_SELECTED=DEDE DISTRIBUTOR=70373 ISSHOWMSILOG=1 AUTOMATICUPDATE=0"
[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
Code: Alles auswählen
; Copyright (c) uib gmbh (www.uib.de)
; This sourcecode is owned by uib gmbh
; and published under the Terms of the General Public License.
; credits: http://www.opsi.org/credits/
[Actions]
requiredWinstVersion >= "4.10.5"
DefVar $InstallId$
DefVar $UninstallProgram$
DefVar $LogDir$
DefVar $ExitCode$
DefVar $ProductId$
DefVar $InstallDir$
DefVar $UninstallDir$
Set $LogDir$ = "%SystemDrive%\tmp"
; ----------------------------------------------------------------
; - Please edit the following values -
; ----------------------------------------------------------------
Set $ProductId$ = "Compass GPS"
Set $InstallDir$ = "%ProgramFilesDir%\Widex\CompassGPS"
Set $InstallId$ = '{87AAE664-634C-4DC1-9888-AD4AD1717A5C}'
Set $UninstallDir$ = "%ProgramFilesDir%\InstallShield Installation Information\" + $InstallId$
; ----------------------------------------------------------------
comment "Show product picture"
ShowBitmap "%ScriptPath%\" + $ProductId$ + ".png" $ProductId$
if FileExists("%ScriptPath%\delsub.ins")
comment "Start uninstall sub section"
Sub "%ScriptPath%\delsub.ins"
endif
Code: Alles auswählen
if (GetRegistryStringValue("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" + $InstallId$ + "] DisplayName") = "")
logError "Fatal: After Installation [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" + $InstallId$ + "}] not found"
Comment "Software are not installed"
else
comment "Installed runing deinstall"
Winbatch_uninstall_localsetup
Sub_check_exitcode
endif
[Winbatch_uninstall_localsetup]
msiexec /passive /x $InstallId$
[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
Logfile install
Code: Alles auswählen
[1] [Feb 03 22:15:51:424] opsi-winst 4.11.3.3 started at >>03.02.2013 22:15:49
[1] [Feb 03 22:15:51:424] startmessage opsi-winst created at CentralForm.FormCreate: 03.02.2013 22:15:49
[1] [Feb 03 22:15:51:424] startmessage StartProgramModes and create log: 03.02.2013 22:15:50
[1] [Feb 03 22:15:51:424] startmessage start opsi service connection: 03.02.2013 22:15:50
[1] [Feb 03 22:15:51:424] JSON Bench for backend_info "params":[],"id":1} Start: 22:15:50:281 Time: 00:00:01:122
[1] [Feb 03 22:15:51:424] startmessage create log: 03.02.2013 22:15:51
[6] [Feb 03 22:15:51:425] JSON service request https://192.168.89.9:4447/rpc getDepotId
[6] [Feb 03 22:15:51:538] JSON Bench for getDepotId "params":["wks-test-vm01.widex.local"],"id":1} Start: 22:15:51:425 Time: 00:00:00:113
[6] [Feb 03 22:15:51:543] JSON service request https://192.168.89.9:4447/rpc backend_setOptions
[6] [Feb 03 22:15:51:594] JSON Bench for backend_setOptions "params":[{"processProductOnClientSequence":true}] Start: 22:15:51:543 Time: 00:00:00:051
[6] [Feb 03 22:15:51:599] JSON service request https://192.168.89.9:4447/rpc productOnClient_getObjects
[6] [Feb 03 22:15:51:991] JSON Bench for productOnClient_getObjects "params":["",{"clientId":"wks-test-vm01.widex.loca Start: 22:15:51:599 Time: 00:00:00:392
[6] [Feb 03 22:15:52:003] JSON service request https://192.168.89.9:4447/rpc backend_setOptions
[6] [Feb 03 22:15:52:051] JSON Bench for backend_setOptions "params":[{"processProductOnClientSequence":false} Start: 22:15:52:003 Time: 00:00:00:048
[5] [Feb 03 22:15:52:056] Computername:wks-test-vm01.widex.local
[5] [Feb 03 22:15:52:056] Computername according to Environment Variable :WKS-TEST-VM01
[5] [Feb 03 22:15:52:056] opsi service URL https://192.168.89.9:4447
[5] [Feb 03 22:15:52:056] Depot path: p:\
[5] [Feb 03 22:15:52:056]
[5] [Feb 03 22:15:52:062] bootmode BKSTD
[5] [Feb 03 22:15:52:062] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[5] [Feb 03 22:15:52:062] Resolved sequence of products (03.02.2013 22:15:52):
[5] [Feb 03 22:15:52:063] Product 18 compass-gps : setup
[5] [Feb 03 22:15:52:063] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[6] [Feb 03 22:15:52:099] JSON service request https://192.168.89.9:4447/rpc getProductProperties_hash
[6] [Feb 03 22:15:52:248] JSON Bench for getProductProperties_hash "params":["compass-gps","wks-test-vm01.widex.local Start: 22:15:52:099 Time: 00:00:00:149
[6] [Feb 03 22:15:52:254] JSON service request https://192.168.89.9:4447/rpc getProduct_hash
[6] [Feb 03 22:15:52:339] JSON Bench for getProduct_hash "params":["compass-gps","opsi.widex.local"],"id":1 Start: 22:15:52:254 Time: 00:00:00:085
[6] [Feb 03 22:15:52:344] JSON service request https://192.168.89.9:4447/rpc productOnClient_getObjects
[6] [Feb 03 22:15:52:410] JSON Bench for productOnClient_getObjects "params":["",{"clientId":"wks-test-vm01.widex.loca Start: 22:15:52:344 Time: 00:00:00:066
[5] [Feb 03 22:15:52:416] scriptname: "setup.ins", special path: "p:\compass-gps\"
[6] [Feb 03 22:15:52:416] JSON service request https://192.168.89.9:4447/rpc productOnClient_updateObject
[6] [Feb 03 22:15:52:494] JSON Bench for productOnClient_updateObject "params":[{"clientId":"wks-test-vm01.widex.local", Start: 22:15:52:416 Time: 00:00:00:078
[1] [Feb 03 22:15:52:524]
[1] [Feb 03 22:15:52:524] ============ Version 4.11.3.3 WIN32 script "p:\compass-gps\setup.ins"
[1] [Feb 03 22:15:52:524] start: 2013-02-03 22:15:52
[1] [Feb 03 22:15:52:524] installing product: compass-gps_1.0-1
[1] [Feb 03 22:15:52:524] on client named "wks-test-vm01.widex.local"
[1] [Feb 03 22:15:52:525] loggedin user "wininstall"
[1] [Feb 03 22:15:52:525] winst running as "SYSTEM"
[1] [Feb 03 22:15:52:525] winst running with admin privileges
[1] [Feb 03 22:15:52:525] winst running in standard script mode
[1] [Feb 03 22:15:52:525] [executing: "C:\Program Files\opsi.org\opsi-client-agent\opsi-winst\winst32.exe"]
[1] [Feb 03 22:15:52:525] system infos:
[1] [Feb 03 22:15:52:538] 00-0C-29-2D-F4-DA - PC hardware address
[1] [Feb 03 22:15:52:538] WKS-TEST-VM01.widex.local - IP name
[1] [Feb 03 22:15:52:538] 192.168.89.99 - IP address
[1] [Feb 03 22:15:52:538] DES - System default locale
[1] [Feb 03 22:15:52:538] MS Windowds 6.1 32 Bit
[1] [Feb 03 22:15:52:538] opsi service version : 4
[1] [Feb 03 22:15:52:538]
[6] [Feb 03 22:15:52:539] Registry key [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion] opened
[6] [Feb 03 22:15:52:539] Key closed
[6] [Feb 03 22:15:52:643] opsi-winst has version 4.11.3.3, required is : >= 4.10.5
[5] [Feb 03 22:15:52:644]
[5] [Feb 03 22:15:52:644] Set $LogDir$ = "C:\tmp"
[6] [Feb 03 22:15:52:644] The value of the variable "$LogDir$" is now: "C:\tmp"
[5] [Feb 03 22:15:52:644]
[5] [Feb 03 22:15:52:644] Set $OS$ = GetMsVersionInfo
[6] [Feb 03 22:15:52:644] The value of the variable "$OS$" is now: "6.1"
[5] [Feb 03 22:15:52:644]
[5] [Feb 03 22:15:52:644] Set $SystemType$ = GetSystemType
[6] [Feb 03 22:15:52:644] The value of the variable "$SystemType$" is now: "x86 System"
[5] [Feb 03 22:15:52:644]
[5] [Feb 03 22:15:52:644] Set $DEDE$ = GetProductProperty("DE-DE", "")
[6] [Feb 03 22:15:52:644] The value of the variable "$DEDE$" is now: "DEDE=1"
[5] [Feb 03 22:15:52:644]
[5] [Feb 03 22:15:52:644] Set $ENEN$ = GetProductProperty("EN-EN", "")
[6] [Feb 03 22:15:52:644] The value of the variable "$ENEN$" is now: "ENEN=1"
[5] [Feb 03 22:15:52:644]
[5] [Feb 03 22:15:52:644] Set $FRFR$ = GetProductProperty("FR-FR", "")
[6] [Feb 03 22:15:52:645] The value of the variable "$FRFR$" is now: "FRFR=1"
[5] [Feb 03 22:15:52:645]
[5] [Feb 03 22:15:52:645] Set $ITIT$ = GetProductProperty("IT-IT", "")
[6] [Feb 03 22:15:52:645] The value of the variable "$ITIT$" is now: "ITIT=1"
[5] [Feb 03 22:15:52:645]
[5] [Feb 03 22:15:52:645] Set $ENEB$ = GetProductProperty("EN-EB", "")
[6] [Feb 03 22:15:52:645] The value of the variable "$ENEB$" is now: "ENEB=0"
[5] [Feb 03 22:15:52:645]
[5] [Feb 03 22:15:52:645] Set $Default-Language$ = GetProductProperty("Default-Language", "")
[6] [Feb 03 22:15:52:645] The value of the variable "$Default-Language$" is now: "DEDE"
[5] [Feb 03 22:15:52:645]
[5] [Feb 03 22:15:52:645] Set $Autoupdate$ = GetProductProperty("Autoupdate", "")
[6] [Feb 03 22:15:52:645] The value of the variable "$Autoupdate$" is now: "AUTOMATICUPDATE=0"
[5] [Feb 03 22:15:52:645]
[5] [Feb 03 22:15:52:645] Set $ProductId$ = "Compass GPS"
[6] [Feb 03 22:15:52:645] The value of the variable "$ProductId$" is now: "Compass GPS"
[5] [Feb 03 22:15:52:646]
[5] [Feb 03 22:15:52:646] Set $MinimumSpace$ = "540 MB"
[6] [Feb 03 22:15:52:646] The value of the variable "$MinimumSpace$" is now: "540 MB"
[5] [Feb 03 22:15:52:646]
[5] [Feb 03 22:15:52:646] Set $InstallDir$ = "C:\Program Files\Widex\CompassGPS"
[6] [Feb 03 22:15:52:646] The value of the variable "$InstallDir$" is now: "C:\Program Files\Widex\CompassGPS"
[5] [Feb 03 22:15:52:646]
[5] [Feb 03 22:15:52:646] Set $InstallId$ = '{87AAE664-634C-4DC1-9888-AD4AD1717A5C}'
[6] [Feb 03 22:15:52:646] The value of the variable "$InstallId$" is now: "{87AAE664-634C-4DC1-9888-AD4AD1717A5C}"
[5] [Feb 03 22:15:52:646]
[5] [Feb 03 22:15:52:646] Set $UninstallDir$ = "C:\Program Files\InstallShield Installation Information\" + $InstallId$
[6] [Feb 03 22:15:52:646] The value of the variable "$UninstallDir$" is now: "C:\Program Files\InstallShield Installation Information\{87AAE664-634C-4DC1-9888-AD4AD1717A5C}"
[5] [Feb 03 22:15:52:646]
[5] [Feb 03 22:15:52:646] Set $setupstring$ = "/passive " + $DEDE$ + " " + $ENEN$ + " " + $FRFR$ + " " + $ITIT$ + " " + "LANGUAGE_SELECTED=" + $Default-Language$ + " " + $Autoupdate$
[6] [Feb 03 22:15:52:646] The value of the variable "$setupstring$" is now: "/passive DEDE=1 ENEN=1 FRFR=1 ITIT=1 LANGUAGE_SELECTED=DEDE AUTOMATICUPDATE=0"
[5] [Feb 03 22:15:52:646]
[5] [Feb 03 22:15:52:646] If
[6] [Feb 03 22:15:52:647] Free on Disk C:: 34.144.628.736 bytes This is more than the required amount of 540.000.000 bytes
[5] [Feb 03 22:15:52:647] HasMinimumSpace ("C:", $MinimumSpace$) <<< result true
[5] [Feb 03 22:15:52:647] not(HasMinimumSpace ("C:", $MinimumSpace$)) <<< result false
[5] [Feb 03 22:15:52:647] Then
[5] [Feb 03 22:15:52:647]
[5] [Feb 03 22:15:52:647] Else
[5] [Feb 03 22:15:52:647] comment: Show product picture
[5] [Feb 03 22:15:52:660]
[5] [Feb 03 22:15:52:660] If
[6] [Feb 03 22:15:52:660] Starting query if file exist ...
[5] [Feb 03 22:15:52:664] "P:\compass-gps\delsub1.ins": File Error 2 (Das System kann die angegebene Datei nicht finden.<)
[5] [Feb 03 22:15:52:664] FileExists("P:\compass-gps\delsub1.ins") <<< result false
[5] [Feb 03 22:15:52:664] Then
[5] [Feb 03 22:15:52:664] EndIf
[5] [Feb 03 22:15:52:665] message Installiere Compass GPS ...
[5] [Feb 03 22:15:52:668]
[5] [Feb 03 22:15:52:668] If
[5] [Feb 03 22:15:52:668] $OS$ <= "5.2" <<< result false
[5] [Feb 03 22:15:52:668] ($OS$ <= "5.2") <<< result false
[5] [Feb 03 22:15:52:668] Then
[5] [Feb 03 22:15:52:668]
[5] [Feb 03 22:15:52:668] Else
[5] [Feb 03 22:15:52:668]
[5] [Feb 03 22:15:52:668] If
[5] [Feb 03 22:15:52:668] $SystemType$ = "64 Bit System" <<< result false
[5] [Feb 03 22:15:52:668] ($SystemType$ = "64 Bit System") <<< result false
[5] [Feb 03 22:15:52:668] Then
[5] [Feb 03 22:15:52:668]
[5] [Feb 03 22:15:52:668] Else
[5] [Feb 03 22:15:52:668] comment: Start setup program
[5] [Feb 03 22:15:52:669]
[5] [Feb 03 22:15:52:669] Execution of Winbatch_install_win7
[6] [Feb 03 22:15:52:671] Call "P:\compass-gps\files\setup.exe /S /v"/passive DEDE=1 ENEN=1 FRFR=1 ITIT=1 LANGUAGE_SELECTED=DEDE AUTOMATICUPDATE=0""
[6] [Feb 03 22:15:52:671] Waiting until the called process is finished
[6] [Feb 03 22:15:52:673] Start process as invoker: SYSTEM
[6] [Feb 03 22:15:57:085] ExitCode 1624 Executed process "P:\compass-gps\files\setup.exe /S /v"/passive DEDE=1 ENEN=1 FRFR=1 ITIT=1 LANGUAGE_SELECTED=DEDE AUTOMATICUPDATE=0""
[6] [Feb 03 22:15:57:087] Call "P:\compass-gps\files\setup.exe /S /v" /passive DEDE=1 FRFR=1 ITIT=1 LANGUAGE_SELECTED=DEDE DISTRIBUTOR=70373 ISSHOWMSILOG=1 AUTOMATICUPDATE=0""
[6] [Feb 03 22:15:57:087] Waiting until the called process is finished
[6] [Feb 03 22:15:57:089] Start process as invoker: SYSTEM
[6] [Feb 03 22:16:01:499] ExitCode 1624 Executed process "P:\compass-gps\files\setup.exe /S /v" /passive DEDE=1 FRFR=1 ITIT=1 LANGUAGE_SELECTED=DEDE DISTRIBUTOR=70373 ISSHOWMSILOG=1 AUTOMATICUPDATE=0""
[6] [Feb 03 22:16:01:502]
[6] [Feb 03 22:16:01:502] ~~~~~~~ Start Sub ~~~~~~~ Sub_check_exitcode
[5] [Feb 03 22:16:01:504] comment: Test for installation success via exit code
[5] [Feb 03 22:16:01:504]
[5] [Feb 03 22:16:01:504] Set $ExitCode$ = getLastExitCode
[6] [Feb 03 22:16:01:504] The value of the variable "$ExitCode$" is now: "1624"
[5] [Feb 03 22:16:01:504]
[5] [Feb 03 22:16:01:504] If
[5] [Feb 03 22:16:01:504] $ExitCode$ = "0" <<< result false
[5] [Feb 03 22:16:01:504] ($ExitCode$ = "0") <<< result false
[5] [Feb 03 22:16:01:504] Then
[5] [Feb 03 22:16:01:504]
[5] [Feb 03 22:16:01:504] Else
[5] [Feb 03 22:16:01:504] comment: Setup program gives a exitcode unequal zero: 1624
[5] [Feb 03 22:16:01:504]
[5] [Feb 03 22:16:01:504] If
[5] [Feb 03 22:16:01:504] $ExitCode$ = "1605" <<< result false
[5] [Feb 03 22:16:01:504] ($ExitCode$ = "1605") <<< result false
[5] [Feb 03 22:16:01:504] Then
[5] [Feb 03 22:16:01:504]
[5] [Feb 03 22:16:01:504] Else
[5] [Feb 03 22:16:01:504]
[5] [Feb 03 22:16:01:504] If
[5] [Feb 03 22:16:01:504] $ExitCode$ = "1641" <<< result false
[5] [Feb 03 22:16:01:504] ($ExitCode$ = "1641") <<< result false
[5] [Feb 03 22:16:01:504] Then
[5] [Feb 03 22:16:01:504]
[5] [Feb 03 22:16:01:504] Else
[5] [Feb 03 22:16:01:504]
[5] [Feb 03 22:16:01:505] If
[5] [Feb 03 22:16:01:505] $ExitCode$ = "3010" <<< result false
[5] [Feb 03 22:16:01:505] ($ExitCode$ = "3010") <<< result false
[5] [Feb 03 22:16:01:505] Then
[5] [Feb 03 22:16:01:505]
[5] [Feb 03 22:16:01:505] Else
[3] [Feb 03 22:16:01:505] Error: Fatal: Setup program gives an unknown exitcode unequal zero: 1624
[5] [Feb 03 22:16:01:505] Error level set to fatal
[5] [Feb 03 22:16:01:505] Process aborted
[6] [Feb 03 22:16:01:505]
[6] [Feb 03 22:16:01:505] ~~~~~~~ End Sub ~~~~~~~ Sub_check_exitcode
[6] [Feb 03 22:16:01:505]
[5] [Feb 03 22:16:01:505] Process aborted
[1] [Feb 03 22:16:01:505] ___________________
[1] [Feb 03 22:16:01:505] script finished
[1] [Feb 03 22:16:01:505] 1 error
[1] [Feb 03 22:16:01:505] 0 warnings
[1] [Feb 03 22:16:01:505]
[1] [Feb 03 22:16:01:505] installed product: compass-gps Version: 1.0-1
[1] [Feb 03 22:16:01:505]
[6] [Feb 03 22:16:01:506] Delete "c:\opsi.org\tmp\_winstbat_*"
[6] [Feb 03 22:16:01:506] Search "c:\opsi.org\tmp\"
[6] [Feb 03 22:16:01:506] JSON service request https://192.168.89.9:4447/rpc setProductActionRequest
[6] [Feb 03 22:16:01:655] JSON Bench for setProductActionRequest "params":["compass-gps","wks-test-vm01.widex.local Start: 22:16:01:506 Time: 00:00:00:149
[1] [Feb 03 22:16:01:659] product "compass-gps set to update
[1] [Feb 03 22:16:01:659] Update script name:
[5] [Feb 03 22:16:01:659] no script file name given
[1] [Feb 03 22:16:01:659] we have no update script
[6] [Feb 03 22:16:01:660] JSON service request https://192.168.89.9:4447/rpc productOnClient_updateObject
[6] [Feb 03 22:16:01:767] JSON Bench for productOnClient_updateObject "params":[{"clientId":"wks-test-vm01.widex.local", Start: 22:16:01:660 Time: 00:00:00:107
[6] [Feb 03 22:16:01:772] Registry key [HKLM\SOFTWARE\opsi.org\winst] opened
[6] [Feb 03 22:16:01:772] Variable "RebootRequested" is keeping its value "0"
[6] [Feb 03 22:16:01:772] Variable "LastLogFilename" is keeping its value "c:\tmp\instlog.txt"
[6] [Feb 03 22:16:01:772] Variable "ContinueLogFile" is keeping its value "0"
[6] [Feb 03 22:16:01:773] Variable "NumberOfErrors" is keeping its value "0"
[6] [Feb 03 22:16:01:784] Key flushed
[6] [Feb 03 22:16:01:784] Key closed
[5] [Feb 03 22:16:01:790] -------- submitted part of log file ends here, see the rest of log file on client ----------