ich habe eine MSI Datei von dem Screenshot-Programm Screenpresso. Außerdem habe ich eine .lic-Datei, die nach der Installation in das %programfiles% Verzeichnis kopiert werden soll.
Ich hab die MSI mit dem OPSI Setup Detector gescannt und ein Install Pakat erstellt.
Wenn ich nun versuche die Lizenzdatei nach dem Installieren der MSI zu kopieren, bekomme ich einen Fehler.
Hier mein Install-Skript:
Code: Alles auswählen
; ----------------------------------------------------------------
; install section
; ----------------------------------------------------------------
[Winbatch_install_msi]
msiexec /i "%ScriptPath%\ScreenpressoSetup.msi" /l* "$LogDir$\$ProductId$.install_log.txt" /qb-! ALLUSERS=1 REBOOT=ReallySuppress
copy -s "%ScriptPath%\data\*" "%programfiles%\Learnpulse\Screenpresso"
; ----------------------------------------------------------------
Kann mir jemand sagen, was ich falsch mache?(405) [3] [Feb 18 15:38:43:246] [screenpresso] Exception in StartProcess_cp: Failed to execute copy -s "p:\screenpresso\data\*" "%programfiles%\Learnpulse\Screenpresso" : 2
(409) [5] [Feb 18 15:38:43:266] [screenpresso] comment: get the exit code
(414) [5] [Feb 18 15:38:43:267] [screenpresso] comment: check the exit code
(431) [5] [Feb 18 15:38:43:268] [screenpresso] comment: critical Exitcodes
(667) [3] [Feb 18 15:38:43:280] [screenpresso] Error: Unknown Installer Error: Exitcode = -1
(668) [2] [Feb 18 15:38:43:280] [screenpresso] Error level set to fatal