I copied the script template from var/lib/opsi and tried to create a thunderbird package. I deleted a lot of the lines from the template. I just want to install the program at the moment.
The steps I take are:
1- run new-opsiprod, choose defaults values and on the setup script line I type: setup.ins
2- then copy the setup.ins file and thunderbird executable in the CLIENT_DATA directory.
Code: Alles auswählen
[root@opsi CLIENT_DATA]# ls
setup.ins thunderbird-45-8-0.exe
[root@opsi CLIENT_DATA]# ll
-rw-r-----. 1 root pcpatch 1247 Apr 10 12:00 setup.ins
-rwxr-xr-x. 1 root pcpatch 34902608 Apr 7 16:36 thunderbird-45-8-0.exe
4- then opsi-package-manager -i thunderbird.opsi and I can see thunderbird.opsi in my product configuration tab.
5- I hit "Execute now" (on demand) and I can see the opsi agent starting.
When the agents starts I can see the following:
Processing event on_demand
Connecting to config server
no product action request set
My setup.ins looks like this:
Code: Alles auswählen
[Actions]
requiredWinstVersion >= "4.11.4.6"
ScriptErrorMessages=off
DefVar $MsiId$
DefVar $UninstallProgram$
DefVar $LogDir$
DefVar $ProductId$
DefVar $MinimumSpace$
DefVar $InstallDir$
DefVar $ExitCode$
DefVar $LicenseRequired$
DefVar $LicenseKey$
DefVar $LicensePool$
DefVar $myProperty$
Set $LogDir$ = "%opsiLogDir%"
; ----------------------------------------------------------------
; - 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
Set $ProductId$ = "thunderbird"
Set $MinimumSpace$ = "200 MB"
; InstallPath
Set $InstallDir$ = "%ProgramFiles32Dir%\Mozilla Thunderbird"
Set $LicenseRequired$ = "false"
Set $LicensePool$ = "p_" + $ProductId$
; ----------------------------------------------------------------
[Winbatch_install]
"%ScriptPath%\thunderbird-45-8-0.exe" /S
Could someone please help me?
I went through the log file line by line but I don't see anything wrong. The only line that makes me wonder is: no product action request set but isn't it the action set to install thunderbird in my setup.ins by the last 2 lines?