switch to zip and manual install

This commit is contained in:
Mario Fetka 2014-03-07 17:58:40 +01:00
parent 723f317ab5
commit 7589c3faac
5 changed files with 14 additions and 14 deletions

View File

@ -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:

View File

@ -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:

View File

@ -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"

View File

@ -0,0 +1 @@
5552d64bfddc48e159f5ee07916536d8e28243e1 /home/mario/.opsi-dist-cache/openvpn.manager-0.0.3.8/X86/openvpnmanager_0.0.3.8_bin.zip

View File

@ -1 +0,0 @@
fc2aa8b62c237462f85487eff19398aedd6ae1c7 /home/mario/.opsi-dist-cache/openvpn.manager-0.0.3.8/X86/openvpnmanager_0.0.3.8_setup.exe