change install way
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$ = "pmviewer"
|
||||
Set $MinimumSpace$ = "20 MB"
|
||||
Set $MinimumSpace$ = "150 MB"
|
||||
; the path were we find the product after the installation
|
||||
Set $InstallDir$ = "%ProgramFiles32Dir%\PlanMaker Viewer"
|
||||
Set $InstallDir$ = "%ProgramFiles32Dir%\SoftMaker Viewer\PlanMaker\"
|
||||
Set $LicenseRequired$ = "false"
|
||||
Set $LicensePool$ = "p_" + $ProductId$
|
||||
; ----------------------------------------------------------------
|
||||
@@ -81,12 +81,15 @@ endif
|
||||
; Choose one of the following examples as basis for your installation
|
||||
; You can use $LicenseKey$ var to pass a license key to the installer
|
||||
;
|
||||
"%ScriptPath%\autoit_X86FILE"
|
||||
; === 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
|
||||
;
|
||||
|
||||
[Files_install]
|
||||
; Example of recursively copying some files into the installation directory:
|
||||
;
|
||||
; copy -s "%ScriptPath%\files\*.*" "$InstallDir$"
|
||||
copy -s "%ScriptPath%\files\*.*" "$InstallDir$"
|
||||
|
||||
[Registry_install]
|
||||
; Example of setting some values of an registry key:
|
||||
@@ -95,6 +98,7 @@ endif
|
||||
; set "name1" = "some string value"
|
||||
; set "name2" = REG_DWORD:0001
|
||||
; set "name3" = REG_BINARY:00 af 99 cd
|
||||
"%ScriptPath%\associate.cmd"
|
||||
|
||||
[LinkFolder_install]
|
||||
; Example of deleting a folder from AllUsers startmenu:
|
||||
@@ -104,17 +108,17 @@ endif
|
||||
;
|
||||
; Example of creating an shortcut to the installed exe in AllUsers startmenu:
|
||||
;
|
||||
; 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
|
||||
set_basefolder common_programs
|
||||
set_subfolder SoftMaker
|
||||
|
||||
set_link
|
||||
name: PlanMaker Viewer
|
||||
target: "$InstallDir$\PMViewer.exe"
|
||||
parameters:
|
||||
working_dir: $InstallDir$
|
||||
icon_file: "$InstallDir$\PMViewer.exe"
|
||||
icon_index: 1
|
||||
end_link
|
||||
;
|
||||
; Example of creating an shortcut to the installed exe on AllUsers desktop:
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user