使用 Install Shield 检查并安装先决条件
我正在使用 VS 2010 附带的 Install Shield 版本创建我的第一个安装。
在 vista 和 7 上仅需要 .NET 4.0 客户端,但在 XP 上我的应用程序需要:
- .NET 2.0(我认为这是必需的) 对于以下先决条件)
- XP 更新 KB968930(Windows 管理框架核心)
- XP 更新 KB971513(Microsoft Active 辅助功能包)
- SAPI 5.1(文本转语音和语音 识别)
在测试应用程序时,我只是手动运行每个应用程序的 exe(对于 SAPI,我使用旧的 SAPI 5.1 sdk 来确保它已安装,这似乎有点过分)。我正在考虑创建一个 exe 文件,该文件将运行所有四个可执行文件,然后运行安装程序(或者我认为我可以通过 Install Shield 内的 VB 脚本来运行?)
我想知道是否有更干净的方法来检查这些文件,提示用户每一项,然后作为安装的一部分使用 Install Shield? 悄悄地进行安装?或者只是将它们打包到安装中的简单方法。
感谢您的帮助!!
I'm creating my first install using the Install Shield version that ships with VS 2010.
On vista and 7 only the .NET 4.0 client is required, but on XP my application reqires:
- .NET 2.0 (I think this is required
for the following prereqs) - XP Update KB968930 (Windows
Management Framework Core) - XP Update KB971513 (Microsoft Active
Accessibility Package) - SAPI 5.1 (Text to Speech and Speech
Recognition)
When testing the application I've just manually run the exe for each of those (for SAPI I used the old SAPI 5.1 sdk to make sure it's installed which seems overkill). I was thinking of just creating an exe file which would run all four executables and then run the installer (or I think I could via a VB Script inside Install Shield?)
I'm wondering if there is a cleaner way to check for these, prompt the user for each one, and then quietly install as part of the install using Install Shield? Or just a simple way to package them into an install.
Thanks for your help!!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
InstallShield 2010 Limited Edition 使用.PRQ 文件,但不附带PRQ 编辑器。您有几个选择:
1) 制定 .PRQ 文件的 XML 架构(未提供 XSD)并手动编辑它,并手动更新 ISM XML 以引用新添加的 PRQ 文件。
2) 花费大约1500美元升级到InstallShield 2010专业版。
3) 评估InstallShield 2010 Pro 以生成PRQ 文件并手动更新ISM 以引用PRQ 文件(比#1 更容易,但仍然不适合胆小的人)
4) 聘请顾问来帮助您完成此操作。 :-)
InstallShield 2010 Limited Edition uses .PRQ files but doesn't come with a PRQ editor. You have a few options:
1) Work out the XML schema ( there's no XSD provided ) for the .PRQ files and edit it by hand and update the ISM XML by hand to reference the newly added PRQ files.
2) Spend about $1500 to upgrade to InstallShield 2010 Professional Edition.
3) Evaluate InstallShield 2010 Pro to generate the PRQ files and update the ISM by hand to reference the PRQ files ( way easier then #1 but still not for the faint of heart )
4) Engage a consultant to help you get this done. :-)