Uninstall of feature conditionally
Posted 24 October 2001 - 14:00
Posted 26 October 2001 - 17:40
Posted 12 November 2001 - 11:30
I have found a way, though.
I use the REMOVE property. When ever my application detects (at uninstallation time) that there is someone using MSDE, this will not get uninstall, by simply setting REMOVE equals to all other features, but the one that includes MSDE mm. This has a draw back: In this situation, the machine still will consider the second application as installed, due to the fact that one of its features (the one containing MSDE) is still there. The implications are minimal, therefore I used this solution.
If there is a better way to do it, I'll be very grateful to hear it.
Posted 22 January 2002 - 11:26
If anyone wants to know how, just ask ;)
Posted 24 January 2002 - 00:47
The MSDE installer is very simple - a single feature with all of the MSDE merge modules included. Look at SqlRun01.msi (on the SQL Server Developer CD) to get an idea of the UI and execute sequences you need.
When you've got a working MSI for MSDE, create a custom action (type 7, 23 or 39) to run a nested install.