MSI:安装程序的安装程序
我需要使用 MSI 创建安装程序,其目的是根据用户的区域(从环境变量读取)调用正确的安装程序。也就是说,这个安装程序应该有 3 个文件(它们本身就是安装程序),一个用于美国,一个用于欧洲,一个用于亚洲。
现在的重点是,这个主安装程序永远不会被安装,但它所做的是调用正确的安装程序(亚洲、欧洲或美国),因此它的安装程序最终会被安装。
是否可以这样做。任何变通办法都将受到欢迎。
I need to create installer using MSI whose aim would be to invoke correct installer based on region (read from env. variables) of the user. That is, this installer is supposed to have 3 files(which are installers itself) one for US, one for Europe and one for Asia.
Now the point is that this Main installer never gets installed, but what it does is that it invokes the correct installer (Asia, Europe or US), so its installer that eventually gets installed.
Is it possible to do this. Any work arounds would be more than welcome.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它称为自定义 EXE 引导程序。它是一个简单的 EXE 应用程序,用于确定计算机环境并启动适当的安装程序。您可以选择将所有安装程序打包到其中并在运行时提取它们。
您可以自己编写 EXE 或尝试寻找现有的解决方案。
It's called a custom EXE bootstrapper. It's a simple EXE application which determines the machine environment and launches the appropriate installer. Optionally you can pack all your installers into it and extract them at runtime.
You can write the EXE yourself or try to find an existing solution.