duplicate the checks
This commit is contained in:
parent
16c84a2fca
commit
fc06bbedd2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user