0
我實現了自定義bootstrapper
應用程序(根據本教程http://bryanpjohnston.com/2012/09/28/custom-wix-managed-bootstrapper-application/安裝幾個MSI-files
的UI由幾個XAML-files
(XAML) 我用ExecuteMsiMessage-event
顯示用戶當前操作:維克斯引導程序更新UI從CustomAction
private void OnExecuteMsiMessage(object sender, ExecuteMsiMessageEventArgs e)
{
lock (this)
{
this.currentAction = (string)e.Data[0];
}
}
在bootstrapper
我使用CustomAction
更新VFP-database
。在這個CustomAction
我要報告當前步驟,給用戶了。在這裏Wix CustomAction update UI?我發現如何更新WIX-properties
一些信息。 是否還有一種方法可以從CustomAction
內更新我的ViewModel
中的屬性currentAction
?
首先,感謝您的回覆。 你能告訴我如何在我的viewModel中「獲取」消息嗎?它在OnExecuteMsiMessage中沒有被捕獲。我可以在'MSI'的日誌中看到該消息,但不能看到'BootStrapper'的日誌中。 – user2219063