MSI with components
Posted 25 June 2004 - 05:16
currently i am working on a MSI project which can install serveral softwares at once. Say SoftwareA, SoftwareB, SoftwareC and SoftwareD. I need to write a MSI for installing these 4 at once. Also for future update, says only SoftwareA and SoftwareC have newer version. so my future MSI will only contains new SoftwareA and C images. After upgrading, the target system will have new versions of software A and C and original version of SoftwareB and D. Anyone know how to achieve it?
Please do help.
Posted 25 June 2004 - 09:20
Upgrades will have all features, because the newer version should also be able to install the not-updated features.
However, if you create a patch, it will only contain the differences (to the older version), so it will only have the updates.
Posted 25 June 2004 - 13:56
If you follow the suggested approach all your applications will be installed as a single setup. This means that if it is uninstalled all applications are removed. Using a Modify operation will still allow you to remove/add a single app provided you have made it a separate feature.
Splitting the apps into different setups will cause you to be able to deliver smaller updates, but probably increase the overhead in release management.
Installing the setups separately using "Launch Child MSI" is NOT recommended! This is a very poorly designed feature of Windows Installer, and should be avoided at all cost.
Edited by Glytzhkof, 25 June 2004 - 13:58.
Posted 06 July 2004 - 15:15
Posted 06 July 2004 - 15:26
The Office suite is an example of multiple applications being installed as part of a single MSI setup. As you may have noticed the size of the upgrade setups for the office suite is quite large.
The whole decision how to package applications (together in a single setup or many) depends largely on whether the user will normally install all applications or not (if each user needs only a subset single setups yield faster downloads etc...), whether or not you will update most or few of the applications on a regular basis etc...
Using a patch package to update an existing multi-application install can be quite effective if only a few applications changed.