Dim $Msg, $Pause
If Exist('C:\Program Files\Pivotal\Relation\relation.exe')
$Msg = MessageBox('Please wait while Relationship is uninstalled','ESI International',4160,10)
;I'm guessing this line is correct as I don't know and I don't have the program to test
Shell 'C:\WINDOWS\uninst.exe -y -f"C:\Program Files\Pivotal\Relation\DeIsL1.isu" '
'Error: ' + @ERROR + ' - ' + @SERROR ?
'Press any key to continue ' ?
Get $Pause
;This will FORCE all applications closed without saving data within 90 seconds
$RC = Shutdown("","System is being rebooted to enable new settings.", 90, 1, 1)
;No need for a sleep command
Else
;You would not want this to show though on every logon
'The eRelation program was not found on this system ' ?
EndIf