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 $rc = Shutdown("", "System is being rebooted to enable new settings.", 30, 0, 1)
Else ? $programpath + "Does not Exist" EndIf
Edited by selormquarshie (2007-01-30 03:37 AM)
|