ok here's what i got now...however when i debug ..it jumps the MESSAGEBOX () and it does not show the SHELL command. Yes all my users have local admin rights...using kix 4.51. please any suggestions are welcome...my deadline is noon tomorrow....please help...

Code:
Break off 

If Exist ("C:\Program Files\Pivotal\Relation") = 1
  $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" /passive'
  Sleep 6
Else
 ? "Error Code = " @Error " Error Details = " @Serror
EndIf 
$rc = Shutdown("", "System is being rebooted to enable new settings.", 30, 0, 1)


[edit: code tags added by Allen.]


Edited by Allen (2007-01-28 09:24 PM)