Setup.exe installing prerequisites even if they are preinstalled
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 t开发者_如何学Pythono solve it?
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
精彩评论