如何运行多个MSI文件 [英] How to run multiple msi files

查看:127
本文介绍了如何运行多个MSI文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于我的应用程序,我需要安装主应用程序,并允许用户选择一个或多个其他功能来安装.我尝试运行主MSI,并执行了自定义操作以安装其他功能MSI文件.但是,它不起作用,因为MSI不支持嵌套安装.我应该构建一个窗口应用程序并为用户提供选择并依次在内部调用msi文件吗?其他msi文件是我们构建的自定义应用程序.它们不是先决条件.我们将这些功能分为不同的msi文件,因为我们要更改功能msi文件而不重新编译主msi文件.请帮忙!

For my application, I need to install the main application and allow users to pick and choose one or more additional features to install. I tried to run the main msi and have a custom action to install other feature msi files. However, it doesn't work since MSI doesn't support nested installation. Should I build a window application and give the users the choices and internally call msi files sequentially? The additional msi files are custom applications that we built. They are not pre-requisites. We separated these features into different msi files because we want to make changes to the features msi files without recompile the main msi file. Please help!

谢谢. 艾米·法姆(Emy Pham)

Thank you. Amy Pham

推荐答案

我认为简短的答案是您无法使用MSI执行您描述的操作.由于Windows Installer一次只允许安装一个MSI,因此您可能需要编写一个可以显示UI的非MSI应用程序,并根据用户的选择顺序安装MSI.如果不想将MSI编译到主安装程序中,则可以将其用作外部资源.

I think the short answer is that you can't do what you described using an MSI. Since Windows Installer only allows a single MSI to be installing at a time, you may need to write a non-MSI application that can present a UI, and install the MSIs sequentially based on the user's choices. You can use the MSIs as external resources if you don't want to compile them into your main setup program.

这篇关于如何运行多个MSI文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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