Kann ich mit meiner Version leider nicht bestätigen...Grundsätztlich funktioniert die Winexe nämlich auch mit Windows 10.
![Confused :?](./images/smilies/icon_e_confused.gif)
Kann ich mit meiner Version leider nicht bestätigen...Grundsätztlich funktioniert die Winexe nämlich auch mit Windows 10.
Schon mal ins Log geschaut? Ist zu finden unter c:\opsi.org\log\opsi-client-agent.log und sollte mehr Infos bringen. Dass sich das Fenster direkt schließt lässt auf einen Bug hindeuten.rbroda hat geschrieben:Auch wenn ich vom Windows 10 !709 Rechner die service_setup.cmd ausführe, bekomme ich die Installation nicht hin...
Ich bekomme die Fehlermeldung:
"Error: Copy of file are failed - Did you run this script with elevated rights 'as administrator' - aborting.
Reading to continue?"
Und wenn ich die Datei mit "Als Administrator" ausführe, poppt kurz das CMD Fenster auf und schließt sich direkt und die Installation läuft nicht...
Das kann doch nicht sein, dass man den Agent nicht verteilen kann...
Ist auch eine Möglichkeit.rbroda hat geschrieben:Kann man irgendwie ein MSI Paket von dem client-agent erstellen und diese dann verteilen? das kann doch nicht so trivial sein..
Code: Alles auswählen
import OPSI
Code: Alles auswählen
[5] [Feb 28 12:44:53:825] Execution of: Files_del_loginblocker_log
[5] [Feb 28 12:44:53:825]
[7] [Feb 28 12:44:53:827] del -fc c:\opsi.org\log\opsi_loginblocker.txt
[8] [Feb 28 12:44:53:827] Remaining before Options: c:\opsi.org\log\opsi_loginblocker.txt
[8] [Feb 28 12:44:53:827] Expressionstr before Options: -fc
[8] [Feb 28 12:44:53:827] Option -f detected:
[8] [Feb 28 12:44:53:827] Option -c detected:
[8] [Feb 28 12:44:53:827] Remaining:
[8] [Feb 28 12:44:53:827] Expressionstr: c:\opsi.org\log\opsi_loginblocker.txt
[8] [Feb 28 12:44:53:827] we try to delete: c:\opsi.org\log\opsi_loginblocker.txt
[8] [Feb 28 12:44:53:827] we try to delete: c:\opsi.org\log\opsi_loginblocker.txt
[6] [Feb 28 12:44:53:827] Notice: File or Directory c:\opsi.org\log\opsi_loginblocker.txt does not exist, nothing deleted
[7] [Feb 28 12:44:53:827] del -fc c:\opsi.org\log\opsiclientd_timeout.txt
[8] [Feb 28 12:44:53:827] Remaining before Options: c:\opsi.org\log\opsiclientd_timeout.txt
[8] [Feb 28 12:44:53:827] Expressionstr before Options: -fc
[8] [Feb 28 12:44:53:827] Option -f detected:
[8] [Feb 28 12:44:53:828] Option -c detected:
[8] [Feb 28 12:44:53:828] Remaining:
[8] [Feb 28 12:44:53:828] Expressionstr: c:\opsi.org\log\opsiclientd_timeout.txt
[8] [Feb 28 12:44:53:828] we try to delete: c:\opsi.org\log\opsiclientd_timeout.txt
[8] [Feb 28 12:44:53:828] we try to delete: c:\opsi.org\log\opsiclientd_timeout.txt
[6] [Feb 28 12:44:53:828] Notice: File or Directory c:\opsi.org\log\opsiclientd_timeout.txt does not exist, nothing deleted
[6] [Feb 28 12:44:53:828] If
[7] [Feb 28 12:44:53:828] $INST_Modus$ = "INSTALL" <<< result true
[6] [Feb 28 12:44:53:828] ($INST_Modus$ = "INSTALL") <<< result true
[6] [Feb 28 12:44:53:828] Then
[5] [Feb 28 12:44:53:830] comment: clean all up
[6] [Feb 28 12:44:53:830] If
[6] [Feb 28 12:44:53:830] Starting query if file exist ...
[6] [Feb 28 12:44:53:831] "C:\Program Files (x86)\opsi.org\opsi-client-agent\":
[6] [Feb 28 12:44:53:831] FileExists($INST_BaseDir$+"\") <<< result false
[6] [Feb 28 12:44:53:831] Then
[6] [Feb 28 12:44:53:831] EndIf
[6] [Feb 28 12:44:53:831] EndIf
[6] [Feb 28 12:44:53:833] Marked error number 10
[5] [Feb 28 12:44:53:844] Execution of: Files_copy_winst
[5] [Feb 28 12:44:53:844]
[7] [Feb 28 12:44:53:847] copy -sc "c:\opsi.org\tmp\opsi\opsi-winst\*.*" "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-winst"
[8] [Feb 28 12:44:53:847] source: c:\opsi.org\tmp\opsi\opsi-winst\*.* - target:
[3] [Feb 28 12:44:53:886] Error: Directory C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-winst does not exist and cannot be created
[7] [Feb 28 12:44:53:886] copy -sVc "c:\opsi.org\tmp\opsi\utilities\*.*" "C:\Program Files (x86)\opsi.org\opsi-client-agent\utilities\"
[8] [Feb 28 12:44:53:886] source: c:\opsi.org\tmp\opsi\utilities\*.* - target: C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-winst
[3] [Feb 28 12:44:53:925] Error: Directory C:\Program Files (x86)\opsi.org\opsi-client-agent\utilities\ does not exist and cannot be created
[7] [Feb 28 12:44:53:925] copy -sc "c:\opsi.org\tmp\opsi\images\*.*" "C:\Program Files (x86)\opsi.org\opsi-client-agent\images\"
[8] [Feb 28 12:44:53:925] source: c:\opsi.org\tmp\opsi\images\*.* - target: C:\Program Files (x86)\opsi.org\opsi-client-agent\utilities\
[3] [Feb 28 12:44:53:966] Error: Directory C:\Program Files (x86)\opsi.org\opsi-client-agent\images\ does not exist and cannot be created
[5] [Feb 28 12:44:53:978] Execution of: Files_copy_uninst
[5] [Feb 28 12:44:53:978]
[7] [Feb 28 12:44:53:979] copy -sVc "c:\opsi.org\tmp\opsi\uninst\*.*" "C:\Program Files (x86)\opsi.org\opsi-client-agent\uninst\"
[8] [Feb 28 12:44:53:979] source: c:\opsi.org\tmp\opsi\uninst\*.* - target:
[3] [Feb 28 12:44:54:018] Error: Directory C:\Program Files (x86)\opsi.org\opsi-client-agent\uninst\ does not exist and cannot be created
[5] [Feb 28 12:44:54:033] Execution of: Files_copy_custom
[5] [Feb 28 12:44:54:033]
[7] [Feb 28 12:44:54:039] copy -sc "c:\opsi.org\tmp\opsi\custom\winstskin\*.*" "C:\Program Files (x86)\opsi.org\opsi-client-agent\custom\winstskin"
[8] [Feb 28 12:44:54:039] source: c:\opsi.org\tmp\opsi\custom\winstskin\*.* - target:
[3] [Feb 28 12:44:54:079] Error: Directory C:\Program Files (x86)\opsi.org\opsi-client-agent\custom\winstskin does not exist and cannot be created
[7] [Feb 28 12:44:54:079] copy -c "c:\opsi.org\tmp\opsi\custom\config.ini" "C:\Program Files (x86)\opsi.org\opsi-client-agent\custom\"
[8] [Feb 28 12:44:54:079] source: c:\opsi.org\tmp\opsi\custom\config.ini - target: C:\Program Files (x86)\opsi.org\opsi-client-agent\custom\winstskin
[3] [Feb 28 12:44:54:120] Error: Directory C:\Program Files (x86)\opsi.org\opsi-client-agent\custom\ does not exist and cannot be created
[7] [Feb 28 12:44:54:120] copy -sc "c:\opsi.org\tmp\opsi\custom\opsiclientkioskskin\*.*" "C:\Program Files (x86)\opsi.org\opsi-client-agent\custom\opsiclientkioskskin"
[8] [Feb 28 12:44:54:120] source: c:\opsi.org\tmp\opsi\custom\opsiclientkioskskin\*.* - target: C:\Program Files (x86)\opsi.org\opsi-client-agent\custom\
[3] [Feb 28 12:44:54:158] Error: Directory C:\Program Files (x86)\opsi.org\opsi-client-agent\custom\opsiclientkioskskin does not exist and cannot be created
[6] [Feb 28 12:44:54:158] If
[8] [Feb 28 12:44:54:158] (TotalErrors: 17 - ErrorMark: 10) > 0 -> -1
[6] [Feb 28 12:44:54:158] errorsOccuredSinceMark > 0 <<< result true
[6] [Feb 28 12:44:54:158] Then
[5] [Feb 28 12:44:54:161] comment: copy failed - let us abort
[3] [Feb 28 12:44:54:164] Error: Copy of files are failed -exiting
[6] [Feb 28 12:44:54:164] If
[6] [Feb 28 12:44:54:164] $INST_SubModus$="CREATE_CLIENT" <<< result true
[6] [Feb 28 12:44:54:164] Then
[6] [Feb 28 12:44:55:071] EndIf
[2] [Feb 28 12:44:55:076] Error level set to fatal
[6] [Feb 28 12:44:55:077] Process aborted
[6] [Feb 28 12:44:55:077]
[6] [Feb 28 12:44:55:077] ~~~~~~~ End Sub ~~~~~~~ sub_copy_files
[6] [Feb 28 12:44:55:077]
[6] [Feb 28 12:44:55:077] Process aborted
[1] [Feb 28 12:44:55:077] ___________________
[1] [Feb 28 12:44:55:077] script finished: failed
[1] [Feb 28 12:44:55:077] 18 errors
[1] [Feb 28 12:44:55:077] 6 warnings
[1] [Feb 28 12:44:55:077]
[1] [Feb 28 12:44:55:077]
[8] [Feb 28 12:44:55:077] Temp cmd files deleted, next: free script
[8] [Feb 28 12:44:55:077] End of CreateAndProcessScript
[1] [Feb 28 12:44:55:078] ============ opsi-script Version 4.12.0.11 is regularly exiting. Time 2018-02-28 12:44:55 .