PS: OPSI-Setup-Detector 4.0.4 erkennt bei dieser EXE auch nicht, dass der NSIS-Installer verwendet wird.
Code: Alles auswählen
[Jul 31 15:10:15:826] [mendeley-desktop] Call "C:\tmp\Mendeley-Desktop-1.11-win32.exe /S /D="C:\Program Files (x86)\Mendeley Desktop""
[6] [Jul 31 15:10:15:826] [mendeley-desktop] Waiting until the called process is finished
[6] [Jul 31 15:10:15:827] [mendeley-desktop] Start process as invoker: SYSTEM
[6] [Jul 31 15:10:20:007] [mendeley-desktop] ExitCode 1223 Executed process "C:\tmp\Mendeley-Desktop-1.11-win32.exe /S /D="C:\Program Files (x86)\Mendeley Desktop""
Der relevante Teil der setup.ins (angepasste Vorlage opsi-paketbuilder)
Code: Alles auswählen
if ($SetupType$ = "nsis")
; Set $NsisInstallBatch$ = "%ScriptPath%\" + $Setupfile$ + " /S"
Set $NsisInstallBatch$ = $LogDir$ + "\" + $Setupfile$ + " /S"
if not ($InstallDir$ = '')
Set $NsisInstallBatch$ = $NsisInstallBatch$ + ' /D="' + $InstallDir$ + '"'
endif
endif
comment "Start setup program"
ChangeDirectory "%SCRIPTPATH%"
;----------------------------------------------
Files_copy
Winbatch_install_nsis
Sub_check_exitcode
endif
; ----------------------------------------------------------------
; install sections
; ----------------------------------------------------------------
[Files_copy]
copy "$Setupfile$" "$LogDir$"
[Winbatch_install_nsis]
;NSIS Nullsoft Scriptable Install System
$NsisInstallBatch$
(nach UAC: kommen wechselnde Werte....)
Hat jemand eine Idee oder Tipps hierzu?