PDA

View Full Version : Re-evaluate feature conditions during update



tcom36
02-26-2008, 07:39 AM
I have an InstallScript MSI project.

In this project, the INSTALLLEVEL of some features is set to 0, such as SQL scripts which are not needed if no database engine is installed. If the database engine is detected during the first install, the INSTALLLEVEL of these features are set to 1 and they get installed.

When I now install the application without database engine, these do not get installed. But if I run an update after having installed the database engine, the feature condition does not get re-evaluated.

Is there a way to re-evaluate the feature conditions in update/change mode?