Artifact Content

Artifact d877d6a911128e219bfdc66c9689d25129aea62159d8880e2f22f7b089e598f4:

@echo off
call :confirm
if "%yesno%"=="6" (
call :remove
) else (
call :cancel
exit /b
::returns 6 = Yes, 7 = No.
set yesno=
echo wscript.echo MsgBox("Do you want to uninstall Stringscan?", vbYesNo+vbInformation, "Uninstall") > %temp%\confirm.vbs
for /f "tokens=* delims=" %%a in ('cscript //nologo "%temp%\confirm.vbs"') do set yesno=%%a
del %temp%\confirm.vbs /f /q
exit /b
reg delete "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\Stringscan.exe" /f
reg delete  "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Stringscan" /f
rmdir "%appdata%\Microsoft\Windows\Start Menu\Stringscan" /s /q 
echo MsgBox "Uninstallation of Stringscan is complete.", vbOKOnly+vbInformation, "Uninstall"> %temp%\remove.vbs
call %temp%\remove.vbs
del %temp%\remove.vbs /f /q
rd %appdata%\Stringscan_App /s /q
start /b "" cmd /c rd "%appdata%\Stringscan\" /s /q && exit
echo MsgBox "Uninstallation of Stringscan cancelled.",vbOKOnly+vbInformation, "Uninstall Stringscan"  > %temp%\cancel.vbs
call %temp%\cancel.vbs
del %temp%\cancel.vbs /f /q
exit /b