Exitcode 1622

Antworten
bobzbobz
Beiträge: 169
Registriert: 30 Nov 2012, 10:41
Wohnort: Denmark

Exitcode 1622

Beitrag von bobzbobz »

Hello

A lot of our packages are suddenly failing during setup with an exitcode 1622.
(34443) [1] [2021-12-08 14:49:34.709] [liveconnect-organizer]
(34444) [1] [2021-12-08 14:49:34.709] [liveconnect-organizer] ============ Version 4.12.4.30 script "p:\liveconnect-organizer\setup.ins"
(34445) [1] [2021-12-08 14:49:34.709] [liveconnect-organizer] used script encoding: cp1252
(34446) [1] [2021-12-08 14:49:34.709] [liveconnect-organizer] used system encoding: cp1252
(34447) [1] [2021-12-08 14:49:34.709] [liveconnect-organizer] start: 2021-12-08 14:49:34
(34448) [1] [2021-12-08 14:49:34.709] [liveconnect-organizer] installing product: liveconnect-organizer_2.3.10-1
(34449) [1] [2021-12-08 14:49:34.709] [liveconnect-organizer] on client named "2sek006.fmts.lan"
(34450) [1] [2021-12-08 14:49:34.709] [liveconnect-organizer] loggedin user ""
(34451) [1] [2021-12-08 14:49:34.709] [liveconnect-organizer] opsi-script running as "SYSTEM"
(34452) [1] [2021-12-08 14:49:34.709] [liveconnect-organizer] opsi-script running with admin privileges
(34453) [1] [2021-12-08 14:49:34.709] [liveconnect-organizer] opsi-script running in standard script mode
(34454) [1] [2021-12-08 14:49:34.709] [liveconnect-organizer] Scaling for screen DPI: 96
(34455) [1] [2021-12-08 14:49:34.709] [liveconnect-organizer] executing: "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-script\opsi-script.exe"
(34456) [1] [2021-12-08 14:49:34.709] [liveconnect-organizer] system infos:
(34457) [1] [2021-12-08 14:49:34.710] [liveconnect-organizer] 90-2E-16-E8-EC-77 - PC hardware address
(34458) [1] [2021-12-08 14:49:34.710] [liveconnect-organizer] 2sek006.fmts.lan - IP name
(34459) [1] [2021-12-08 14:49:34.710] [liveconnect-organizer] 172.16.9.198 - IP address
(34460) [1] [2021-12-08 14:49:34.710] [liveconnect-organizer] DAN - System default locale
(34471) [1] [2021-12-08 14:49:34.710] [liveconnect-organizer] MS Windows 10.0 64 Bit, Release: 20H2, Edition: PRODUCT_PROFESSIONAL
(34472) [1] [2021-12-08 14:49:34.710] [liveconnect-organizer] opsi service version : 4
(34473) [1] [2021-12-08 14:49:34.710] [liveconnect-organizer]
(34589) [3] [2021-12-08 14:49:35.025] [liveconnect-organizer] Error: Fatal: Setup program gives an unknown exitcode unequal zero: 1622
(34590) [2] [2021-12-08 14:49:35.025] [liveconnect-organizer] Error level set to fatal
(34596) [1] [2021-12-08 14:49:35.025] [liveconnect-organizer] ___________________
(34597) [1] [2021-12-08 14:49:35.025] [liveconnect-organizer] script finished: failed
(34598) [1] [2021-12-08 14:49:35.025] [liveconnect-organizer] 5 errors
(34599) [1] [2021-12-08 14:49:35.025] [liveconnect-organizer] 3 warnings
(34600) [1] [2021-12-08 14:49:35.025] [liveconnect-organizer]
(34601) [1] [2021-12-08 14:49:35.025] [liveconnect-organizer] installed product: liveconnect-organizer Version: 2.3.10-1
(34602) [1] [2021-12-08 14:49:35.025] [liveconnect-organizer]
Benutzeravatar
SisterOfMercy
Beiträge: 1522
Registriert: 22 Jun 2012, 19:18

Re: Exitcode 1622

Beitrag von SisterOfMercy »

Can you show your complete script?
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!
bobzbobz
Beiträge: 169
Registriert: 30 Nov 2012, 10:41
Wohnort: Denmark

Re: Exitcode 1622

Beitrag von bobzbobz »

Here are the logs set at loglevel 7:
(34428) [6] [2021-12-08 14:49:34.624] [liveconnect-organizer] Actionrequest for Product: liveconnect-organizer is: setup
(34429) [6] [2021-12-08 14:49:34.624] [liveconnect-organizer] SslLib should be: C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-script\ssleay32.dll
(34430) [6] [2021-12-08 14:49:34.656] [liveconnect-organizer] JSON Bench for getProductProperties_hash "params":["liveconnect-organizer","2sek006.fmts.la Start: 14:49:34:624 Time: 00:00:00:032
(34431) [6] [2021-12-08 14:49:34.656] [liveconnect-organizer] SslLib should be: C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-script\ssleay32.dll
(34432) [6] [2021-12-08 14:49:34.666] [liveconnect-organizer] JSON Bench for getProduct_hash "params":["liveconnect-organizer","opsi.fmts.lan"] Start: 14:49:34:656 Time: 00:00:00:010
(34433) [7] [2021-12-08 14:49:34.666] [liveconnect-organizer] in TOpsi4Data.initProduct : liveconnect-organizer
(34434) [6] [2021-12-08 14:49:34.666] [liveconnect-organizer] SslLib should be: C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-script\ssleay32.dll
(34435) [6] [2021-12-08 14:49:34.675] [liveconnect-organizer] JSON Bench for productOnClient_getObjects "params":["",{"clientId":"2sek006.fmts.lan","produ Start: 14:49:34:666 Time: 00:00:00:009
(34436) [6] [2021-12-08 14:49:34.675] [liveconnect-organizer] scriptname: "setup.ins", special path: "p:\liveconnect-organizer\"
(34437) [6] [2021-12-08 14:49:34.675] [liveconnect-organizer] SslLib should be: C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-script\ssleay32.dll
(34438) [6] [2021-12-08 14:49:34.693] [liveconnect-organizer] JSON Bench for productOnClient_updateObject "params":[{"clientId":"2sek006.fmts.lan","actionRe Start: 14:49:34:675 Time: 00:00:00:018
(34439) [6] [2021-12-08 14:49:34.693] [liveconnect-organizer] Using new Depot path: p:\
(34440) [7] [2021-12-08 14:49:34.702] [liveconnect-organizer] Load from Unicode file
(34441) [7] [2021-12-08 14:49:34.708] [liveconnect-organizer] Load from file with encoding: system
(34442) [7] [2021-12-08 14:49:34.709] [liveconnect-organizer] Load from file with encoding: cp1252
(34443) [1] [2021-12-08 14:49:34.709] [liveconnect-organizer]
(34444) [1] [2021-12-08 14:49:34.709] [liveconnect-organizer] ============ Version 4.12.4.30 script "p:\liveconnect-organizer\setup.ins"
(34445) [1] [2021-12-08 14:49:34.709] [liveconnect-organizer] used script encoding: cp1252
(34446) [1] [2021-12-08 14:49:34.709] [liveconnect-organizer] used system encoding: cp1252
(34447) [1] [2021-12-08 14:49:34.709] [liveconnect-organizer] start: 2021-12-08 14:49:34
(34448) [1] [2021-12-08 14:49:34.709] [liveconnect-organizer] installing product: liveconnect-organizer_2.3.10-1
(34449) [1] [2021-12-08 14:49:34.709] [liveconnect-organizer] on client named "2sek006.fmts.lan"
(34450) [1] [2021-12-08 14:49:34.709] [liveconnect-organizer] loggedin user ""
(34451) [1] [2021-12-08 14:49:34.709] [liveconnect-organizer] opsi-script running as "SYSTEM"
(34452) [1] [2021-12-08 14:49:34.709] [liveconnect-organizer] opsi-script running with admin privileges
(34453) [1] [2021-12-08 14:49:34.709] [liveconnect-organizer] opsi-script running in standard script mode
(34454) [1] [2021-12-08 14:49:34.709] [liveconnect-organizer] Scaling for screen DPI: 96
(34455) [1] [2021-12-08 14:49:34.709] [liveconnect-organizer] executing: "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-script\opsi-script.exe"
(34456) [1] [2021-12-08 14:49:34.709] [liveconnect-organizer] system infos:
(34457) [1] [2021-12-08 14:49:34.710] [liveconnect-organizer] 90-2E-16-E8-EC-77 - PC hardware address
(34458) [1] [2021-12-08 14:49:34.710] [liveconnect-organizer] 2sek006.fmts.lan - IP name
(34459) [1] [2021-12-08 14:49:34.710] [liveconnect-organizer] 172.16.9.198 - IP address
(34460) [1] [2021-12-08 14:49:34.710] [liveconnect-organizer] DAN - System default locale
(34461) [7] [2021-12-08 14:49:34.710] [liveconnect-organizer] Registry started without redirection (64 Bit)
(34462) [7] [2021-12-08 14:49:34.710] [liveconnect-organizer] Registry started readonly
(34463) [7] [2021-12-08 14:49:34.710] [liveconnect-organizer] Registry started without redirection (64 Bit)
(34464) [6] [2021-12-08 14:49:34.710] [liveconnect-organizer] Registry key [HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion] opened
(34465) [6] [2021-12-08 14:49:34.710] [liveconnect-organizer] Key closed
(34466) [7] [2021-12-08 14:49:34.710] [liveconnect-organizer] Registry started without redirection (64 Bit)
(34467) [7] [2021-12-08 14:49:34.710] [liveconnect-organizer] Registry started readonly
(34468) [7] [2021-12-08 14:49:34.710] [liveconnect-organizer] Registry started without redirection (64 Bit)
(34469) [6] [2021-12-08 14:49:34.710] [liveconnect-organizer] Registry key [HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion] opened
(34470) [6] [2021-12-08 14:49:34.710] [liveconnect-organizer] Key closed
(34471) [1] [2021-12-08 14:49:34.710] [liveconnect-organizer] MS Windows 10.0 64 Bit, Release: 20H2, Edition: PRODUCT_PROFESSIONAL
(34472) [1] [2021-12-08 14:49:34.710] [liveconnect-organizer] opsi service version : 4
(34473) [1] [2021-12-08 14:49:34.710] [liveconnect-organizer]
(34474) [7] [2021-12-08 14:49:34.711] [liveconnect-organizer] Registry started readonly
(34475) [7] [2021-12-08 14:49:34.711] [liveconnect-organizer] Registry started without redirection (64 Bit)
(34476) [6] [2021-12-08 14:49:34.711] [liveconnect-organizer] Registry key [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion] opened
(34477) [6] [2021-12-08 14:49:34.712] [liveconnect-organizer] Key closed
(34478) [7] [2021-12-08 14:49:34.767] [liveconnect-organizer] Starting with script...
(34479) [6] [2021-12-08 14:49:34.816] [liveconnect-organizer] opsi-script has version 4.12.4.30, required is : >= 4.11.2.6
(34480) [6] [2021-12-08 14:49:34.817] [liveconnect-organizer] Set $LogDir$ = "C:\tmp"
(34481) [6] [2021-12-08 14:49:34.819] [liveconnect-organizer] The value of the variable "$LogDir$" is now: "C:\tmp"
(34482) [6] [2021-12-08 14:49:34.819] [liveconnect-organizer] Set $ProductId$ = "liveconnect-organizer"
(34483) [6] [2021-12-08 14:49:34.819] [liveconnect-organizer] The value of the variable "$ProductId$" is now: "liveconnect-organizer"
(34484) [6] [2021-12-08 14:49:34.819] [liveconnect-organizer] Set $MinimumSpace$ = "500 MB"
(34485) [6] [2021-12-08 14:49:34.819] [liveconnect-organizer] The value of the variable "$MinimumSpace$" is now: "500 MB"
(34486) [6] [2021-12-08 14:49:34.819] [liveconnect-organizer] Set $InstallDir$ = "C:\Program Files (x86)\MediaConnect\LiveConnect Organizer"
(34487) [6] [2021-12-08 14:49:34.819] [liveconnect-organizer] The value of the variable "$InstallDir$" is now: "C:\Program Files (x86)\MediaConnect\LiveConnect Organizer"
(34488) [6] [2021-12-08 14:49:34.819] [liveconnect-organizer] Set $OpsiIni$ = $InstallDir$ + "\" + $ProductId$ + "_opsi.ini"
(34489) [6] [2021-12-08 14:49:34.819] [liveconnect-organizer] The value of the variable "$OpsiIni$" is now: "C:\Program Files (x86)\MediaConnect\LiveConnect Organizer\liveconnect-organizer_opsi.ini"
(34490) [6] [2021-12-08 14:49:34.819] [liveconnect-organizer] Set $old_MsiId$ = GetValueFromInifile($OpsiIni$,"version","msiid","")
(34491) [6] [2021-12-08 14:49:34.819] [liveconnect-organizer] reading the value to the key "msiid" in section "version" from inifile "C:\Program Files (x86)\MediaConnect\LiveConnect Organizer\liveconnect-organizer_opsi.ini", default value ""
(34492) [6] [2021-12-08 14:49:34.819] [liveconnect-organizer] The value of the variable "$old_MsiId$" is now: ""
(34493) [6] [2021-12-08 14:49:34.820] [liveconnect-organizer] If
(34494) [6] [2021-12-08 14:49:34.820] [liveconnect-organizer] Free on Disk C:: 472.466.350.080 bytes This is more than the required amount of 500.000.000 bytes
(34495) [7] [2021-12-08 14:49:34.820] [liveconnect-organizer] HasMinimumSpace ("C:", $MinimumSpace$) <<< result true
(34496) [6] [2021-12-08 14:49:34.820] [liveconnect-organizer] not(HasMinimumSpace ("C:", $MinimumSpace$)) <<< result false
(34497) [6] [2021-12-08 14:49:34.820] [liveconnect-organizer] Then
(34498) [6] [2021-12-08 14:49:34.820] [liveconnect-organizer] Else
(34499) [5] [2021-12-08 14:49:34.820] [liveconnect-organizer] comment: Vis produktlogo
(34500) [6] [2021-12-08 14:49:34.855] [liveconnect-organizer] If
(34501) [6] [2021-12-08 14:49:34.855] [liveconnect-organizer] Starting query if file exists ...
(34502) [6] [2021-12-08 14:49:34.856] [liveconnect-organizer] FileExists("p:\liveconnect-organizer\delsub.ins") <<< result true
(34503) [6] [2021-12-08 14:49:34.856] [liveconnect-organizer] Then
(34504) [5] [2021-12-08 14:49:34.856] [liveconnect-organizer] comment: Start uninstall sub section
(34505) [7] [2021-12-08 14:49:34.863] [liveconnect-organizer] Load from file with encoding: system
(34506) [4] [2021-12-08 14:49:34.867] [liveconnect-organizer] Warning : no encodingString or is empty - Fallback to system encoding
(34507) [7] [2021-12-08 14:49:34.867] [liveconnect-organizer] Load from file with encoding: system
(34508) [7] [2021-12-08 14:49:34.867] [liveconnect-organizer] Loaded sub from: p:\liveconnect-organizer\delsub.ins with encoding: system
(34509) [6] [2021-12-08 14:49:34.867] [liveconnect-organizer]
(34510) [6] [2021-12-08 14:49:34.867] [liveconnect-organizer] ~~~~~~~ Start Sub ~~~~~~~ Sub "p:\liveconnect-organizer\delsub.ins"
(34511) [6] [2021-12-08 14:49:34.915] [liveconnect-organizer] Set $MsiId$ = '{663614F9-61B2-4517-8592-B4994FC0A712}'
(34512) [6] [2021-12-08 14:49:34.915] [liveconnect-organizer] The value of the variable "$MsiId$" is now: "{663614F9-61B2-4517-8592-B4994FC0A712}"
(34513) [5] [2021-12-08 14:49:34.915] [liveconnect-organizer] message Afinstallerer liveconnect-organizer ...
(34514) [6] [2021-12-08 14:49:34.917] [liveconnect-organizer] If
(34515) [6] [2021-12-08 14:49:34.917] [liveconnect-organizer] Starting query if file exists ...
(34516) [6] [2021-12-08 14:49:34.917] [liveconnect-organizer] Not found: "C:\Program Files (x86)\MediaConnect\LiveConnect Organizer\liveconnect-organizer_opsi.ini":
(34517) [7] [2021-12-08 14:49:34.917] [liveconnect-organizer] Registry started readonly
(34518) [7] [2021-12-08 14:49:34.917] [liveconnect-organizer] Registry started with redirection (32 Bit)
(34519) [6] [2021-12-08 14:49:34.917] [liveconnect-organizer] Registry key [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\] opened
(34520) [6] [2021-12-08 14:49:34.917] [liveconnect-organizer] Variable "DisplayName" not found. Code: 2
(34521) [6] [2021-12-08 14:49:34.918] [liveconnect-organizer] Variable "DisplayName" not found. Code: 2
(34522) [6] [2021-12-08 14:49:34.918] [liveconnect-organizer] Key closed
(34523) [7] [2021-12-08 14:49:34.918] [liveconnect-organizer] GetRegistryStringValue32("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" + $old_MsiId$ + "] DisplayName") = "" <<< result true
(34524) [7] [2021-12-08 14:49:34.918] [liveconnect-organizer] not (GetRegistryStringValue32("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" + $old_MsiId$ + "] DisplayName") = "") <<< result false
(34525) [6] [2021-12-08 14:49:34.918] [liveconnect-organizer] FileExists($OpsiIni$) and not (GetRegistryStringValue32("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" + $old_MsiId$ + "] DisplayName") = "") <<< result false
(34526) [6] [2021-12-08 14:49:34.918] [liveconnect-organizer] Then
(34527) [6] [2021-12-08 14:49:34.918] [liveconnect-organizer] Else
(34528) [6] [2021-12-08 14:49:34.918] [liveconnect-organizer] If
(34529) [7] [2021-12-08 14:49:34.918] [liveconnect-organizer] Registry started readonly
(34530) [7] [2021-12-08 14:49:34.918] [liveconnect-organizer] Registry started with redirection (32 Bit)
(34531) [6] [2021-12-08 14:49:34.918] [liveconnect-organizer] Info: Registry key [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{663614F9-61B2-4517-8592-B4994FC0A712}] could not be opened by RegOpenKeyEx, Errorno 2 "Den angivne fil blev ikke fundet.<"
(34532) [7] [2021-12-08 14:49:34.918] [liveconnect-organizer] GetRegistryStringValue32("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" + $MsiId$ + "] DisplayName") = "" <<< result true
(34533) [6] [2021-12-08 14:49:34.918] [liveconnect-organizer] not (GetRegistryStringValue32("[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\" + $MsiId$ + "] DisplayName") = "") <<< result false
(34534) [6] [2021-12-08 14:49:34.918] [liveconnect-organizer] Then
(34535) [6] [2021-12-08 14:49:34.918] [liveconnect-organizer] EndIf
(34536) [6] [2021-12-08 14:49:34.919] [liveconnect-organizer] EndIf
(34537) [5] [2021-12-08 14:49:34.919] [liveconnect-organizer] comment: Sletter config-filen
(34538) [5] [2021-12-08 14:49:34.919] [liveconnect-organizer] Execution of: Files_uninstall
(34539) [5] [2021-12-08 14:49:34.919] [liveconnect-organizer]
(34540) [7] [2021-12-08 14:49:34.919] [liveconnect-organizer] del -sf C:\Program Files (x86)\MediaConnect\LiveConnect Organizer
(34541) [7] [2021-12-08 14:49:34.919] [liveconnect-organizer] del
(34542) [6] [2021-12-08 14:49:34.919] [liveconnect-organizer] Notice: File or Directory C:\Program Files (x86)\MediaConnect\LiveConnect Organizer does not exist, nothing deleted
(34543) [5] [2021-12-08 14:49:34.919] [liveconnect-organizer] Finished section: Files_uninstall
(34544) [6] [2021-12-08 14:49:34.919] [liveconnect-organizer] Section ending since next line is starting with "["
(34545) [6] [2021-12-08 14:49:34.919] [liveconnect-organizer]
(34546) [6] [2021-12-08 14:49:34.919] [liveconnect-organizer] ~~~~~~~ End Sub ~~~~~~~ Sub "p:\liveconnect-organizer\delsub.ins"
(34547) [6] [2021-12-08 14:49:34.919] [liveconnect-organizer]
(34548) [6] [2021-12-08 14:49:34.919] [liveconnect-organizer] EndIf
(34549) [5] [2021-12-08 14:49:34.921] [liveconnect-organizer] message Installerer liveconnect-organizer ...
(34550) [5] [2021-12-08 14:49:34.925] [liveconnect-organizer] comment: Start setup-program
(34551) [6] [2021-12-08 14:49:34.943] [liveconnect-organizer] Changed current directory to p:\liveconnect-organizer
(34552) [5] [2021-12-08 14:49:34.943] [liveconnect-organizer] Execution of: Winbatch_install
(34553) [5] [2021-12-08 14:49:34.943] [liveconnect-organizer]
(34554) [6] [2021-12-08 14:49:34.944] [liveconnect-organizer] Call "msiexec /i "p:\liveconnect-organizer\LiveConnect Organizer Setup.msi" /l* "C:\tmp\liveconnect-organizer.install_log.txt" /qb! ALLUSERS=1 REBOOT=ReallySuppress"
(34555) [6] [2021-12-08 14:49:34.944] [liveconnect-organizer] Waiting until the called process is finished
(34556) [6] [2021-12-08 14:49:34.944] [liveconnect-organizer] Start process as invoker: SYSTEM
(34557) [6] [2021-12-08 14:49:34.950] [liveconnect-organizer] Started process "msiexec" with Opt: /i\r\n"p:\liveconnect-organizer\LiveConnect\r\nOrganizer\r\nSetup.msi"\r\n/l*\r\n"C:\tmp\liveconnect-organizer.install_log.txt"\r\n/qb!\r\nALLUSERS=1\r\nREBOOT=ReallySuppress
(34558) [6] [2021-12-08 14:49:34.972] [liveconnect-organizer] ExitCode 1622 Executed process "msiexec /i "p:\liveconnect-organizer\LiveConnect Organizer Setup.msi" /l* "C:\tmp\liveconnect-organizer.install_log.txt" /qb! ALLUSERS=1 REBOOT=ReallySuppress"
(34559) [7] [2021-12-08 14:49:34.972] [liveconnect-organizer] output:
(34560) [7] [2021-12-08 14:49:34.972] [liveconnect-organizer] --------------
(34561) [7] [2021-12-08 14:49:34.972] [liveconnect-organizer] F
(34562) [7] [2021-12-08 14:49:34.972] [liveconnect-organizer] --------------
(34563) [6] [2021-12-08 14:49:34.974] [liveconnect-organizer]
(34564) [6] [2021-12-08 14:49:34.974] [liveconnect-organizer] ~~~~~~~ Start Sub ~~~~~~~ Sub_check_exitcode
(34565) [5] [2021-12-08 14:49:35.023] [liveconnect-organizer] comment: Test for installation success via exit code
(34566) [6] [2021-12-08 14:49:35.023] [liveconnect-organizer] Set $ExitCode$ = getLastExitCode
(34567) [6] [2021-12-08 14:49:35.023] [liveconnect-organizer] The value of the variable "$ExitCode$" is now: "1622"
(34568) [6] [2021-12-08 14:49:35.023] [liveconnect-organizer] If
(34569) [7] [2021-12-08 14:49:35.023] [liveconnect-organizer] $ExitCode$ = "0" <<< result false
(34570) [6] [2021-12-08 14:49:35.023] [liveconnect-organizer] ($ExitCode$ = "0") <<< result false
(34571) [6] [2021-12-08 14:49:35.023] [liveconnect-organizer] Then
(34572) [6] [2021-12-08 14:49:35.024] [liveconnect-organizer] Else
(34573) [5] [2021-12-08 14:49:35.024] [liveconnect-organizer] comment: Setup program gives a exitcode unequal zero: 1622
(34574) [6] [2021-12-08 14:49:35.024] [liveconnect-organizer] If
(34575) [7] [2021-12-08 14:49:35.024] [liveconnect-organizer] $ExitCode$ = "1605" <<< result false
(34576) [6] [2021-12-08 14:49:35.024] [liveconnect-organizer] ($ExitCode$ = "1605") <<< result false
(34577) [6] [2021-12-08 14:49:35.024] [liveconnect-organizer] Then
(34578) [6] [2021-12-08 14:49:35.024] [liveconnect-organizer] Else
(34579) [6] [2021-12-08 14:49:35.024] [liveconnect-organizer] If
(34580) [7] [2021-12-08 14:49:35.024] [liveconnect-organizer] $ExitCode$ = "1641" <<< result false
(34581) [6] [2021-12-08 14:49:35.024] [liveconnect-organizer] ($ExitCode$ = "1641") <<< result false
(34582) [6] [2021-12-08 14:49:35.024] [liveconnect-organizer] Then
(34583) [6] [2021-12-08 14:49:35.024] [liveconnect-organizer] Else
(34584) [6] [2021-12-08 14:49:35.024] [liveconnect-organizer] If
(34585) [7] [2021-12-08 14:49:35.024] [liveconnect-organizer] $ExitCode$ = "3010" <<< result false
(34586) [6] [2021-12-08 14:49:35.024] [liveconnect-organizer] ($ExitCode$ = "3010") <<< result false
(34587) [6] [2021-12-08 14:49:35.024] [liveconnect-organizer] Then
(34588) [6] [2021-12-08 14:49:35.025] [liveconnect-organizer] Else
(34589) [3] [2021-12-08 14:49:35.025] [liveconnect-organizer] Error: Fatal: Setup program gives an unknown exitcode unequal zero: 1622
(34590) [2] [2021-12-08 14:49:35.025] [liveconnect-organizer] Error level set to fatal
(34591) [6] [2021-12-08 14:49:35.025] [liveconnect-organizer] Process aborted
(34592) [6] [2021-12-08 14:49:35.025] [liveconnect-organizer]
(34593) [6] [2021-12-08 14:49:35.025] [liveconnect-organizer] ~~~~~~~ End Sub ~~~~~~~ Sub_check_exitcode
(34594) [6] [2021-12-08 14:49:35.025] [liveconnect-organizer]
(34595) [6] [2021-12-08 14:49:35.025] [liveconnect-organizer] Process aborted
(34596) [1] [2021-12-08 14:49:35.025] [liveconnect-organizer] ___________________
(34597) [1] [2021-12-08 14:49:35.025] [liveconnect-organizer] script finished: failed
(34598) [1] [2021-12-08 14:49:35.025] [liveconnect-organizer] 5 errors
(34599) [1] [2021-12-08 14:49:35.025] [liveconnect-organizer] 3 warnings
(34600) [1] [2021-12-08 14:49:35.025] [liveconnect-organizer]
(34601) [1] [2021-12-08 14:49:35.025] [liveconnect-organizer] installed product: liveconnect-organizer Version: 2.3.10-1
(34602) [1] [2021-12-08 14:49:35.025] [liveconnect-organizer]
(34603) [5] [2021-12-08 14:49:35.025] [liveconnect-organizer] We do not look for a update script, because the setup script is failed
(34604) [7] [2021-12-08 14:49:35.025] [liveconnect-organizer] BuildPC: update switches .....
(34605) [6] [2021-12-08 14:49:35.025] [liveconnect-organizer] SslLib should be: C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-script\ssleay32.dll
(34606) [6] [2021-12-08 14:49:35.045] [liveconnect-organizer] JSON Bench for productOnClient_updateObject "params":[{"clientId":"2sek006.fmts.lan","actionRe Start: 14:49:35:025 Time: 00:00:00:020
And here is the setup-script:
[Actions]
requiredWinstVersion >= "4.11.2.6"

DefVar $MsiId$
DefVar $old_MsiId$
DefVar $OpsiIni$
DefVar $LogDir$
DefVar $ProductId$
DefVar $MinimumSpace$
DefVar $InstallDir$
DefVar $ExitCode$

Set $LogDir$ = "%SystemDrive%\tmp"

; ----------------------------------------------------------------
; - Rediger venligst punkterne herunder -
; ----------------------------------------------------------------
Set $ProductId$ = "liveconnect-organizer"
Set $MinimumSpace$ = "500 MB"
; stien hvor vi finder produktet efter installation
Set $InstallDir$ = "%ProgramFiles32Dir%\MediaConnect\LiveConnect Organizer"
; stien til opsi-ini
Set $OpsiIni$ = $InstallDir$ + "\" + $ProductId$ + "_opsi.ini"
Set $old_MsiId$ = GetValueFromInifile($OpsiIni$,"version","msiid","")
; ----------------------------------------------------------------

if not(HasMinimumSpace ("%SystemDrive%", $MinimumSpace$))
LogError "Der er ikke nok plads paa %SystemDrive%, " + $MinimumSpace$ + " paa drev %SystemDrive% skal bruges til " + $ProductId$
isFatalError "Ikke nok plads"
; Stop processen og angiv installationsstatus som fejlet
else
comment "Vis produktlogo"
ShowBitmap "%ScriptPath%\liveconnect-logo.png" "LiveConnect Outlook Plugin"

if FileExists("%ScriptPath%\delsub.ins")
comment "Start uninstall sub section"
Sub "%ScriptPath%\delsub.ins"
endif

Message "Installerer " + $ProductId$ + " ..."

comment "Start setup-program"
ChangeDirectory "%SCRIPTPATH%"
Winbatch_install
Sub_check_exitcode

comment "Kopier filer"
Files_install

; comment "Patch Registry"
; Registry loadUnicodeTextFile("%ScriptPath%\regfiles\Organizer_LocalMachine.reg") /regedit /64Bit

comment "Opret/opdater opsi.ini"
Patches_majversion $OpsiIni$
endif


[Winbatch_install]
msiexec /i "%ScriptPath%\LiveConnect Organizer Setup.msi" /l* "$LogDir$\$ProductId$.install_log.txt" /qb! ALLUSERS=1 REBOOT=ReallySuppress

[Files_install]
copy -s "%ScriptPath%\Config\*.*" $InstallDir$

[Patches_majversion]
set [version] msiid=$MsiId$

[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 ... S.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
bobzbobz
Beiträge: 169
Registriert: 30 Nov 2012, 10:41
Wohnort: Denmark

Re: Exitcode 1622

Beitrag von bobzbobz »

As far as I can see, Exitcode 1622 is:
There was an error opening installation log file. Verify that the specified log file location exists and is writable.
But even if logs fail, should'nt the program still be installed??
The program is not installed on the PC.
bobzbobz
Beiträge: 169
Registriert: 30 Nov 2012, 10:41
Wohnort: Denmark

Re: Exitcode 1622

Beitrag von bobzbobz »

I think the problem is due to the /l* parameter on the msi-package.
msiexec says that the logfolder doesnt exist or that the user doesnt have write permissions, and therefore fails without installing.

Is the default log-folder (C:\tmp\) not created anymore?
Is there a new log-folder we should use?

I might have some outdated templates of the setup.ins, uninstall.ins, delsub.ins etc.
bobzbobz
Beiträge: 169
Registriert: 30 Nov 2012, 10:41
Wohnort: Denmark

Re: Exitcode 1622

Beitrag von bobzbobz »

SOLUTION:

I replaced my default logdir variables with the global.

Code: Alles auswählen

DefVar $LogDir$
Set $LogDir$ "C:\tmp\"
Was changed to:

Code: Alles auswählen

%OpsiLogDir%
Now unfortunately I have to go through all my packages which use the old logdir, and update them with the solution above.
Antworten