Click here to Skip to main content
15,894,252 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am using Visual Studio 2008 Setup project to deploy some C++ application. The application was created by VC++ 6.0 and does not require any .NET framework. However during installation it is asking to install .NET framework. It is a problem with some Asian customers who have difficulty to install .NET. Any idea why Setup project requires .NET while the application being installed does not?

Thanks for any input,

Alex
Posted

1 solution

In the setup project go to the 'Launch Conditions'.
Select your project in the solution explorer and on the top bar it's the far right icon.

You'll most likely see the launch condition '.NET Framework'.
Delete it.

Warning you'll only be able to delete it if there is no dependency for it.
You can check that in the folder 'Detected Dependencies'.
If the 'Microsoft .NET Framework' dependency is present it means the setup project has detected that the .NET framework is needed for some reason.
If you are sure it's not needed you can try to 'refresh dependencies'.
Right click on the 'Detected Dependencies' and click on 'Refresh dependencies'
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900