添加先决条件 Visual C++运行时可再分发
我在为 Windows 7 安装 Visual C++ 运行时库时遇到问题。 我使用 installshield 2010 准备安装,他们可以选择将 Visual C++ 2010 设置为先决条件,但没有 VC++ 2008 的选项。
我如何创建(或任何人已经创建的).prq 文件,以便我可以构建我的应用程序。
请尽快帮助我。
I have problem during installing visual c++ runtime libraries for windows 7.
I prepare the setup using installshield 2010,their is an option to set visual c++ 2010 as prerequisites but no option for VC++ 2008.
How I can create(or anybody created already) .prq file, so that I can build my application.
Please help me as soon as possible.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您可以使用已安装的 .prg 文件之一(默认位置 c: \Program Files (x86)\InstallShield\2012SpringLE\SetupPreventions) 并根据您的需要更改此链接。例如:
InstallShield 2012 LE 中也缺少 Visual C++ 2010 Redistributable Package (x64): http://saturn.installshield.com/is/preconditions/microsoft Visual C++ 2010 可再发行组件包 (x64).prq
重要提示:我的 Visual Studio 2012 + InstallShield 2012 LE 没有列出新的 x64 可再发行组件及其默认名称。解决方案:只需更改文件名即可。
You can download the prerequisite files using the link from the AltPrqURL attribute from one of the installed .prg files (default location c:\Program Files (x86)\InstallShield\2012SpringLE\SetupPrerequisites) and change this link according to your needs. e.g.:
The Visual C++ 2010 Redistributable Package (x64) is also missing from InstallShield 2012 LE: http://saturn.installshield.com/is/prerequisites/microsoft visual c++ 2010 redistributable package (x64).prq
Important: my Visual Studio 2012 + InstallShield 2012 LE did not list the new x64 redistributables with their default name. Solution: just change the file names.
您可以使用 VC++ 2010 prq 文件并对其进行编辑。下载 VC++ 2008 并将其放在适当的文件夹中。通过更新条件以及可执行文件的源来更新 prq 文件。
You can use your VC++ 2010 prq file and just edit it. Download the VC++ 2008 and place it on the appropriate folder. Update the prq file by updating the condition as well as the source for your executable file.
我也遇到了同样的问题,在网上找到了VC++ 2008的.prq文件,文件内容是这样的:
这个文件应该保存到
C:\XXX\InstallShield\YYYY\SetupPrecessions\ 为
Microsoft Visual C++ 2008 SP1 Redistributable Package (x86).prq
。重新启动您的 IS,它应该出现在可再发行选项中。您还可以使用 InstallShield 先决条件编辑器更改某些选项或创建新选项。I had the same problem, and I found the .prq file on the Internet for VC++ 2008. This is the content of the file:
This file should be saved into
C:\XXX\InstallShield\YYYY\SetupPrerequisites\
asMicrosoft Visual C++ 2008 SP1 Redistributable Package (x86).prq
. Restart your IS an it should be appear in the redistributable option. You could also use InstallShield Prerequisite Editor to change some options or create a new one.