一一安装安装文件(.msi). [英] Installing a setup file (.msi) one by one.

查看:108
本文介绍了一一安装安装文件(.msi).的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这听起来像是我之前的问题,但是它是不同的:(.我必须在MFC中实现CreateProcess,但是每次给我其他任务时...:doh:

我必须一个接一个地执行4个msi(安装程序)文件.一种方法是使用CreateProcess.
但是还有其他方法可以专门执行安装文件.用于执行安装文件??

It sounds like my previous question but it is different :(. I have to implement CreateProcess in MFC but every time some other task is given to me... :doh:

I have to execute 4 msi (setup) file one by one. One way is by using CreateProcess.
But Is there other way to execute setup files specially. Any API that is used to execute a setup file ??

推荐答案

.msi文件(Microsoft安装程序文件)的任何API应该自动注册到 msiexec .

通常,您只需"ShellExecute" msi文件,它将启动安装程序.

或者,您可以使用CreateProcess以msi文件作为参数来调用msiexec.

否则我可能会误解您的问题.
.msi files (microsoft installer files) should be automatically registered to msiexec.

Normally, you could just "ShellExecute" the msi files and it will launch the installer.

Or you can use CreateProcess to call msiexec with the msi file as an argument.

or maybe I misread your question.


这篇关于一一安装安装文件(.msi).的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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