duplicate the checks

This commit is contained in:
Mario Fetka 2014-02-25 13:58:30 +01:00
parent 16c84a2fca
commit fc06bbedd2

View File

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