在中间停止msi静默安装并回滚更改 [英] Stop msi silent installation in-between and rollback the changes

查看:228
本文介绍了在中间停止msi静默安装并回滚更改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Team



我正在安装msi 文件 < span class =code-keyword>在远程机器上静默。但是 能够 找到一种方法 停止正在进行的静默安装提供用户 选项   rollback 半安装包所做的更改。 

我使用WMI类 以静默方式安装msi软件包。任何人都可以帮助我 在安装过程之间停止滚动支持msi静默安装。

请发表您的宝贵意见反馈。

解决方案

如果某些事情是沉默的,那么它也应该是死亡。如何给出一些不给你任何提示的东西的指示?这超出了无声安装的目的。



-SA


我已经实现了这一点WCF和MsiInterop。

我通过在客户端计算机上使用WMI放置控制台应用程序来在客户端计算机上托管WCF服务。 WCF服务正在使用MsiInterop方法执行msi的启动和停止。

如果有人想要相同的代码,请告诉我。

所有的帮助表示赞赏。谢谢你

Hello Team

I am installing a msi file on remote machine silently. But not able to find a way to stop the ongoing silent installation and provide an user a option to rollback the changes which the half installed package has made.

I used WMI classes to install the msi package silently. Could anyone help me on stopping and roll-backing the msi silent installation, in-between the installation process.

Please do your valuable comments and feedback.

解决方案

If something is silent, it's also supposedly death. How to give some instructions to something which does not give you any prompt? This is beyond the purpose of silent installation.

—SA


I have achieved that using WCF and MsiInterop.
I hosted the WCF service on the client machine by placing the console application using WMI on client machine. The WCF service is performing start and stop of msi using MsiInterop methods.
Please let me know if anyone want code for the same.
All your help is appreciated.Thank You.


这篇关于在中间停止msi静默安装并回滚更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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