Ich hab hier ein Inno-Setup, das sich via OPSI gar nicht installieren lässt, weil dort in der uninstall-Sektion auf den userstartup-Ordner referenziert wird, den es offenbar im Systemkontext nicht gibt.
Hatte jemand sowas schon mal - was könnte man da tun?
Danke
Hier das Log vom Inno-Setup:
Code: Alles auswählen
2021-11-11 14:30:41.369 Starting the installation process.
2021-11-11 14:30:41.376 Warning: SHGetFolderPath failed with code 0x80070002 on folder 0x8007
2021-11-11 14:30:41.376 Fatal exception during installation process (Exception):
Interner Fehler: Failed to expand shell folder constant "userstartup"
2021-11-11 14:30:41.376 Exception message:
2021-11-11 14:30:41.376 Defaulting to OK for suppressed message box (OK):
Interner Fehler: Failed to expand shell folder constant "userstartup"
2021-11-11 14:30:41.376 Defaulting to OK for suppressed message box (OK):
Das Setup konnte nicht abgeschlossen werden.
Beheben Sie bitte das Problem, und starten Sie das Setup erneut.
2021-11-11 14:30:41.376 Rolling back changes.
Code: Alles auswählen
[InstallDelete]
Type: files; Name: "{userdesktop}\application.lnk";
Type: files; Name: "{userstartup}\application.lnk";