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
Post a Comment