问题
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