ich versuche ein msi-Paket auszurollen aber es landet letztendlich nicht auf dem Test-Client. Ich stelle es im OPSI-configuration-editor auf >>setup<< und boote. Dann auch läuft alles wunderbar durch, ich kriege als Rückmeldung >>success<< und >>installed<< aber auf dem Client ist die Software dann nicht installiert. In den Logs kann ich keine Fehler finden und die Simulation des der Skripte mittels winst32 bringt auch keine Fehler.
Ich vermute aber trotzdem, dass der Fehler in der setup.ins liegt und daher hänge ich Sie mal an.
Code: Alles auswählen
[Actions]
requiredWinstVersion >= "4.10.8.6"
DefVar $MsiId$
DefVar $UninstallProgram$
DefVar $LogDir$
DefVar $ProductId$
DefVar $MinimumSpace$
DefVar $InstallDir$
DefVar $InstallProg$
DefVar $ExitCode$
DefVar $UninstCMD$
DefVar $InstCMD$
DefVar $DisplayName$
DefVar $ProductName$
Set $LogDir$ = "%SystemDrive%\tmp"
; ----------------------------------------------------------------
; - Please edit the following values -
; ----------------------------------------------------------------
;$ProductId$ should be the name of the product in opsi
; therefore please: only lower letters, no umlauts,
; no white space use '-' as a seperator
Message "Installiere softwarexyz ..."
;ShowBitmap "%ScriptPath%\GenericApp.png" "softwarexyz"
Set $ProductId$ = "softwarexyz"
Set $ProductName$ = "softwarexyz"
Set $MinimumSpace$ = "60 MB"
Set $InstallDir$ = "%ProgramFiles32Dir%\softwarexyz"
Set $InstallProg$ = "softwarexyz.msi"
Set $UninstallProgram$ = "softwarexyz.msi"
Set $UninstCMD$ = " /gb-! REBOOT=REALLYSUPPRES"
Set $InstCMD$ = " /gb-! REBOOT=REALLYSUPPRES"
Set $MsiId$ = "{xyz-xyz-xyz-xyz-xyz}"
; ----------------------------------------------------------------
;if not(HasMinimumSpace ("%SystemDrive%", $MinimumSpace$))
; LogError "Not enough space on %SystemDrive%, " + $MinimumSpace$ + " on drive %SystemDrive% needed for " + $ProductId$
; isFatalError
; ; Stop process and set installation status to failed
;else
; if FileExists("%ScriptPath%\delsub.ins")
; comment "Start uninstall sub section"
; Sub "%ScriptPath%\delsub.ins"
; endif
; Message "Installing " + $ProductName$
; Winbatch_install
; sub %scriptpath%\check_exitcode\check_msi-exitcode.ins
;endif
[Winbatch_install]
msiexec /qb! "%ScriptPath%\softwarexyz.msi" ALLUSERS=1 REBOOT=ReallySuppress
Grüße,
luckyman