Click here to Skip to main content
15,885,767 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have done a project in Visual studio 2010, Visual C++ project. How to bind and deploy the project into a single exe which could run on all machines, including machines not having Visual Studio. I would like to make this exe to work in any machine without any dlls in that folder, or framework installation, Just the standalone exe, a single click should run the application without any dependencies
Posted
Updated 20-Nov-11 22:47pm
v2

1 solution

There are different ways of deploying of a product, which I don't want to discuss because you did not explain your requirements. I would personally prefer just to copy a file to a target machine, but .EXE is supposed to be able to work like that.

Anyway, Visual Studio is never required on the target machine. Never. In worse case, you need to install so called "Visual Studio re-distributable" bundled with each version of Visual Studio. You have a right of unlimited re-distribution with your product.

Everyone can download the re-distributable package free of charge. For example: http://www.microsoft.com/download/en/details.aspx?id=5555[^].

—SA
 
Share this answer
 
v2
Comments
Gokulnath007 21-Nov-11 4:47am    
I would like to make this exe to work in any machine without any dlls in that folder, or framework installation, Just the standalone exe, a single click should run the application without any dependencies.

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