diff --git a/CLIENT_DATA/uninstall3264.ins b/CLIENT_DATA/uninstall3264.ins index b7b0860..7f7b4f2 100644 --- a/CLIENT_DATA/uninstall3264.ins +++ b/CLIENT_DATA/uninstall3264.ins @@ -6,11 +6,9 @@ [Actions] requiredWinstVersion >= "4.11.2.6" -DefVar $UninstallProg32$ DefVar $UninstallProgram32$ DefVar $UninstallProgramOld32$ DefVar $IniFile32$ -DefVar $UninstallProg64$ DefVar $UninstallProgram64$ DefVar $UninstallProgramOld64$ DefVar $IniFile64$ @@ -63,3 +61,9 @@ if FileExists("%ScriptPath%\delsub3264.ins") Sub "%ScriptPath%\delsub3264.ins" endif +[DosInAnIcon_checkuser] +@echo off +net user openvpn >nul 2>&1 && echo yes || echo no + +[DosInAnIcon_deleteuser] +NET USER openvpn /DELETE