Quantcast
Channel: wixsharp Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1354

New Post: How can best I allow edits on a config file for Windows Service App before the installation?

$
0
0
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?

Viewing all articles
Browse latest Browse all 1354

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>