Seite 1 von 1
Programminstallation tut nicht
Verfasst: 05 Apr 2016, 12:08
von rat
Wieder einmal
Ich habe ein opsi Paket erstellt und es tut so als ob es täte und tut doch nicht
Konkret:
- Adobe Photoshop 7 auf Win7 x64 installiert -> läuft
- Opsi Paket erstellt, mit genau denselben Parametern , der Installationsbildschirm erscheint, Zeitdauer inetwa gleich - nix installiert. Kein Programmordner, einfach nix.
- den Ordner vom Server auf den Client kopiert, setup gestartet -> tut was er tun soll.
- Server gibt grünes Licht - sagt alles paßt.
- Log-Dateien: nichts verdächtiges gefunden
Wo ich könnte ich noch nach was suchen?
Re: Programminstallation tut nicht
Verfasst: 05 Apr 2016, 12:28
von dark alex
zeig mal die subsektion mit deinem Setup-Aufruf her
Re: Programminstallation tut nicht
Verfasst: 05 Apr 2016, 12:39
von rat
[Winbatch_install]
"%ScriptPath%\Photoshop\Setup.exe"
Die Setup befindet sich in diesem Pfad, sie wird auch gefunden (lt Log) und, wie bereits gesagt, ein Aufruf lokal auf der Kommandozeile funktioniert. Silentparameter, wie z.B. /S sind nicht notwendig, die abcpy.ini ist entsprechend angepaßt.
Re: Programminstallation tut nicht
Verfasst: 05 Apr 2016, 13:04
von dark alex
Du könntest noch die instlog posten, vielleicht sieht man da was...
//Edit: Bitte über Pastebin oder so
Re: Programminstallation tut nicht
Verfasst: 05 Apr 2016, 13:10
von rat
Ich bin jetzt nicht dort, hätte aber nichts verdächtiges gesehen
Code: Alles auswählen
[1] [Apr 05 11:31:20:538] --
[1] [Apr 05 11:31:20:538] --
[1] [Apr 05 11:31:20:538] c:\opsi.org\log\\opsi-script-part-Ke08Bi85.log
[1] [Apr 05 11:31:20:538] opsi-script 4.11.5.16 started at >>
[1] [Apr 05 11:31:20:538] startmessage opsi-script created at CentralForm.FormCreate: 05.04.2016 11:31:19
[1] [Apr 05 11:31:20:538] Loading skin from: C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-winst\winstskin
[1] [Apr 05 11:31:20:538] startmessage StartProgramModes and create log: 05.04.2016 11:31:20
[1] [Apr 05 11:31:20:538] pm: 5 05.04.2016 11:31:20
[1] [Apr 05 11:31:20:538] startmessage start opsi service connection: 05.04.2016 11:31:20
[1] [Apr 05 11:31:20:539] startmessage: opsidata initialized: 05.04.2016 11:31:20
[1] [Apr 05 11:31:20:539] startmessage create log: 05.04.2016 11:31:20
[6] [Apr 05 11:31:22:187] JSON Bench for getDepotId "params":["test.test.de"],"id":1} Start: 11:31:20:539 Time: 00:00:01:648
[6] [Apr 05 11:31:22:259] JSON service request https://10.10.0.253:4447/rpc backend_setOptions
[6] [Apr 05 11:31:22:414] JSON Bench for backend_setOptions "params":[{"processProductOnClientSequence":true}] Start: 11:31:22:259 Time: 00:00:00:155
[6] [Apr 05 11:31:22:480] JSON service request https://10.10.0.253:4447/rpc productOnClient_getObjects
[6] [Apr 05 11:31:25:385] JSON Bench for productOnClient_getObjects "params":["",{"clientId":"test.test.de","prod Start: 11:31:22:480 Time: 00:00:02:905
[6] [Apr 05 11:31:25:456] JSON service request https://10.10.0.253:4447/rpc backend_setOptions
[6] [Apr 05 11:31:25:571] JSON Bench for backend_setOptions "params":[{"processProductOnClientSequence":false} Start: 11:31:25:456 Time: 00:00:00:115
[5] [Apr 05 11:31:25:649] Computername:test.test.de
[5] [Apr 05 11:31:25:649] Computername according to Environment Variable :TEST
[5] [Apr 05 11:31:25:649] opsi service URL https://10.10.0.253:4447
[5] [Apr 05 11:31:25:649] Depot path: p:\
[5] [Apr 05 11:31:25:649]
[5] [Apr 05 11:31:25:653] bootmode BKSTD
[5] [Apr 05 11:31:25:653] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[5] [Apr 05 11:31:25:653] Resolved sequence of products (05.04.2016 11:31:25):
[5] [Apr 05 11:31:25:653] Product 28 photoshop7 : setup
[5] [Apr 05 11:31:25:656] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[6] [Apr 05 11:31:25:656] JSON service request https://10.10.0.253:4447/rpc getProduct_hash
[6] [Apr 05 11:31:25:955] JSON Bench for getProduct_hash "params":["photoshop7","opsi.test.test.de"],"id":1} Start: 11:31:25:656 Time: 00:00:00:299
[6] [Apr 05 11:31:26:021] JSON service request https://10.10.0.253:4447/rpc productOnClient_getObjects
[6] [Apr 05 11:31:26:179] JSON Bench for productOnClient_getObjects "params":["",{"clientId":"test.test.de","prod Start: 11:31:26:021 Time: 00:00:00:158
[6] [Apr 05 11:31:26:252] Actionrequest for product: photoshop7 is (original/actual): (setup / setup)
[6] [Apr 05 11:31:26:267] [photoshop7] Actionrequest for Product: photoshop7 is: setup
[6] [Apr 05 11:31:26:267] [photoshop7] JSON service request https://10.10.0.253:4447/rpc getProductProperties_hash
[6] [Apr 05 11:31:26:734] [photoshop7] JSON Bench for getProductProperties_hash "params":["photoshop7","test.test.de"],"id":1 Start: 11:31:26:267 Time: 00:00:00:467
[6] [Apr 05 11:31:26:807] [photoshop7] JSON service request https://10.10.0.253:4447/rpc getProduct_hash
[6] [Apr 05 11:31:26:997] [photoshop7] JSON Bench for getProduct_hash "params":["photoshop7","opsi.test.test.de"],"id":1} Start: 11:31:26:807 Time: 00:00:00:190
[6] [Apr 05 11:31:27:065] [photoshop7] JSON service request https://10.10.0.253:4447/rpc productOnClient_getObjects
[6] [Apr 05 11:31:27:354] [photoshop7] JSON Bench for productOnClient_getObjects "params":["",{"clientId":"test.test.de","prod Start: 11:31:27:065 Time: 00:00:00:289
[5] [Apr 05 11:31:27:426] [photoshop7] scriptname: "setup.opsiscript", special path: "p:\photoshop7\"
[6] [Apr 05 11:31:27:426] [photoshop7] JSON service request https://10.10.0.253:4447/rpc productOnClient_updateObject
[6] [Apr 05 11:31:27:648] [photoshop7] JSON Bench for productOnClient_updateObject "params":[{"clientId":"test.test.de","actionR Start: 11:31:27:426 Time: 00:00:00:222
[1] [Apr 05 11:31:28:111] [photoshop7]
[1] [Apr 05 11:31:28:111] [photoshop7] ============ Version 4.11.5.16 script "p:\photoshop7\setup.opsiscript"
[1] [Apr 05 11:31:28:111] [photoshop7] used script encoding: cp1252
[1] [Apr 05 11:31:28:111] [photoshop7] used system encoding: cp1252
[1] [Apr 05 11:31:28:111] [photoshop7] start: 2016-04-05 11:31:28
[1] [Apr 05 11:31:28:115] [photoshop7] installing product: photoshop7_7.0-4
[1] [Apr 05 11:31:28:115] [photoshop7] on client named "test.test.de"
[1] [Apr 05 11:31:28:115] [photoshop7] loggedin user ""
[1] [Apr 05 11:31:28:116] [photoshop7] opsi-script running as "SYSTEM"
[1] [Apr 05 11:31:28:116] [photoshop7] opsi-script running with admin privileges
[1] [Apr 05 11:31:28:116] [photoshop7] opsi-script running in standard script mode
[1] [Apr 05 11:31:28:116] [photoshop7] executing: "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-winst\winst32.exe"
[1] [Apr 05 11:31:28:116] [photoshop7] system infos:
[1] [Apr 05 11:31:28:122] [photoshop7] C4-34-6B-55-21-2C - PC hardware address
[1] [Apr 05 11:31:28:122] [photoshop7] test.test.de - IP name
[1] [Apr 05 11:31:28:122] [photoshop7] 10.10.0.181 - IP address
[1] [Apr 05 11:31:28:122] [photoshop7] DEA - System default locale
[1] [Apr 05 11:31:28:122] [photoshop7] MS Windows 10.0 64 Bit
[1] [Apr 05 11:31:28:122] [photoshop7] opsi service version : 4
[1] [Apr 05 11:31:28:122] [photoshop7]
[6] [Apr 05 11:31:28:130] [photoshop7] Registry key [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion] opened
[6] [Apr 05 11:31:28:130] [photoshop7] Key closed
[6] [Apr 05 11:31:28:183] [photoshop7] opsi-script has version 4.11.5.16, required is : >= 4.11.4.6
[5] [Apr 05 11:31:28:183] [photoshop7] ReportMessages was True is set to true
[5] [Apr 05 11:31:28:184] [photoshop7] Set $LogDir$ = "c:\opsi.org\log"
[6] [Apr 05 11:31:28:187] [photoshop7] The value of the variable "$LogDir$" is now: "c:\opsi.org\log"
[5] [Apr 05 11:31:28:187] [photoshop7] Set $ProductId$ = "photoshop7"
[6] [Apr 05 11:31:28:187] [photoshop7] The value of the variable "$ProductId$" is now: "photoshop7"
[5] [Apr 05 11:31:28:187] [photoshop7] Set $MinimumSpace$ = "1000 MB"
[6] [Apr 05 11:31:28:187] [photoshop7] The value of the variable "$MinimumSpace$" is now: "1000 MB"
[5] [Apr 05 11:31:28:187] [photoshop7] Set $InstallDir$ = "C:\Program Files (x86)\Adobe\Photoshop 7.0"
[6] [Apr 05 11:31:28:187] [photoshop7] The value of the variable "$InstallDir$" is now: "C:\Program Files (x86)\Adobe\Photoshop 7.0"
[6] [Apr 05 11:31:28:187] [photoshop7] If
[6] [Apr 05 11:31:28:187] [photoshop7] Free on Disk C:: 438.529.122.304 bytes This is more than the required amount of 1.000.000.000 bytes
[5] [Apr 05 11:31:28:187] [photoshop7] HasMinimumSpace ("C:", $MinimumSpace$) <<< result true
[5] [Apr 05 11:31:28:187] [photoshop7] not(HasMinimumSpace ("C:", $MinimumSpace$)) <<< result false
[6] [Apr 05 11:31:28:187] [photoshop7] Then
[6] [Apr 05 11:31:28:187] [photoshop7] Else
[5] [Apr 05 11:31:28:187] [photoshop7] comment: Show product picture
[6] [Apr 05 11:31:28:194] [photoshop7] If
[5] [Apr 05 11:31:28:194] [photoshop7] Starting query if file exist ...
[5] [Apr 05 11:31:28:329] [photoshop7] "p:\photoshop7\delsub.opsiscript":
[5] [Apr 05 11:31:28:329] [photoshop7] FileExists("p:\photoshop7\delsub.opsiscript") <<< result false
[6] [Apr 05 11:31:28:329] [photoshop7] Then
[6] [Apr 05 11:31:28:335] [photoshop7] EndIf
[5] [Apr 05 11:31:28:336] [photoshop7] message Installing photoshop7 ...
[5] [Apr 05 11:31:28:342] [photoshop7] comment: Start setup program
[6] [Apr 05 11:31:28:343] [photoshop7] Changed current directory to p:\photoshop7
[5] [Apr 05 11:31:28:344] [photoshop7]
[5] [Apr 05 11:31:28:344] [photoshop7] Execution of Winbatch_install
[6] [Apr 05 11:31:28:352] [photoshop7] Call ""p:\photoshop7\Photoshop\Setup.exe""
[6] [Apr 05 11:31:28:352] [photoshop7] Waiting until the called process is finished
[6] [Apr 05 11:31:28:353] [photoshop7] Start process as invoker: SYSTEM
[6] [Apr 05 11:33:59:333] [photoshop7] ExitCode 0 Executed process ""p:\photoshop7\Photoshop\Setup.exe""
[6] [Apr 05 11:33:59:342] [photoshop7]
[6] [Apr 05 11:33:59:342] [photoshop7] ~~~~~~~ Start Sub ~~~~~~~ Sub_check_exitcode
[5] [Apr 05 11:33:59:345] [photoshop7] comment: Test for installation success via exit code
[5] [Apr 05 11:33:59:345] [photoshop7] Set $ExitCode$ = getLastExitCode
[6] [Apr 05 11:33:59:345] [photoshop7] The value of the variable "$ExitCode$" is now: "0"
[6] [Apr 05 11:33:59:345] [photoshop7] If
[5] [Apr 05 11:33:59:346] [photoshop7] $ExitCode$ = "0" <<< result true
[5] [Apr 05 11:33:59:346] [photoshop7] ($ExitCode$ = "0") <<< result true
[6] [Apr 05 11:33:59:346] [photoshop7] Then
[5] [Apr 05 11:33:59:346] [photoshop7] comment: Looks good: setup program gives exitcode zero
[6] [Apr 05 11:33:59:346] [photoshop7] Else
[6] [Apr 05 11:33:59:346] [photoshop7] If
[6] [Apr 05 11:33:59:346] [photoshop7] Then
[6] [Apr 05 11:33:59:346] [photoshop7] Else
[6] [Apr 05 11:33:59:347] [photoshop7] If
[6] [Apr 05 11:33:59:347] [photoshop7] Then
[6] [Apr 05 11:33:59:347] [photoshop7] Else
[6] [Apr 05 11:33:59:347] [photoshop7] If
[6] [Apr 05 11:33:59:347] [photoshop7] Then
[6] [Apr 05 11:33:59:347] [photoshop7] Else
[6] [Apr 05 11:33:59:348] [photoshop7] EndIf
[6] [Apr 05 11:33:59:348] [photoshop7] EndIf
[6] [Apr 05 11:33:59:348] [photoshop7] EndIf
[6] [Apr 05 11:33:59:348] [photoshop7] EndIf
[6] [Apr 05 11:33:59:348] [photoshop7]
[6] [Apr 05 11:33:59:348] [photoshop7] ~~~~~~~ End Sub ~~~~~~~ Sub_check_exitcode
[6] [Apr 05 11:33:59:348] [photoshop7]
[5] [Apr 05 11:33:59:351] [photoshop7] comment: Copy files
[4] [Apr 05 11:33:59:352] [photoshop7] Warning: The section "Files_install" (called in line 61 of the calling section) does not exist or is empty
[5] [Apr 05 11:33:59:366] [photoshop7]
[4] [Apr 05 11:33:59:366] [photoshop7] Warning: Section "Files_install" does not exist or is empty
[5] [Apr 05 11:33:59:366] [photoshop7] comment: Patch Registry
[4] [Apr 05 11:33:59:367] [photoshop7] Warning: The section "Registry_install" (called in line 64 of the calling section) does not exist or is empty
[5] [Apr 05 11:33:59:373] [photoshop7]
[4] [Apr 05 11:33:59:373] [photoshop7] Warning: Section "Registry_install" does not exist or is empty
[5] [Apr 05 11:33:59:373] [photoshop7] comment: Create shortcuts
[4] [Apr 05 11:33:59:375] [photoshop7] Warning: The section "LinkFolder_install" (called in line 67 of the calling section) does not exist or is empty
[5] [Apr 05 11:33:59:376] [photoshop7]
[4] [Apr 05 11:33:59:376] [photoshop7] Warning: Section "LinkFolder_install" does not exist or is empty
[6] [Apr 05 11:33:59:376] [photoshop7] EndIf
[1] [Apr 05 11:33:59:377] [photoshop7] ___________________
[1] [Apr 05 11:33:59:377] [photoshop7] script finished
[1] [Apr 05 11:33:59:377] [photoshop7] 0 errors
[1] [Apr 05 11:33:59:377] [photoshop7] 3 warnings
[1] [Apr 05 11:33:59:377] [photoshop7]
[1] [Apr 05 11:33:59:377] [photoshop7] installed product: photoshop7 Version: 7.0-4
[1] [Apr 05 11:33:59:393] [photoshop7]
[6] [Apr 05 11:33:59:394] [photoshop7] JSON service request https://10.10.0.253:4447/rpc setProductActionRequest
[6] [Apr 05 11:34:00:164] [photoshop7] JSON Bench for setProductActionRequest "params":["photoshop7","test.test.de","update Start: 11:33:59:393 Time: 00:00:00:771
[1] [Apr 05 11:34:00:240] [photoshop7] product photoshop7 set to update
[1] [Apr 05 11:34:00:240] [photoshop7] Update script name:
[1] [Apr 05 11:34:00:240] [photoshop7] we have no update script
[6] [Apr 05 11:34:00:240] [photoshop7] JSON service request https://10.10.0.253:4447/rpc productOnClient_updateObject
[6] [Apr 05 11:34:00:357] [photoshop7] JSON Bench for productOnClient_updateObject "params":[{"clientId":"test.test.de","actionR Start: 11:34:00:240 Time: 00:00:00:117
[6] [Apr 05 11:34:00:428] Registry key [HKLM\SOFTWARE\opsi.org\winst] opened
[6] [Apr 05 11:34:00:428] Variable "RebootRequested" is keeping its value "0"
[6] [Apr 05 11:34:00:428] Variable "LastLogFilename" is keeping its value "c:\opsi.org\log\opsi-script.log"
[6] [Apr 05 11:34:00:428] Variable "ContinueLogFile" is keeping its value "0"
[6] [Apr 05 11:34:00:428] Variable "NumberOfErrors" is keeping its value "0"
[6] [Apr 05 11:34:00:453] Key flushed
[6] [Apr 05 11:34:00:453] Key closed
[5] [Apr 05 11:34:00:456] -------- submitted part of log file ends here, see the rest of log file on client ----------
Re: Programminstallation tut nicht
Verfasst: 05 Apr 2016, 15:58
von panisch
Code: Alles auswählen
[4] [Apr 05 11:33:59:352] [photoshop7] Warning: The section "Files_install" (called in line 61 of the calling section) does not exist or is empty
[5] [Apr 05 11:33:59:366] [photoshop7]
[4] [Apr 05 11:33:59:366] [photoshop7] Warning: Section "Files_install" does not exist or is empty
[5] [Apr 05 11:33:59:366] [photoshop7] comment: Patch Registry
[4] [Apr 05 11:33:59:367] [photoshop7] Warning: The section "Registry_install" (called in line 64 of the calling section) does not exist or is empty
[5] [Apr 05 11:33:59:373] [photoshop7]
[4] [Apr 05 11:33:59:373] [photoshop7] Warning: Section "Registry_install" does not exist or is empty
[5] [Apr 05 11:33:59:373] [photoshop7] comment: Create shortcuts
[4] [Apr 05 11:33:59:375] [photoshop7] Warning: The section "LinkFolder_install" (called in line 67 of the calling section) does not exist or is empty
[5] [Apr 05 11:33:59:376] [photoshop7]
[4] [Apr 05 11:33:59:376] [photoshop7] Warning: Section "LinkFolder_install" does not exist or is empty
schau mal in deinem Skript ob die oben genannten Sektionen richtig benannt sind..
An und für sich scheint die eigentliche Installation ja durch zu laufen, aber deine Nachbearbeitung scheint dann deswegen nichts zu tun?
Re: Programminstallation tut nicht
Verfasst: 05 Apr 2016, 17:56
von uncle_scrooge
Spannend(er) wäre mal das Log des eigentlichen Installers. Da sollte man sehen können, worüber er stolpert.
(Wenn ich mich recht erinnere, ist das InstallShield. Und je nachdem, welche Version Adobe da genutzt hat, kann es durchaus sein, daß eine Installation von einem Netzlaufwerk nicht gerne gesehen ist. Merke: Adobe+Installer=Immerwiedergrundzurfreude. Die Vögel werden nur noch von der IBM übertroffen.)
Re: Programminstallation tut nicht
Verfasst: 05 Apr 2016, 20:09
von rat
@Panisch:
Das sind Sektionen aus dem Beispielscript, wo nix drinnensteht.

Ich habe sie (noch) nicht auskommentiert, weil es (noch) kein Problem damit gab.
uncle_scrooge hat geschrieben:.... daß eine Installation von einem Netzlaufwerk nicht gerne gesehen ist. ....
Ok, nächster Versuch wird die Installationsdateien nach C:\temp\ kopieren -> setup -> Installationsdateien löschen (weil in der abpcy.ini die Seriennummer drinnensteht, die ich eigentlich nicht weitergeben will

) sein.