I do have a laptop with Relationship installed yet still when i run the code it doesn't uninstall it......please anyone help....


$programpath= "C:\Program Files\Pivotal\Relation"

If Exist($programpath) = 0

MessageBox ("", "Please wait while Relationship is uninstalled","ESI INT'L", 10, 0, 1)

Shell 'C:\WINDOWS\MsiExec.exe -y -f"C:\Program Files\Pivotal\Relation" '

$rc = Shutdown("", "System is being rebooted to enable new settings.", 30, 0, 1)

Sleep 6

Else
? $programpath + "Does not Exist"
EndIf