View Full Version : Chained MSI - Uninstall main product but leave additional chained MSI

07-29-2014, 02:03 PM
I have a package that I am creating that installs my product and then installs another MSI that a lot of our applications use. It functions just fine but of course if I uninstall the parent application, the child is removed as well. I would like to be able to uninstall the parent application while leaving the additional chained msi installed.

Can anyone point me in the right direction on how to do this?


08-12-2014, 03:25 PM
I've had a similar situation. What I've done and what you might want to consider doing is creating a setup prerequisite out of the other MSI and include in your main project. This way, it gets installed with the main product, and does not get uninstalled when you uninstall the main product.

08-14-2014, 08:07 AM
I agree that this sounds more like a prerequisite than a chained package. However it's straightforward to leave a chained package installed: clear the Removal condition for the package, and the chaining functionality will never remove it. Although as I said on a different thread, I would suggest preferring Suite/Advanced UI projects if you have any advanced chaining needs.