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
- :
- uninstall before install
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
Jul 10, 2012
01:40 AM
uninstall before install
Hi,
I am using Basic MSI project.... I want to uninstall the project (if exists) and install it again from the setup.exe?
How can I do this?
I am using Basic MSI project.... I want to uninstall the project (if exists) and install it again from the setup.exe?
How can I do this?
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 24, 2012
08:27 AM
I have exactly the same question?:)
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 25, 2012
01:52 AM
I found with InstallShield 2012 but it should be the same with 2010...
you have to create a "Major" upgrade. To do that, first you have to go to "Media/Upgrades" menu.
*Select "Upgrade Windows Installer Setup" and select the option "Completely uninstall old setup..." .
*Click right on "Upgrade Windows Installer Setup" and "Add Major Upgrade Item".
*Select your this item and:
Now the major upgrade has been created and initialized. You just have to modify the 3 followings fields in "Installation Information/General information" each time you want to create a major upgrade:
Note:
if you don't modify “Package code” and “Product version” then only a minor upgrade will be realized.
that's all.
you have to create a "Major" upgrade. To do that, first you have to go to "Media/Upgrades" menu.
*Select "Upgrade Windows Installer Setup" and select the option "Completely uninstall old setup..." .
*Click right on "Upgrade Windows Installer Setup" and "Add Major Upgrade Item".
*Select your this item and:
- Select "Products having another Upgrade code" and specify the upgrade code of your setup(Warning: For me the option " Products sharing my Upgrade Code" didn't work...that's why I specified manualy my upgrade code!)
- Select "any earlier version"
- Select "any earlier version"
Now the major upgrade has been created and initialized. You just have to modify the 3 followings fields in "Installation Information/General information" each time you want to create a major upgrade:
- “Product code”
- “Package code”
- “Product version”. It’s not necessary to increase the first digit. You can increase the digit that you want
- “Package code”
- “Product version”. It’s not necessary to increase the first digit. You can increase the digit that you want
Note:
if you don't modify “Package code” and “Product version” then only a minor upgrade will be realized.
that's all.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 03, 2012
05:22 AM
What if you just change the Product Code, without using the Media>Upgrades UI to create a Major Upgrade Item?
It still forces an uninstall and reinstall (i.e. Major Upgrade). So is a Major Upgrade Item always required (e.g. if you don't have any special version range considerations)? If so, what does it add?
It still forces an uninstall and reinstall (i.e. Major Upgrade). So is a Major Upgrade Item always required (e.g. if you don't have any special version range considerations)? If so, what does it add?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 07, 2012
05:34 AM
The Major Upgrade item reflects the Windows Installer 'Upgrade' table.
It is used for customizing the major upgrade settings (e.g. if you want to upgrade a product with another upgrade code, or want to prevent upgrading from certain versions, or for certain languages).
Without this item, your installation will allow downgrading ("major upgrade" when the installed product's version is higher)
It is used for customizing the major upgrade settings (e.g. if you want to upgrade a product with another upgrade code, or want to prevent upgrading from certain versions, or for certain languages).
Without this item, your installation will allow downgrading ("major upgrade" when the installed product's version is higher)
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)