/build/static/layout/Breadcrumb_cap_w.png

Uninstall application automatically

Hey all,
Working on upgrading a program (Performance Impact Workstation 1.01 by Knowledgepoint) to a new version.

The upgrade instructions state that the program needs to be uninstalled prior to installing the new version, computer rebooted, etc..

I'm trying to automate the uninstallation of the old version using Zenworks.

Going into the registry, I have found the UninstallString in HKLM\Software\Windows\CurrentVersion\Uninstall
The string is:
"RunDll32 C:\PROGRA~1\COMMON~1\INSTAL~1\PROFES~1\RunTime\0701\Intel32\Ctor.dll,LaunchSetup "C:\Program Files\InstallShield Installation Information\{045765C8-9D64-440E-B07C-AA00F250C7B2}\setup.exe" -l0x9 "

However, when I run that command, I'm prompted with a screen asking if I want to Modify, Repair, or Remove the installation. This is the part that I need to automatically "remove" and not ask any questions.

I've tried "msiexec.exe /x{045765C8-9D64-440E-B07C-AA00F250C7B2} /qb" , but I'm assuming since the application wasnt installed with an msi, that is the reason I'm getting a "action is only valid for products that have been installed" error message.

Question is, is there a way I can automate the uninstallation process?

Thanks in advance

0 Comments   [ + ] Show comments

Answers (4)

Posted by: AngelD 16 years ago
Red Belt
0
Try creating an answer file for the uninstall.
Have a look at InstallShield Setup Parameters.
Posted by: joebrug 16 years ago
Senior Yellow Belt
0
hi AngelD,

Thanks for the link.
I gave it a quick read and didnt see a way to set up an answer file for an UNinstall, but did for an Install. Did I miss something?

Anyway, I ran
"C:\Program Files\InstallShield Installation Information\{045765C8-9D64-440E-B07C-AA00F250C7B2}\setup.exe" with an /uninst switch and it prompts me with "This will remove Performance Impact Workstation - do you wish to proceed?"

So, the switch is kind of working, but I dont want to see that prompt either. Also tried throwing a /s on the end, but that didnt help.

Please let me know if I'm missing something.
Posted by: Francoisracine 16 years ago
Third Degree Blue Belt
0
"C:\Program Files\InstallShield Installation Information\{045765C8-9D64-440E-B07C-AA00F250C7B2}\setup.exe" -r

"C:\Program Files\InstallShield Installation Information\{045765C8-9D64-440E-B07C-AA00F250C7B2}\setup.exe" -s -f1c:\setup.isss
Posted by: jmcfadyen 16 years ago
5th Degree Black Belt
0
theres a voice from the past where have you been hiding Franc ! ?
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ