switch to zip and manual install
This commit is contained in:
@@ -19,13 +19,13 @@ if FileExists($IniFile$)
|
||||
Set $UninstallProgramOld$ = $InstallDir$ + "\" + $UninstallProg$
|
||||
if FileExists($UninstallProgramOld$)
|
||||
comment "Uninstall program found, starting uninstall"
|
||||
Winbatch_uninstall_old /WaitforProcessending "Au_.exe" /Timeoutseconds 10
|
||||
Winbatch_uninstall_old
|
||||
sub_check_exitcode
|
||||
endif
|
||||
endif
|
||||
if FileExists($UninstallProgram$)
|
||||
comment "Uninstall program found, starting uninstall"
|
||||
Winbatch_uninstall /WaitforProcessending "Au_.exe" /Timeoutseconds 10
|
||||
Winbatch_uninstall
|
||||
sub_check_exitcode
|
||||
endif
|
||||
|
||||
@@ -40,11 +40,11 @@ LinkFolder_uninstall
|
||||
|
||||
[Winbatch_uninstall_old]
|
||||
"$InstallDir$\openvpnmanager.exe" -uninstall
|
||||
"$UninstallProgramOld$" /S
|
||||
;"$UninstallProgramOld$" /S
|
||||
|
||||
[Winbatch_uninstall]
|
||||
"$InstallDir$\openvpnmanager.exe" -uninstall
|
||||
"$UninstallProgram$" /S
|
||||
;"$UninstallProgram$" /S
|
||||
|
||||
[Files_uninstall]
|
||||
; Example for recursively deleting the installation directory:
|
||||
|
||||
@@ -61,12 +61,12 @@ else
|
||||
|
||||
comment "Start setup program"
|
||||
ChangeDirectory "%SCRIPTPATH%"
|
||||
Winbatch_install
|
||||
Sub_check_exitcode
|
||||
|
||||
comment "Copy files"
|
||||
Files_install /32Bit
|
||||
|
||||
Winbatch_install
|
||||
Sub_check_exitcode
|
||||
|
||||
comment "Patch Registry"
|
||||
Registry_install /32Bit
|
||||
|
||||
@@ -76,8 +76,8 @@ else
|
||||
endif
|
||||
|
||||
[Winbatch_install]
|
||||
"$InstallExe$" /S
|
||||
"$InstallDir$\openvpnmanager.exe" -install
|
||||
;"$InstallExe$" /S
|
||||
"$InstallDir$\OpenVPNManager.exe" -install
|
||||
|
||||
|
||||
[Files_install]
|
||||
@@ -86,7 +86,7 @@ copy "$IniCfgFile$" "$InstallDir$"
|
||||
|
||||
; Example of recursively copying some files into the installation directory:
|
||||
;
|
||||
; copy -s "%ScriptPath%\files\*.*" "$InstallDir$"
|
||||
copy -s "%ScriptPath%\X86\*.*" "$InstallDir$"
|
||||
|
||||
[Registry_install]
|
||||
; Example of setting some values of an registry key:
|
||||
|
||||
Reference in New Issue
Block a user