Visual C++ 2010 Runtime Libraries prerequisite keeps popping up on a VS 2010 created installer

早过忘川 提交于 2019-11-28 18:20:00

This happens because the prerequisite detection criteria is incorrect.

A solution is to create your own custom prerequisite with a correct criteria. Perhaps this article will help: http://blogs.msdn.com/b/astebner/archive/2010/05/05/10008146.aspx

Visual Studio setup projects do not support this. But it can be done by manually generating the required manifests.

You can find the manifests structure here: http://msdn.microsoft.com/en-us/library/ms229223(VS.80).aspx

These manifests can be generated automatically with the Bootstrapper Manifest Generator tool.

After generating the package manifests, you can add all these files (including the package) in a separate folder in the Visual Studio prerequisites folder, for example:

C:\Program Files\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages\

You can then select the prerequisite in your setup project properties page.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!