update batch installer and uninstaller

This commit is contained in:
zeffy
2017-10-05 20:55:31 -07:00
parent 4ea832a47b
commit 988a0e7b41
2 changed files with 4 additions and 5 deletions

View File

@@ -62,10 +62,9 @@ if /I not "%CONTINUE%"=="Y" goto :cancel
echo.
:uninstall
set "wufuc_task=wufuc.{72EEE38B-9997-42BD-85D3-2DD96DA17307}"
rundll32 "%wufuc_dll%",Rundll32Unload
net start Schedule
schtasks /Delete /TN "%wufuc_task%" /F
set "regkey=HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\svchost.exe"
del /F "%systemroot%\System32\%wufuc_dll%"
reg del "%regkey%" /f
echo.
echo Unloaded and uninstalled wufuc. :^(