Should it matter if i am just debugging the code....i thought it will go thru the whole process in debug mode??

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

If Exist($programpath)

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

Shell 'C:\WINDOWS\uninst.exe -y -f"C:\Program Files\Pivotal\Relation\DeIsL1.isu" /passive'
Sleep 6

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

Else
? $programpath + "Does not Exist"
EndIf