CAS/templates/windows_uninstall.bat
2022-07-09 16:22:58 -04:00

6 lines
227 B
Batchfile

$app_target -stop
schtasks /delete /f /tn $app_name
del /f "%windir%\$app_target.exe"
del /f "%SystemDrive%\ProgramData\Microsoft\Windows\Start Menu\Programs\$app_name.lnk"
rd /q /s "$install_dir"
echo "Uninstallation Complete"