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: single MSI Setup - update failed
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
‎Feb 28, 2008
09:40 AM
single MSI Setup - update failed
I have build a msi setup for our product (the first version).
Now I tried to build a new setup, that will install the new product if it wasn't previously installed, and will update the product if the older version is already installed.
But any time I start the new setup it tells me that an other version of this product is already installed and I have to deinstall this first.
This occurs when I
a) only rebuild setup with new files
b) change package code and rebuild
c) change package code and version number and rebuild
What did I miss?
Thanks,
Gunter
Now I tried to build a new setup, that will install the new product if it wasn't previously installed, and will update the product if the older version is already installed.
But any time I start the new setup it tells me that an other version of this product is already installed and I have to deinstall this first.
This occurs when I
a) only rebuild setup with new files
b) change package code and rebuild
c) change package code and version number and rebuild
What did I miss?
Thanks,
Gunter
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 28, 2008
10:16 AM
You need to make the 2nd build onwards upgrades if you want to be able to install over a previous build. Otherwise it is treated as a full installation and cannot overwrite an exsisting installation. There are ways around this of course, like having your .msi first look to see if there already is an instance of this program on the PC then if there is, uninstall it then continue with the new installation. It all depends on which methods your company prefers. Either a full installation for every build, a full install that uninstalls, or using the upgrade option.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 28, 2008
10:36 AM
Thanks for this fast reply.
But I don't quite catch that:
The documentation tells something about "Small Update", "Minor Upgrade" and "Major Upgrade", when to use or what to change.
How does this fit together?
Gunter
But I don't quite catch that:
The documentation tells something about "Small Update", "Minor Upgrade" and "Major Upgrade", when to use or what to change.
How does this fit together?
Gunter
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 28, 2008
02:41 PM
I dont want to misinform you about the differences between these options. Have you tried using the KnowledgeBase they provide? You can find access to it under the Help menu. Just search for those words. I am sure they detail them in there.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 29, 2008
06:56 AM
Got it!
The things I've done were correct, but a direct call of the msi file won't work.
You need to install an update via call of msiexec by
msiexec [/qn] /fvomus
The order of parameters is important!
Hope, this will help also some others...
Gunter
The things I've done were correct, but a direct call of the msi file won't work.
You need to install an update via call of msiexec by
msiexec [/qn] /fvomus
The order of parameters is important!
Hope, this will help also some others...
Gunter