I'm using ISDev7.02 and I have a project that hides specific features based on the serial number the user has entered. So I used FeatureSetData and FeatureSelectItem after the serial number validation part like this...
if (FeatureSetupTypeSet (MEDIA, "Custom") < 0) then
MessageBox ("FeatureSetupTypeSet failed.", SEVERE);
endif;
nResult = FeatureSelectItem (MEDIA, svFeature, FALSE);
FeatureSetData (MEDIA, svFeature, FEATURE_FIELD_VISIBLE, FALSE, "");
The problem is all the hidden features are installed. I checked it when I used FeatureIsItemSelected, all the features hidden and deselected by script was was returnd selected... that why its still installed. Any Idea on how to solve this???... Im really confused... Is there something wrong on my code?
Please help... I would be very grateful fo any help. Thanks in advance.
Dyerald