Hello !
Sorry if my question has already been asked but I don't succeed in what I want, and after many searches over the forum I did not find any answer.
The problem that I'm facing to is simple :
For my install the customer has to use a dongle from which I can know which features he can access to. So then I have to disable the features he can't access to in the customize dialog.
For this need I created a project that use a custom action written in C#.
What I understand from all what I read is : please correct me if I'm wrong
- I can't enable a feature after "Path Resolution" stage for a custom action with sequence.
- I can disable a feature from a custom action without sequence
- I cannot enable a feature that was previously disabled
So I create a project with 2 features (Feature1 & Feature2) and a custom action that display a message box which ask the user to update or not the features. If the user answer Yes, Feature1 is set to 1, Feature2 is set to 0. If he answer No, features do not change.
The custom action with sequence is first called before "search" stage then the same custom action without sequence is called before the customize dialog.
I tried all possible scenarios with features initially set to 0 or to 1 and I never obtained what I want. Sometimes both features are completely disabled, sometimes completely enabled.
If you can help me on this issue it would be great. I let the AI project with the custom action source code. I am working with AI 21.5.1 (enterprise licence).
regards,
Michael