Silent InstallSheild Uninstall
I am trying to silently uninstall an application installed with InstallSheild.. The uninstall script that came with the application has a custom dialog box that prompts for the user's confirmation to close the application/s before uninstall continues. The only way I found to suppress this is to have a vbscript running that makes the dialog box active and sends the "Y" key to it.. This works great, but only if a user is logged in..
How can I make this silent uninstall work if no one is logged in?
For a previous silent InstallSheild uninstall I did, I was able to create an answer (.iss) file. That worked great, but I can't do that on this one (as far as I can tell) due to the fact that it has a custom dialog (see string below)...
Application Name:
SCO XVision Eclipse
Uninstall String:
[C:\WINDOWS\IsUninst.exe -f"C:\Program Files\Common Files\Vision\XVision.isu" -y -c"C:\WINDOWS\system32\UNINST.DLL"]
(taken from: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\XVision)
Thank you all for any assistance that can be provided! I am stuck and need to push the new version out by 3/19...
How can I make this silent uninstall work if no one is logged in?
For a previous silent InstallSheild uninstall I did, I was able to create an answer (.iss) file. That worked great, but I can't do that on this one (as far as I can tell) due to the fact that it has a custom dialog (see string below)...
Application Name:
SCO XVision Eclipse
Uninstall String:
[C:\WINDOWS\IsUninst.exe -f"C:\Program Files\Common Files\Vision\XVision.isu" -y -c"C:\WINDOWS\system32\UNINST.DLL"]
(taken from: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\XVision)
Thank you all for any assistance that can be provided! I am stuck and need to push the new version out by 3/19...
0 Comments
[ + ] Show comments
Answers (14)
Please log in to answer
Posted by:
anonymous_9363
14 years ago
Posted by:
dunnpy
14 years ago
Posted by:
dunnpy
14 years ago
Posted by:
drumstin
14 years ago
VBScab: Even when killing the associated processes prior to launching the uninstall, the custom dialog appears. It seems that it isn't checking for the process/s first, just asking anyway..
dunnpy: I'm afraid it does not give the option to uninstall when launching the setup executable.
Thank you both for the suggestions. Any other ideas?
dunnpy: I'm afraid it does not give the option to uninstall when launching the setup executable.
Thank you both for the suggestions. Any other ideas?
Posted by:
drumstin
14 years ago
Posted by:
drumstin
14 years ago
Posted by:
drumstin
14 years ago
Posted by:
drumstin
14 years ago
Wait a sec.. wont there be tons of randomly generated unique identifiers that are potentially different on each machine (relating to this app's classids and interfaces etc..) ? Since it will be looking for those found on the capture, wouldn't it potentially not find them on the other machine since the identifiers will be different?
Thanks!
Thanks!
Posted by:
anonymous_9363
14 years ago
I can't work out what you're driving at.
The installer already wrote all its junk and it will be the same junk for all machines: class IDs and so on don't change from machine to machine. When you capture the uninstall, you'll be capturing that junk's removal.
Does that make sense?
BTW, to prevent entry in ARP, add a public property called ARPSYSTEMCOMPONENT to your MST and give it any value.
The installer already wrote all its junk and it will be the same junk for all machines: class IDs and so on don't change from machine to machine. When you capture the uninstall, you'll be capturing that junk's removal.
Does that make sense?
BTW, to prevent entry in ARP, add a public property called ARPSYSTEMCOMPONENT to your MST and give it any value.
Posted by:
drumstin
14 years ago
Posted by:
Jamie B
14 years ago
Posted by:
drumstin
14 years ago
Posted by:
drumstin
14 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.