适用于Visual Studio 2012的Visual C ++运行时的引导程序 [英] Bootstrapper for Visual C++ runtime for Visual Studio 2012
问题描述
我正在使用GenerateBootstrapper-task为WIX安装项目创建引导程序.除其他外,此引导程序还应注意安装Visual C ++运行时库.
到目前为止,我在Windows 7上使用了Visual Studio2010.在这里,通过添加"Microsoft.Visual.C ++.10.0.x64",一切都可以正常工作.或"Microsoft.Visual.C ++.10.0.x86"到BootstrapperItems.现在我切换到Visual Studio 2012和Windows
8,我不知道如何告诉引导程序安装适当的Visual C ++运行时.
指定"Microsoft.Visual.C ++.11.0.x64".不起作用.通常,我会查找< SDKs \ Bootstrapper \ Packages \ vcredist文件夹,并查找"product.xml"以查找要指定的产品代码.但是我在追随时遇到了麻烦
新系统中的这种模式:文件夹'vcredist_x64'和'vcredist_x86'中没有'product.xml'-只是一个包含'package.xml'的'en'子文件夹. < SDKs \ gt; \ Bootstrapper \ Packages中的所有其他软件包看起来都不错,并在其中包含"product.xml"
根.
有人遇到过同样的事情吗?有关如何解决此问题的一些想法?
在此先感谢
Hi,
I'm using the GenerateBootstrapper-task to create a bootstrapper for a WIX setup project. Among other things this bootstrapper should take care about installing the Visual C++ Runtime Libraries.
Up to now I used Visual Studio 2010 on Windows 7. Here everything worked fine by adding "Microsoft.Visual.C++.10.0.x64" or "Microsoft.Visual.C++.10.0.x86" to BootstrapperItems. Now I switched to Visual Studio 2012 and Windows
8 and I cannot figure out how to tell the bootstrapper to install the appropriate Visual C++ runtime.
Specifying "Microsoft.Visual.C++.11.0.x64" doesn't work. Normally I would look up the <SDKs>\Bootstrapper\Packages\vcredist folder and look for a 'product.xml' to find out the product code to specify. But I'm having troubles following
this pattern in the new system: there is no 'product.xml' in the folders 'vcredist_x64' and 'vcredist_x86' - just an 'en' subfolder containing a 'package.xml'. All the other packages in <SDKs>\Bootstrapper\Packages look ok and have a 'product.xml' in
the root.
Did someone encounter the same thing? Some ideas how to fix this?
Thanks in advance
推荐答案
这篇关于适用于Visual Studio 2012的Visual C ++运行时的引导程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!