Hey,
I'm trying to make my InstallScript project input all selected features into the registry. I realize I can use IsFeatureSelected, but is there a dynamic way to do it instead of checking each and every feature?
Thanks in advance
Mark
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
All Selected Features
Started by
mark88
, Jul 24 2005 07:05
2 replies to this topic
Posted 25 July 2005 - 11:36
If you don't want to do it in script (looping through all features with FeatureIsItemSelected) you could simply add a registry entry to each feature (as part of a component that is included in that feature), so you would have one registry entry per feature that will only be installed if that feature is installed. Remember that for registry entries the same logic applies as for files, so if the feature is not selected the entry will not be written. And if the feature is later removed (in modify mode) the entry will be deleted together with the files.
Stefan Krüger
InstallSite.org twitter facebook