windows MSI 可以安装多个包吗? [英] Can windows MSI install multiple packages?

查看:53
本文介绍了windows MSI 可以安装多个包吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 MFC 中有一个代码调用 MsiInstallProduct(installerFullPath, commandLine);

i have a code in MFC that is calling MsiInstallProduct(installerFullPath, commandLine);

是否可以同时安装 2 个 MSI 产品?只要他们都是独立的.

is it possible to install 2 MSI products at the same time? as long as they are both independent.

是否可以调用 Windows 函数并将我的所有 MSI 组件都给它,然后它会一一安装它们?

is it possible to call a windows function and give it ALL of my MSI components and it will install them one by one?

推荐答案

Windows Installer 不允许同时安装多个 MSI 包.您需要一个接一个地触发安装,等待第一个完成后再启动第二个.在一次调用中安装它们的唯一选择是创建另一个 MSI 包,一个主包,在其中将两个包添加为链接包.

Windows Installer does not allow installing multiple MSI packages at same time.You need to trigger the installations one after another, waiting for the first one to finish before you launch the second one. The only option to install them in a single call is to create another MSI package, a main one, in which you add the two ones as chained packages.

这篇关于windows MSI 可以安装多个包吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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