does anyone know a way to modify features at runtime ?
My problem is the following : I wish to propose to distinct modes to users.
The first one is a 'normal' user mode. They are allowed to choose features among a restrained set of them.
The second one is a 'super' user mode. A super user is able to choose features among ALL the available features.
A solution is to modify at runtime the display property of each feature, accordingly to user profile, 'normal' or 'user'.
So I did. I used the msi API to update the feature table record. But when I tried to validate the updated record, the call fails.
So, I though that was write access problem. The problem occurs whatever is the order of the updating custom action in the sequence (UI or Actions).
Does that mean we can't update features during runtime ?
By the way, has anyone an idea on how to solve the problem ?