Please DON'T SHOUT in the title!

This line is wrong:
Shell 'C:\WINDOWS\uninst.exe-y -f"C:\Program Files\Pivotal\Relation" >NUL 2>NUL /passive'

You cannot redirect without the command interpreter. There is a FAQ on that.
There should be a space between .exe and -y
The /passive switch should be before the failed redirects.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.