[英]Getting progress events from WiX Deployment Tools Foundation
如何使用WiX部署工具基金會Microsoft.Deployment.WindowsInstaller.Installer.InstallProduct()
獲得安裝進度事件?
我不想要任何類型的UI,只是我可以處理的事件。 我看到了對InstallMessage
枚舉的引用,該枚舉有一個Progress
成員,但我想看看其用法的示例。
在Installer.InstallProduct之前,使用InstallLogModes.Progress和Installer.SetExternalUI調用Installer.EnableLog。 委托獲取包括InstallMessage.Progress的消息。
將源下載到WiX並查看src / DTF / Samples / EnbeddedUI項目。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.