New MSI Based Texmaker viewer package
This commit is contained in:
@@ -26,9 +26,9 @@ Set $LogDir$ = "%SystemDrive%\tmp"
|
||||
; therefore please: only lower letters, no umlauts,
|
||||
; no white space use '-' as a seperator
|
||||
Set $ProductId$ = "tmviewer"
|
||||
Set $MinimumSpace$ = "150 MB"
|
||||
Set $MinimumSpace$ = "30 MB"
|
||||
; the path were we find the product after the installation
|
||||
Set $InstallDir$ = "%ProgramFiles32Dir%\SoftMaker Viewer\TextMaker\"
|
||||
Set $InstallDir$ = "%ProgramFiles32Dir%\SoftMaker Viewer\TextMaker"
|
||||
Set $LicenseRequired$ = "false"
|
||||
Set $LicensePool$ = "p_" + $ProductId$
|
||||
; ----------------------------------------------------------------
|
||||
@@ -60,6 +60,10 @@ else
|
||||
comment "Copy files"
|
||||
Files_install /32Bit
|
||||
|
||||
comment "Patching Config Files"
|
||||
Patches_install "$InstallDir$" + "\SoftMaker\Settings\tmv10config.ini"
|
||||
|
||||
|
||||
comment "Patch Registry"
|
||||
Registry_install /32Bit
|
||||
|
||||
@@ -83,14 +87,17 @@ 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 EULA_ACCEPT=YES
|
||||
msiexec /i "%ScriptPath%\X86FILE" /l* "$LogDir$\$ProductId$.install_log.txt" /qb! ALLUSERS=2 REBOOT=ReallySuppress
|
||||
;
|
||||
"%ScriptPath%\associate.cmd"
|
||||
|
||||
[Files_install]
|
||||
; Example of recursively copying some files into the installation directory:
|
||||
;
|
||||
copy -s "%ScriptPath%\files\*.*" "$InstallDir$"
|
||||
; copy -s "%ScriptPath%\files\*.*" "$InstallDir$"
|
||||
|
||||
[Patches_install]
|
||||
set [Ignore] OEMRegisterSkip=-1
|
||||
|
||||
|
||||
[Registry_install]
|
||||
; Example of setting some values of an registry key:
|
||||
@@ -108,17 +115,17 @@ copy -s "%ScriptPath%\files\*.*" "$InstallDir$"
|
||||
;
|
||||
; Example of creating an shortcut to the installed exe in AllUsers startmenu:
|
||||
;
|
||||
set_basefolder common_programs
|
||||
set_subfolder SoftMaker
|
||||
|
||||
set_link
|
||||
name: TextMaker Viewer
|
||||
target: "$InstallDir$\TMViewer.exe"
|
||||
parameters:
|
||||
working_dir: $InstallDir$
|
||||
icon_file: "$InstallDir$\TMViewer.exe"
|
||||
icon_index: 1
|
||||
end_link
|
||||
; set_basefolder common_programs
|
||||
; set_subfolder $ProductId$
|
||||
;
|
||||
; set_link
|
||||
; name: $ProductId$
|
||||
; target: <path to the program>
|
||||
; parameters:
|
||||
; working_dir: $InstallDir$
|
||||
; icon_file:
|
||||
; icon_index:
|
||||
; end_link
|
||||
;
|
||||
; Example of creating an shortcut to the installed exe on AllUsers desktop:
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user