This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Remove application from "Add or Remove Programs" problem
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 24, 2008
02:09 AM
Remove application from "Add or Remove Programs" problem
Hi all,
I am creating an InstallScript MSI project.
I want to uninstall an previous version of application before I install the new one.
I've tried to use the uninstallstring from registry to uninstall the previsous version of application, but it doesn't remove the item from "Add or Remove Programs".
Can you teach me how to write the script to remove the application from "Add or Remove Programs"?
I am very thank you for your help.
I am creating an InstallScript MSI project.
I want to uninstall an previous version of application before I install the new one.
I've tried to use the uninstallstring from registry to uninstall the previsous version of application, but it doesn't remove the item from "Add or Remove Programs".
Can you teach me how to write the script to remove the application from "Add or Remove Programs"?
I am very thank you for your help.
(6) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 24, 2008
08:31 AM
Does it behave differently if you use a major upgrade to do the uninstall-then-reinstall, instead of the registry command line?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 24, 2008
12:28 PM
My application got a lot of versions and I don't want to allow user to upgrade application.
When user install the application, the installer has to uninstall the exsit one first then install new one.
When user install the application, the installer has to uninstall the exsit one first then install new one.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 24, 2008
01:10 PM
Right, that's what a major upgrade does: uninstall an old version or versions when the user installs the newer version. Please see the help on major upgrades for more information...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 25, 2008
01:34 AM
Thanks RobertDickau.
Here is example for my issue.
I create two projects A&B, but have the same name.
Both A&B got a lot of versions, but user can only install either A or B in the OS.
If User install any version of A, then install any version of B, the installer will uninstall A then install B. Or opppsite.
If I use major upgrade, the installer only uninstall A1 then install A2, but not uninstall B then install A2.
That's why i want to uninstall the product name from control panel.
Please help me....Thanks.
Here is example for my issue.
I create two projects A&B, but have the same name.
Both A&B got a lot of versions, but user can only install either A or B in the OS.
If User install any version of A, then install any version of B, the installer will uninstall A then install B. Or opppsite.
If I use major upgrade, the installer only uninstall A1 then install A2, but not uninstall B then install A2.
That's why i want to uninstall the product name from control panel.
Please help me....Thanks.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 26, 2008
08:23 AM
If I understand you correctly, you should be able to add to the Upgrade table to uninstall both product A and product B in each of the two installs. Then either will uninstall both before it installs itself. This assumes that the two products have different product codes and upgrade codes, even though they have the same name.
I'm curious, though. You said that your two products both have the same name; do they also have the same contents? If so, why do you have two different installs?
I'm curious, though. You said that your two products both have the same name; do they also have the same contents? If so, why do you have two different installs?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 28, 2008
07:08 PM
Hi KathyMorey, you are right.
The products have different contents, that's why I create two products but same name. Could you teach me how to add the two products to the upgrade table please?
The products have different contents, that's why I create two products but same name. Could you teach me how to add the two products to the upgrade table please?
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)