如何交互以静默方式安装MSI? (进度数据并取消它) [英] How to interactive a silently installing msi? (Progress data and cancel it)
本文介绍了如何交互以静默方式安装MSI? (进度数据并取消它)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
由于某种原因,我们交付的产品带有我们自己的安装GUI,这意味着我们将在后台静默运行msi安装.
For some reason, we are delivering a product with our own install GUI, that means, we will run the msi installation silently background.
通过使用MSI API"MsiInstallProduct",我可以静默安装产品,但是我不知道如何获取此安装的进度数据以及如何取消它.
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.
有人有什么主意吗?
推荐答案
这里是一个示例项目,似乎可以完成您所指的任务: http://www.codeproject.com/KB/cs/msiinterop.aspx
Here is a sample project that appears to do what you are referring to: http://www.codeproject.com/KB/cs/msiinterop.aspx
这篇关于如何交互以静默方式安装MSI? (进度数据并取消它)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文