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
- :
- More Major Upgrade Issues
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
‎Oct 26, 2009
12:44 AM
More Major Upgrade Issues
Hi all, I have an InstallScriptMSI project in which I am going to apply a Major Upgrade to an existing product. I have authored the Major Upgrade to completely uninstall the previous version before installing the Major Upgrade, but this is not happening.
Not sure why the previous version is not being uninstalled. I know this is not much to go on, but any advice would be appreciated!
Tim
Not sure why the previous version is not being uninstalled. I know this is not much to go on, but any advice would be appreciated!
Tim
(6) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 26, 2009
11:11 AM
do the upgrade codes match between the orignal and newer version? Also check that the product codes are different and the version numbers have changed. During a major upgrade, if the product code has not changed you will see some unexpected behavior.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 29, 2009
07:57 AM
If you haven't yet, create a log file during the upgrade and check that to see if it gives you any pertinent information.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 29, 2009
09:22 AM
Assuming UpgradeCode is the same and the ProductCode, ProductVersion and PackageCode are different.
Check the ALLUSERS property is the same, i had this problem with a major upgrade in 2010 SP1.
Run the setup from the command line:
and search for 'related' in the log file
Check the ALLUSERS property is the same, i had this problem with a major upgrade in 2010 SP1.
Run the setup from the command line:
setup /V"/L*v C:\everything.log"
and search for 'related' in the log file
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 01, 2009
09:22 PM
Thanks to all who responded! These are all great suggestions and I am looking at each one of them. I do appreciate the information and the help.
Tim
Tim
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 02, 2009
12:09 PM
I have researched all of these good suggestions. The funny thing is that the existing version of the application only uninstalls clean if you actually use the Add/Remove Programs applet to uninstall it. I created a prerequisite to my InstallScriptMSI project to do a complete uninstall of the existing application by using the /x {PRODUCTCODE} switches and even this does not remove the entry for the previous version from the Add/Remove Programs applet.
Any suggestions would be appreciated!
Tim
Any suggestions would be appreciated!
Tim
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 02, 2009
01:30 PM
- Is the existing version also based on an InstallScript MSI project?
- Also, I have noticed that if you uninstall a program using a different method from the remove button of the Add/Remove Programs dialog (like launching msiexec /x from the command line) while this dialog is open, the uninstallation works fine, but the corresponding line on the Add/Remove Programs dialog does not disappear unless you refresh it (e.g. by closing and reopening the dialog).
- Another point, but I am not sure whether it is applicable to an InstallScript MSI project: I remember having had to change the order of some actions in the Execute Sequence to get the Major Upgrade to work with a Basic MSI project, as suggested by Chris Painter.