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: MSI and upgrades
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 31, 2010
02:52 PM
MSI and upgrades
Hello,
We have a MSI project including 4 features and up to 200 components, etc.
We are able to use the standalone build to generate successive versions and use a batch file to apply the upgrades:
[CODE]msiexec /fvomus “[full path to]\MyMSIPackage.msi” REINSTALL=ALL REINSTALLMODE=vomus[/CODE]
We have a client which wants to be able to apply an update in the following sequence:
- install the product (features selected) with the first MSI;
- Get a 2nd MSI and 'run it' (= dbl-click). This should update all the installed features silently.
I tried this sequence and I got a message that a previous version is installed and I have to uninstall it first.
Is there a solution to this request? Can I specify a property to the MSI so it behaves like the client wants?
Thanks,
John
We have a MSI project including 4 features and up to 200 components, etc.
We are able to use the standalone build to generate successive versions and use a batch file to apply the upgrades:
[CODE]msiexec /fvomus “[full path to]\MyMSIPackage.msi” REINSTALL=ALL REINSTALLMODE=vomus[/CODE]
We have a client which wants to be able to apply an update in the following sequence:
- install the product (features selected) with the first MSI;
- Get a 2nd MSI and 'run it' (= dbl-click). This should update all the installed features silently.
I tried this sequence and I got a message that a previous version is installed and I have to uninstall it first.
Is there a solution to this request? Can I specify a property to the MSI so it behaves like the client wants?
Thanks,
John
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 01, 2010
10:49 AM
Trouble is, something outside the MSI database needs to specify the REINSTALLMODE flag "v", which specifies to re-cache the database for a minor upgrade. The InstallShield setup.exe passes this flag if no earlier version has been installed on a system, similar to what your batch file specifies.
Performing an upgrade without specifying any flags works with a major upgrade, but that requires other project changes and decisions...
Performing an upgrade without specifying any flags works with a major upgrade, but that requires other project changes and decisions...
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 02, 2010
03:10 PM
It makes sense.
Now I want to be able to make a build that generates a setup.exe and my MSI. How should I configure the release?
Thanks,
John
Now I want to be able to make a build that generates a setup.exe and my MSI. How should I configure the release?
Thanks,
John