PDA

View Full Version : Check feature selected within InstallScript



DashNY
01-11-2005, 05:26 PM
Hi all,

My Windows Installer package has 2 features. One of them requires that a custom action is to be executed (registering .TLB with regasm).
I need to run the custom action only if Feature1 is selected to be installed.
What's the best way to check this?

Thanks,
-Oleg.

TsungH
01-11-2005, 05:55 PM
Have you taken a look at FeatureIsItemSelected function? Or Conditional Statement Syntax (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/conditional_statement_syntax.asp)?