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
- :
- Basic MSI upgrade issue
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
‎Apr 09, 2008
01:12 PM
Basic MSI upgrade issue
Greetings all,
this is the first time I've dealt with upgrades for a basic MSI project. I've gone thru all the docs on minor, major and patching. So I've gone thru and setup a minor upgrade but now I'm finding out that the only way to have this work is if I wrap my msi in the setup.exe launcher. This isn't what we want. I thought that MSI handled upgrades better than this but I guess I'm wrong or I'm doing something wrong.
We have used MSI before but it was wrapped with another exe into a self extracting exe which then passed the params. This time we were wanting to just use straight MSI with no wrappers.
Is there some to handle an upgrade without having to pass params to the msi package? So basically I want my users to be able to just launch the MSI and it detects they are upgrading and then it proceeds from there upgrading.
I'm not changing the product code but the versions are changing, on the installer and all the files. This is just the standard for our build process.
Thanks,
Jon
this is the first time I've dealt with upgrades for a basic MSI project. I've gone thru all the docs on minor, major and patching. So I've gone thru and setup a minor upgrade but now I'm finding out that the only way to have this work is if I wrap my msi in the setup.exe launcher. This isn't what we want. I thought that MSI handled upgrades better than this but I guess I'm wrong or I'm doing something wrong.
We have used MSI before but it was wrapped with another exe into a self extracting exe which then passed the params. This time we were wanting to just use straight MSI with no wrappers.
Is there some to handle an upgrade without having to pass params to the msi package? So basically I want my users to be able to just launch the MSI and it detects they are upgrading and then it proceeds from there upgrading.
I'm not changing the product code but the versions are changing, on the installer and all the files. This is just the standard for our build process.
Thanks,
Jon
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 09, 2008
01:33 PM
Unfortunatly that's just the way MSI works. You either have to have a process manager (setup.exe) handle this for you or you have to pass in the REINSTALL and REINSTALLMODE properties by hand.
This isn't the case for a Major Upgrade since it'll have a new ProductCode and the Upgrade table will drive removing the old version as part of the transaction.
This isn't the case for a Major Upgrade since it'll have a new ProductCode and the Upgrade table will drive removing the old version as part of the transaction.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 09, 2008
01:53 PM
Chris,
thanks for the quick reply.
Jon
thanks for the quick reply.
Jon