Hello everyone,
I need to show script-created features in Installshield X and disable them, so user can't deselect them. I found the following from the other topic in this forum, but it didn't work:
#define TREE_ITEM_ENABLED_SELECTED_STR "8192"
#define TREE_ITEM_ENABLED_DESELECTED_STR "4098"
// The following is the sum of the previous two defines.
#define TREE_ITEM_DISABLED_SELECTED_STR "12290"
nResult = FeatureSetData(MEDIA, szFeatureName, FEATURE_FIELD_FTPLOCATION, 0, TREE_ITEM_DISABLED_SELECTED_STR);
Can anybody tell me how can I disable script-created features?
Thanks in advance!
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.
How to disable script-created features
Started by
Gorichok
, Jun 19 2012 13:39
2 replies to this topic
Posted 25 June 2012 - 10:36
I haven't done that in a while, but if I recall correctly I did it this way:
Create a dummy feature and make it selected in the setup type.
Make the other feature a required feature for the dummy feature. (This should make the other feature selected and disabled).
Set the dummy feature to invisible.
Create a dummy feature and make it selected in the setup type.
Make the other feature a required feature for the dummy feature. (This should make the other feature selected and disabled).
Set the dummy feature to invisible.
Stefan Krüger
InstallSite.org twitter facebook