diff --git a/CLIENT_DATA/delsub32.ins b/CLIENT_DATA/delsub32.ins index 3c0b386..18a29bf 100644 --- a/CLIENT_DATA/delsub32.ins +++ b/CLIENT_DATA/delsub32.ins @@ -39,9 +39,11 @@ comment "Delete program shortcuts" LinkFolder_uninstall [Winbatch_uninstall_old] +"$InstallDir$\openvpnmanager.exe" -uninstall "$UninstallProgramOld$" /S [Winbatch_uninstall] +"$InstallDir$\openvpnmanager.exe" -uninstall "$UninstallProgram$" /S [Files_uninstall] diff --git a/CLIENT_DATA/setup32.ins b/CLIENT_DATA/setup32.ins index cecdfa9..3326a4b 100644 --- a/CLIENT_DATA/setup32.ins +++ b/CLIENT_DATA/setup32.ins @@ -77,6 +77,8 @@ endif [Winbatch_install] "$InstallExe$" /S +"$InstallDir$\openvpnmanager.exe" -install + [Files_install] ; copy the ini file to the InstallDir diff --git a/OPSI/control b/OPSI/control index 48b5f43..94bc5aa 100644 --- a/OPSI/control +++ b/OPSI/control @@ -27,4 +27,10 @@ requiredProduct: sereby.aio requiredStatus: installed requirementType: before +[ProductDependency] +action: setup +requiredProduct: openvpn.openvpn +requiredStatus: installed +requirementType: before +