如何使用 InstallShield 从 MSI 应用 Windows 修补程序?
我正在构建一个 MSI 以使用 InstallShield 2010 安装我们公司的产品,并且需要在产品运行所需的安装中应用多个 Windows 修补程序。
我想知道使用 InstallShield 完成此操作的方法是什么?使用先决条件?
我花了一段时间才明白如何定义一个新的先决条件,而且他们提供的条件似乎相当有限,用于检查我的修补程序是否已安装,以及我正在运行的确切 Windows 版本是什么。此外,我需要为每个版本的 Windows 和每个体系结构定义先决条件,这会产生大量的先决条件。
到目前为止,我们使用 MSI 在终止之前运行的 Python 脚本来应用这些修补程序,但从 Windows Server 2008 开始,这不再可能,并且修补程序的安装会失败。
我记得我有时看到一些企业产品(SQL Server 或 Oracle)的安装在其安装过程中应用了 Windows 修补程序,这似乎是一个非常标准的过程。我想知道是否有一个约定如何完成?
I am building an MSI to install our company's product with InstallShield 2010, and it needs to apply several Windows hotfixes in the installation that the product needs to run.
I was wondering what's the way to accomplish this using InstallShield? Using prerequisites?
It took me a while to understand how to even define a new prerequisite, and they seem to be pretty limited in the conditions they provide to check if my hotfix is already installed, and what's the exact Windows version I'm running on. Moreover I would need to define a prerequisite for each version of Windows and each architecture which creates a massive bloat of prerequisites.
Until now we used python scripts that the MSI would run just before termination that would apply these hotfixes, but as of Windows Server 2008 this is no longer possible, and the installation of the hotfixes fail.
I remember I saw sometime an installation of some enterprise product (SQL Server or Oracle) that applied Windows hotfixes in its installation process, and it seemed a pretty standard procedure. I was wondering if there is a convention to how it can be done?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要满足先决条件才能执行此操作,以便 Installshield 引导程序 EXE 在启动 MSI 之前安装修补程序。 (多个 MSI 不能同时运行,这些修补程序很可能包含一个 MSI)
You'll need to do this with prerequisites, so that the Installshield bootstrapper EXE installs the hotfixes before launching your MSI. (multiple MSI's can't run simultaneously, and chances are these hotfixes contain an MSI)