smcburney
10-30-2002, 06:05 PM
I've got an application being installed by a standard project. Its got a lot of features to it. The application itself is going to call MSI to load and unload some of the features.
However, when our app loads a feature that was previously unloaded, and later you go to the Maintenance setup, the feature is still marked as unloaded.
Is there any way to get the IS feature tree to match what MSI thinks? or is there a way to call in to IS to load the features instead of calling MSI?
I'm thinking I'll have to write a function that recursively parses out all the features, and call the MSI FeatureState function to get the state of the feature, then call FeatureSelectItem to update the feature states in IS7. Does this sound logical, or am I missing something?
However, when our app loads a feature that was previously unloaded, and later you go to the Maintenance setup, the feature is still marked as unloaded.
Is there any way to get the IS feature tree to match what MSI thinks? or is there a way to call in to IS to load the features instead of calling MSI?
I'm thinking I'll have to write a function that recursively parses out all the features, and call the MSI FeatureState function to get the state of the feature, then call FeatureSelectItem to update the feature states in IS7. Does this sound logical, or am I missing something?