I didn't realize you replied until just now, I didn't notice the 2nd page. As for an update, I think I am scraping the vbscript. While It appears to work because I do not receive pop error messages anymore, it doesn't uninstall or install anything. I think I am just going to stick with my batch file and push it through sms. I think sms will after all suppress the black box.
Posts: 1916
Score: 16
Joined: 5/15/2003
From: USA
Status: offline
I know this is an old post but since I came across it doing some research for uninstalling an installshield app I thought I would post what worked for me.
First, looking in the registry I found this uninstall command.
c:\windows\ISuninst.exe -f"c:\program files\FasterCS\Uninst.isu" Add -a to it and run from the command line works like a charm. c:\windows\ISuninst.exe -f"c:\program files\FasterCS\Uninst.isu" -a
Now, try to get the quotes to work properly, that is always fun.
here is my script header, barebones header at that.
Using the examples in this thread I have the below line that I tested, but kept getting a could not find file error.
"""" & WinFolder & "\IsUninst.exe -a -y -f"" ""c:\program files\FasterCS\Uninst.isu"""
So, as was stated before, I used echo to get what the line looked like, and this is what i got
"c:\windows\ISuninst.exe -a -y -f" "c:\program files\FasterCS\Uninst.isu"
Notice the extra " and space after the -f the correct command would look like c:\windows\ISuninst.exe -a -y -f"c:\program files\FasterCS\Uninst.isu"
Here is the code that worked for me.
_____________________________
Mike
For useful Scripting links see the Read Me First stickey!