wpf - Wix Bootstrapper Update UI (XAML) from CustomAction -


i have implemented custom bootstrapper application (based on tutorial http://bryanpjohnston.com/2012/09/28/custom-wix-managed-bootstrapper-application/ install several msi-files. ui consists of several xaml-files. use executemsimessage-event show user current actions:

private void onexecutemsimessage(object sender, executemsimessageeventargs e)     {         lock (this)         {             this.currentaction = (string)e.data[0];         }     } 

in bootstrapper use customaction update vfp-database. within customaction want report current steps user, too. here wix customaction update ui? found information on how update wix-properties. there way update property currentaction in viewmodel within customaction?

you should add customaction code it's more obvious you're trying achieve, but, given current code, following update viewmodel:

[customaction] public static actionresult mycustomaction(session session) {     record record = new record(0);     record.setstring(0, "my custom message");     session.message(installmessage.info, record); } 

Comments

Popular posts from this blog

symfony - TEST environment only: The database schema is not in sync with the current mapping file -

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -