switch to zip and manual install
This commit is contained in:
parent
723f317ab5
commit
7589c3faac
@ -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:
|
||||
|
@ -17,10 +17,10 @@ TYPE="public"
|
||||
DL_FILE[0]="network-ip-vps.jpg"
|
||||
DL_SOURCE[0]="http://www.host-stage.net/images/vps/network-ip-vps.jpg"
|
||||
|
||||
DL_FILE[1]="openvpnmanager_${VERSION}_setup.exe"
|
||||
DL_SOURCE[1]="http://openvpn.jowisoftware.de/downloads/openvpnmanager_${VERSION}_setup.exe"
|
||||
DL_FILE[1]="openvpnmanager_${VERSION}_bin.zip"
|
||||
DL_SOURCE[1]="http://openvpn.jowisoftware.de/downloads/openvpnmanager_${VERSION}_bin.zip"
|
||||
DL_ARCH[1]="X86"
|
||||
DL_WINST_NAME[1]=InstallExe
|
||||
DL_EXTRACT_FORMAT[1]="unzip"
|
||||
|
||||
OPSI_INI_SECTION[0]="X86"
|
||||
OPSI_INI_OPTION[0]="UninstallProg"
|
||||
|
1
openvpnmanager_0.0.3.8_bin.zip.sha1sum
Normal file
1
openvpnmanager_0.0.3.8_bin.zip.sha1sum
Normal file
@ -0,0 +1 @@
|
||||
5552d64bfddc48e159f5ee07916536d8e28243e1 /home/mario/.opsi-dist-cache/openvpn.manager-0.0.3.8/X86/openvpnmanager_0.0.3.8_bin.zip
|
@ -1 +0,0 @@
|
||||
fc2aa8b62c237462f85487eff19398aedd6ae1c7 /home/mario/.opsi-dist-cache/openvpn.manager-0.0.3.8/X86/openvpnmanager_0.0.3.8_setup.exe
|
Loading…
Reference in New Issue
Block a user