Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VC10.0
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 20-Nov-11 23:23pm
Edited 20-Nov-11 23:47pm
v2

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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
  Permalink  
v2
Comments
Gokulnath007 at 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)

  Print Answers RSS
0 OriginalGriff 319
1 Kornfeld Eliyahu Peter 265
2 Maciej Los 249
3 BillWoodruff 205
4 Sergey Alexandrovich Kryukov 175
0 OriginalGriff 5,107
1 DamithSL 4,157
2 Maciej Los 3,595
3 Kornfeld Eliyahu Peter 3,450
4 Sergey Alexandrovich Kryukov 2,741


Advertise | Privacy | Mobile
Web02 | 2.8.141216.1 | Last Updated 21 Nov 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100