How to interactive a silently installing msi? (Progress data and cancel it)
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: For some reason, we are delivering a product with our own install GUI, that means, we will run the msi installation silently background. By using the MSI API "MsiInstallProduct", I can install the product silently, but I have no idea how can I get the progress data of this installation and how can I cancel it. Anyone has some ideas? 回答1: Here is a sample project that appears to do what you are referring to: http://www.codeproject.com/KB/cs/msiinterop.aspx 回答2: UPDATE : This tool from Wise is regrettably not downloadable anymore . I am not