Could the DeferredActions sample be updated to show the best way to get properties from CustomUI dialogs to Tasks.SetConfigAttribute?
It seems that using the AfterInstall event is cleaner (and preferred?) rather than adding an ElevatedManagedAction.
In either context, ManagedProject Properties need to have IsDeferred true to get copied to the SetupEventArgs Session.Property collection.
I haven't found a way yet to access IsFeatureEnabled or ManagedProject Session values. Do I have to copy Session["ADDLOCAL"] to a Property if I want to modify a config file only if a particular feature is being installed?
Is there a better way to do it?
It seems that using the AfterInstall event is cleaner (and preferred?) rather than adding an ElevatedManagedAction.
In either context, ManagedProject Properties need to have IsDeferred true to get copied to the SetupEventArgs Session.Property collection.
I haven't found a way yet to access IsFeatureEnabled or ManagedProject Session values. Do I have to copy Session["ADDLOCAL"] to a Property if I want to modify a config file only if a particular feature is being installed?
Is there a better way to do it?