Setup.exe installing prerequisites even if they are preinstalled

醉酒当歌 提交于 2019-12-08 08:45:16

问题


I am deploying a .NET application with .NET Framework 4.0 and VS 2010 C++ redistributable as prerequisites.

When the setup.exe runs in a machine with the prerequisites satisfied the bootstrapper install them again.

Is this a known issue? and what's the correct way to solve it?


回答1:


The solution is to edit the bootstrapper product.xml file to contain the correct product code for the Visual Studio C++ Redistributable.

See the post below which contains the steps to fix this:

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



来源:https://stackoverflow.com/questions/4797057/setup-exe-installing-prerequisites-even-if-they-are-preinstalled

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