From 109108d3f53d29af26822257a9ade5c0be70c996 Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Fri, 7 Mar 2014 18:18:24 +0100 Subject: [PATCH] update uninstall programm --- CLIENT_DATA/delsub32.ins | 6 ++---- CLIENT_DATA/setup32.ins | 2 -- builder-product.cfg | 2 +- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/CLIENT_DATA/delsub32.ins b/CLIENT_DATA/delsub32.ins index 089e65e..a92a73b 100644 --- a/CLIENT_DATA/delsub32.ins +++ b/CLIENT_DATA/delsub32.ins @@ -39,12 +39,10 @@ comment "Delete program shortcuts" LinkFolder_uninstall [Winbatch_uninstall_old] -"$InstallDir$\openvpnmanager.exe" -uninstall -;"$UninstallProgramOld$" /S +"$InstallDir$\OpenVPNManager.exe" -install [Winbatch_uninstall] -"$InstallDir$\openvpnmanager.exe" -uninstall -;"$UninstallProgram$" /S +"$InstallDir$\OpenVPNManager.exe" -install [Files_uninstall] ; Example for recursively deleting the installation directory: diff --git a/CLIENT_DATA/setup32.ins b/CLIENT_DATA/setup32.ins index 9f1dbc0..d85ab67 100644 --- a/CLIENT_DATA/setup32.ins +++ b/CLIENT_DATA/setup32.ins @@ -76,10 +76,8 @@ else endif [Winbatch_install] -;"$InstallExe$" /S "$InstallDir$\OpenVPNManager.exe" -install - [Files_install] ; copy the ini file to the InstallDir copy "$IniCfgFile$" "$InstallDir$" diff --git a/builder-product.cfg b/builder-product.cfg index 904d378..56fe0fd 100644 --- a/builder-product.cfg +++ b/builder-product.cfg @@ -24,5 +24,5 @@ DL_EXTRACT_FORMAT[1]="unzip" OPSI_INI_SECTION[0]="X86" OPSI_INI_OPTION[0]="UninstallProg" -OPSI_INI_VALUE[0]="uninst.exe" +OPSI_INI_VALUE[0]="OpenVPNManager.exe"