Kopieren von Dateien erfolgreich, jedoch Fehler in Log

Antworten
fried
Beiträge: 4
Registriert: 18 Apr 2024, 08:35

Kopieren von Dateien erfolgreich, jedoch Fehler in Log

Beitrag von fried »

Ich kopiere mittels Files-Section Dateien. Hierfür erhalte ich eine Fehlermeldung im Log. Jedoch sind die Dateien korrekt übertragen und angelegt worden. Was übersehe ich? Kann ich hier etwas optimieren, damit die Meldung nur kommt, wenn wirklich etwas nicht ging?

Fehlermeldung:

Code: Alles auswählen

(1073)    [7] [2025-06-20 12:35:16.818] [abas__fix-minor-issues] Source c:\opsi.org\tmp\abas\abas_source\libGLESv2.dll
(1074)    [3] [2025-06-20 12:35:16.821] [abas__fix-minor-issues] Error: copy of c:\opsi.org\tmp\abas\abas_source\libGLESv2.dll to C:\Program Files\abas\erp\libGLESv2.dll not possible. File Err. No. 5 (Zugriff verweigert) Errorcode 5 ("Zugriff verweigert<")
(1075)    [7] [2025-06-20 12:35:16.821] [abas__fix-minor-issues] Access Rights (file) modified and granted to :SYSTEM
(1076)    [7] [2025-06-20 12:35:16.829] [abas__fix-minor-issues] Access Rights (dir) modified and granted to :SYSTEM
(1077)    [6] [2025-06-20 12:35:16.829] [abas__fix-minor-issues] Info: Readonly attribute of file "C:\Program Files\abas\erp\libGLESv2.dll" eliminated

Meine Sections
:

Code: Alles auswählen

[Winbatch_extract_abas_sources]
	"%ProgramFiles64Dir%\7-Zip\7z.exe" x "%ScriptPath%\files\abasgui-mini.tgz" -o"%opsiTmpDir%\abas" -aoa
	"%ProgramFiles64Dir%\7-Zip\7z.exe" x "%opsiTmpDir%\abas\abasgui-mini.tar" -o"%opsiTmpDir%\abas\abas_sources" -aoa

Code: Alles auswählen

[Files_create_tenant_folder]
	CheckTargetPath = "$InstallDir$\$temp_key$"
	copy -s "%opsiTmpDir%\abas\abas_sources\" "$InstallDir$\$temp_key$"
	copy "%ScriptPath%\files\$temp_key$\abasgui.ini" "$InstallDir$\$temp_key$"

	CheckTargetPath = "$InstallDir$\$temp_key$\ovw"
	copy "%ScriptPath%\files\$temp_key$\gui_logo.bmp" "$InstallDir$\$temp_key$\ovw"
Antworten