Correct install dir
This commit is contained in:
parent
1bbc829d59
commit
a523e2528d
@ -36,9 +36,9 @@ Set $LogDir$ = "%SystemDrive%\tmp"
|
|||||||
;$ProductId$ should be the name of the product in opsi
|
;$ProductId$ should be the name of the product in opsi
|
||||||
; therefore please: only lower letters, no umlauts,
|
; therefore please: only lower letters, no umlauts,
|
||||||
; no white space use '-' as a seperator
|
; no white space use '-' as a seperator
|
||||||
Set $MinimumSpace$ = "1 MB"
|
Set $MinimumSpace$ = "20 MB"
|
||||||
; the path were we find the product after the installation
|
; the path were we find the product after the installation
|
||||||
Set $InstallDir$ = "%ProgramFiles32Dir%\<path to the product>"
|
Set $InstallDir$ = "%ProgramFiles32Dir%\OpenVPN Technologies\OpenVPN Client"
|
||||||
; ----------------------------------------------------------------
|
; ----------------------------------------------------------------
|
||||||
|
|
||||||
Set $IniCfgFile$ = "%ScriptPath%\opsi-" + $ProductId$ + ".ini"
|
Set $IniCfgFile$ = "%ScriptPath%\opsi-" + $ProductId$ + ".ini"
|
||||||
@ -75,31 +75,7 @@ else
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
[Winbatch_install]
|
[Winbatch_install]
|
||||||
; Choose one of the following examples as basis for your installation
|
msiexec /i "$InstallMsi$" /l* "$LogDir$\$ProductId$.install_log.txt" /qb! ALLUSERS=1 REBOOT=ReallySuppress
|
||||||
; You can use $LicenseKey$ var to pass a license key to the installer
|
|
||||||
;
|
|
||||||
; === Nullsoft Scriptable Install System ================================================================
|
|
||||||
; "%ScriptPath%\Setup.exe" /S
|
|
||||||
;
|
|
||||||
; === MSI package =======================================================================================
|
|
||||||
; You may use the parameter PIDKEY=$Licensekey$
|
|
||||||
; msiexec /i "%ScriptPath%\some.msi" /l* "$LogDir$\$ProductId$.install_log.txt" /qb! ALLUSERS=1 REBOOT=ReallySuppress
|
|
||||||
;
|
|
||||||
; === InstallShield + MSI=====================================================================================
|
|
||||||
; Attention: The path to the log file should not contain any whitespaces
|
|
||||||
; "%ScriptPath%\setup.exe" /s /v" /l* $LogDir$\$ProductId$.install_log.txt /qb! ALLUSERS=1 REBOOT=ReallySuppress"
|
|
||||||
; "%ScriptPath%\setup.exe" /s /v" /qb! ALLUSERS=2 REBOOT=ReallySuppress"
|
|
||||||
;
|
|
||||||
; === InstallShield =====================================================================================
|
|
||||||
; Create setup.iss answer file by running: setup.exe /r /f1"c:\setup.iss"
|
|
||||||
; You may use an answer file by the parameter /f1"c:\setup.iss"
|
|
||||||
; "%ScriptPath%\setup.exe" /s /sms /f2"$LogDir$\$ProductId$.install_log.txt"
|
|
||||||
;
|
|
||||||
; === Inno Setup ========================================================================================
|
|
||||||
; http://unattended.sourceforge.net/InnoSetup_Switches_ExitCodes.html
|
|
||||||
; You may create setup answer file by: setup.exe /SAVEINF="filename"
|
|
||||||
; You may use an answer file by the parameter /LOADINF="filename"
|
|
||||||
; "%ScriptPath%\setup.exe" /sp- /silent /norestart /nocancel /SUPPRESSMSGBOXES
|
|
||||||
|
|
||||||
[Files_install]
|
[Files_install]
|
||||||
; copy the ini file to the InstallDir
|
; copy the ini file to the InstallDir
|
||||||
|
@ -32,7 +32,7 @@ Set $LogDir$ = "%SystemDrive%\tmp"
|
|||||||
; ----------------------------------------------------------------
|
; ----------------------------------------------------------------
|
||||||
; - Please edit the following values -
|
; - Please edit the following values -
|
||||||
; ----------------------------------------------------------------
|
; ----------------------------------------------------------------
|
||||||
Set $InstallDir$ = "%ProgramFiles32Dir%\<path to the product>"
|
Set $InstallDir$ = "%ProgramFiles32Dir%\OpenVPN Technologies\OpenVPN Client"
|
||||||
; ----------------------------------------------------------------
|
; ----------------------------------------------------------------
|
||||||
|
|
||||||
Set $IniCfgFile$ = "%ScriptPath%\opsi-" + $ProductId$ + ".ini"
|
Set $IniCfgFile$ = "%ScriptPath%\opsi-" + $ProductId$ + ".ini"
|
||||||
|
Loading…
Reference in New Issue
Block a user