Modified tmviewer for new opsi-builder
This commit is contained in:
@@ -19,13 +19,16 @@ DefVar $LicensePool$
|
||||
|
||||
Set $LogDir$ = "%SystemDrive%\tmp"
|
||||
|
||||
; Token BUILDER_VARIABLES will be replaced by opsi-builder.sh
|
||||
@@BUILDER_VARIABLES@@
|
||||
|
||||
; ----------------------------------------------------------------
|
||||
; - 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$ = "tmviewer"
|
||||
Set $ProductId$ = $PN$
|
||||
Set $MinimumSpace$ = "30 MB"
|
||||
; the path were we find the product after the installation
|
||||
Set $InstallDir$ = "%ProgramFiles32Dir%\SoftMaker Viewer\TextMaker"
|
||||
@@ -39,7 +42,7 @@ if not(HasMinimumSpace ("%SystemDrive%", $MinimumSpace$))
|
||||
; Stop process and set installation status to failed
|
||||
else
|
||||
comment "Show product picture"
|
||||
ShowBitmap "%ScriptPath%\" + $ProductId$ + ".png" $ProductId$
|
||||
ShowBitmap "" + $IconFile$ $ProductId$
|
||||
|
||||
if FileExists("%ScriptPath%\delsub32.ins")
|
||||
comment "Start uninstall sub section"
|
||||
@@ -87,7 +90,7 @@ endif
|
||||
;
|
||||
; === MSI package =======================================================================================
|
||||
; You may use the parameter PIDKEY=$Licensekey$
|
||||
msiexec /i "%ScriptPath%\X86FILE" /l* "$LogDir$\$ProductId$.install_log.txt" /qb! ALLUSERS=2 REBOOT=ReallySuppress
|
||||
msiexec /i "$InstallMsi$" /l* "$LogDir$\$ProductId$.install_log.txt" /qb! ALLUSERS=2 REBOOT=ReallySuppress
|
||||
;
|
||||
|
||||
[Files_install]
|
||||
|
||||
@@ -17,10 +17,13 @@ DefVar $LicensePool$
|
||||
|
||||
Set $LogDir$ = "%SystemDrive%\tmp"
|
||||
|
||||
; Token BUILDER_VARIABLES will be replaced by opsi-builder.sh
|
||||
@@BUILDER_VARIABLES@@
|
||||
|
||||
; ----------------------------------------------------------------
|
||||
; - Please edit the following values -
|
||||
; ----------------------------------------------------------------
|
||||
Set $ProductId$ = "tmviewer"
|
||||
Set $ProductId$ = $PN$
|
||||
Set $InstallDir$ = "%ProgramFiles32Dir%\SoftMaker Viewer\TextMaker"
|
||||
Set $LicenseRequired$ = "false"
|
||||
Set $LicensePool$ = "p_" + $ProductId$
|
||||
@@ -28,7 +31,7 @@ Set $LicensePool$ = "p_" + $ProductId$
|
||||
|
||||
|
||||
comment "Show product picture"
|
||||
ShowBitmap "%ScriptPath%\" + $ProductId$ + ".png" $ProductId$
|
||||
ShowBitmap $IconFile$ $ProductId$
|
||||
|
||||
Message "Uninstalling " + $ProductId$ + " ..."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user