PDA

View Full Version : Component flags in registry



gridman
06-02-2007, 01:27 PM
I have a Basic MSI project in IS 2008 Pro on Win XP.

What I want to do is have a flag for each feature in an installation and write those values to the registry. The flag would be a 1 or 0 based on whether the feature is installed or not.

I know how to write things to the registry, but in a Basic MSI project, how do I tell if a feature has been selected?

Thanks.

gridman
06-02-2007, 01:29 PM
I made a mistake in the title of the post. It should say "Feature flags in registry".

TsungH
06-04-2007, 08:00 PM
You can associate a component to a feature, and the component contains the registry entry. The component will get installed when feature is installed.

gridman
06-04-2007, 08:44 PM
That's makes perfect sense.

Thank you for your help.