如何交互静默安装的 msi?(进度数据并取消它) [英] How to interactive a silently installing msi? (Progress data and cancel it)

查看:18
本文介绍了如何交互静默安装的 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 APIMsiInstallProduct",我可以静默安装该产品,但我不知道如何获取此安装的进度数据以及如何取消它.

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆