安装 Shiled 2008 - 如何添加 MSU(MSI?)作为先决条件并按条件安装
我有 Install Shield 2008 Express Edition 和一个创建 exe 和 msi 安装程序的安装项目。现在,由于我们的应用程序使用 HLP 文件作为帮助系统,并且 Windows Vista 及更高版本本身不支持 HLP 文件,因此我需要在安装中添加适用于 Windows Vista, 7, 2008 的帮助查看器的先决条件安装,可以从此处下载: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=258aa5ec-e3d9-4228-8844-008e02b32a2c### 且采用 MSU(Microsoft 更新格式) )
我还需要进行条件安装,这意味着我需要检测安装程序是否在 Vista, 7 2008 上运行,然后检测是否32 位或 64 位并安装正确的 MSU。这是否可能,如果是,如何在 installshield 2008 express 中执行此操作?
我在可再发行部分中只看到预定义的先决条件。我如何添加自己的自定义?
i have Install Shield 2008 Express Edition and a Setup project which create's a exe and and msi installer. Now as our application uses HLP files as a help system and HLP files are not supported natively on Windows Vista and newer i need to add to the setup an prerequsite installation of the Help Viewer for Windows Vista, 7, 2008 which can be downloaded from here:
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=258aa5ec-e3d9-4228-8844-008e02b32a2c### and is in MSU (Microsoft Update format)
Also i need to make a conditionall install which means that i need to detect if the setup is running on Vista, 7 2008 and then detect if 32-bit or 64-bit and the install the correct MSU. Is this possible and if yes how to do it in installshield 2008 express?
I see in the Redistributables section only predefined prerequisites. How can i add own, custom?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
InstallShield Express SKU 不提供创建自定义先决条件 (.PRQ) 文件的方法。这些文件是简单的 XML 文档,并且带有 InstallShield Pro/Prem 的试用版。您可以编写一个,然后将其放入目录中以供 Express 使用。
查看我的博客文章,描述如何编写先决条件。详细信息取决于您正在编写的特定 MSU。
使用 InstallShield 12 安装 .NET Framework 3.0
The Express SKU of InstallShield doesn't provide a means for creating custom prereq (.PRQ ) files. The files are simple XML documents though and with a trial version of InstallShield Pro/Prem. you could author one and then drop it in the directory for Express to consume.
Checkout my blog article describing how to author a prereq. The details would depend on the specific MSU you are authoring.
Using InstallShield 12 to Install .NET Framework 3.0