Sweetcade/scripts/ps/uninstall.ps1

22 lines
1.0 KiB
PowerShell

Write-Host "---Uninstall Sweetcade---"
Write-Host "This script will uninstall Sweetcade. It will remove any relevant shortcuts for automatic startup and delete the C:\sctools folder."
Write-Host "Any configuration or files you have inside this directory will be PERMANENTLY DELETED."
Write-Host "D:\sccontent will not be modified."
Write-Host "To [U]ninstall, connect a keyboard and type U."
Write-Host "To [A]bort, connect a keyboard and type A."
vSCLicensedStatusUserResponse = Read-Host "U / A?"
if ($vSCNextHopUserResponse -contains "U")
{
function fSCUninstaller
}
else {
Write-Host "Installer aborted. No changes have been made."
Write-Host "This window will close in 60 seconds."
Start-Sleep -Seconds 60
Exit 1
}
fSCUninstaller
{
#PSEUDO - Todo
}