Nachdem ich die benötigten Zertifikate per GPO in der Domäne verteilt habe, startet die der Download der Dateien automatisch.
Danach müsste die Anwendung starten - was sie auch tut - nur leider kommt die Meldung, dass nicht gestartet werden kann. Es liegt daran, dass der Download der setup.exe die Dateien nach C:\Windows\system32\config\systemprofile\AppData ablegt - ich aber die Dateien unter dem Benutzer-AppData benötige
Hier der Auszug aus der "userlogin.ins"
Code: Alles auswählen
[ProfileActions]
requiredWinstVersion >= "4.11.2.6"
DefVar $LogDir$
DefVar $ExitCode$
DefVar $INST_SystemType$
DefVar $INST_architecture$
; Diese Variabeln werden später zur Installation überschrieben und ausgeführt
DefVar $InstallDir$
DefVar $ProgExe$
Set $INST_SystemType$ = GetSystemType
set $INST_architecture$ = GetProductProperty("install_architecture","system specific")
Set $LogDir$ = "%SystemDrive%\tmp"
DefVar $Install32Exec$
Set $Install32Exec$ = "%ScriptPath%\X86\Cloud_Setup.exe"
DefVar $Install64Exec$
Set $Install64Exec$ = "%ScriptPath%\X86\Cloud_Setup.exe"
comment "check for profile modifications"
comment $INST_SystemType$
if not (scriptWasExecutedBefore)
comment "found profile modifications"
if ($INST_SystemType$ = "32 Bit System")
comment "Profilemodifications 32-bit"
Winbatch_install_profile_32
;Files_profile_copy
;Registry_currentuser_set
;Patches_profile_ini "%userprofiledir%\opsi-winst-test.ini"
endif
if ($INST_SystemType$ = "64 Bit System")
comment "Profilemodifications 64-bit"
Winbatch_install_profile_64
;Files_profile_copy
;Registry_currentuser_set
;Patches_profile_ini "%userprofiledir%\opsi-winst-test.ini"
endif
endif
[Winbatch_install_profile_32]
comment $Install32Exec$
$Install32Exec$
[Winbatch_install_profile_64]
comment $Install64Exec$
$Install64Exec$