在安装过程中迁移基本 MSI 以支持响应文件有哪些好的选择?
我继承了 Basic MSI InstallShield ISM 来安装混合有 .Net 和 COM dll 的应用程序。现有的 ISM 当前使用许多自定义对话框来运行设置工作流程。
我们的一个新要求是支持静默安装的响应文件。据我了解,基本 MSI 不可能实现这一点。
我考虑过的一种选择是将其转换为安装脚本并重新构建安装程序 UI。我现在正在探索其中的困难。这是一个好方法吗?
还有哪些其他选择?
I inherited a Basic MSI InstallShield ISM to install an application that has a mixture of .Net and COM dll's. The existing ISM currently uses a number of custom dialogs to run the setup workflow.
A new requirement we have is support for response files for silent installation. From what I understand this isn't possible with Basic MSI.
One option I've considered is to convert this to Install Script and re-build the installer UI. I'm exploring the difficulty of that now. Is this a good approach?
What other options are available?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
为什么不使用响应文件而不是使用响应 转换。 MSI UI 设置通常会转换为某些属性设置为某个值。您可以将这些属性添加到转换中,并在静默安装期间使用它进行配置。
在这里您可以找个例子。这并不完全是您所需要的,但它是一个起点:
Instead of a response file why not use a response transform. The MSI UI settings usually translate to some properties being set to a certain value. You can add those properties to a transform and use it during the silent installation for configuration.
Here you can find an example. It is not exactly what you need, but it is a starting point:
响应文件是与InstallScript 项目相关的技术。它在 MSI 静默安装故事中没有一席之地。响应文件的 MSI 等效项是广告安装,然后从广告中运行安装程序。但这在现实世界中很少使用。
Response files is the technique associated with InstallScript projects. It has no place in an MSI silent installation story. The MSI equivilant of a response file is an advertised installation and then run the installer from the advertisement. But that's seldom used in the real world.