Solved

Deployment of C/C++ Project in VS2010

Posted on 2011-03-03
4
523 Views
Last Modified: 2012-05-11
Hello,

I was wondering if there's any standard way that I can take a C/C++ program that I've developed in VS2010 and deploy it to a stand-alone machine?

Thanks
0
Comment
Question by:--TripWire--
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 16

Assisted Solution

by:HooKooDooKu
HooKooDooKu earned 40 total points
ID: 35030443
If you own all the source code (i.e. not using any third party tools), then you only need to do a simple file copy of your EXE and any supporting DLLs you've written.  About the only limitation is that if you've used any of the GDI+ functionallity that is in MFC (for example, the CImage class), then your application will only work on a Windows XP or higher machine unless someone has installed the GDI+ on earlier machines.  (My MFC C++ application works on all XP and above machines with a simple file copy, while it only works on about half the Windows 2000 machines I've ever tested).
0
 

Author Comment

by:--TripWire--
ID: 35030660
Do you happen to know where the EXE is stored?  Also, do I have to make copies of all my library header files too?
0
 

Author Comment

by:--TripWire--
ID: 35031765
I've tried doing this, but there's there's no file with just the ."exe" extension.

http://answers.yahoo.com/question/index?qid=20080211212459AA9RQJV
0
 
LVL 7

Accepted Solution

by:
JimBeveridge earned 60 total points
ID: 35039633
If the EXE isn't there, then you need to build the application in Visual Studio. You need to build the "Release" version, not the Debug version. If the EXE isn't being built, it's probably because there are errors.

For distribution, I recommend starting with something like Advanced Installer that knows how to read the Visual Studio solution file and automatically generate a setup application with the correct DLLs.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you thought about creating an iPhone application (app), but didn't even know where to get started? Here's how: ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Important pre-programming comments: I’ve never tri…
Examines three attack vectors, specifically, the different types of malware used in malicious attacks, web application attacks, and finally, network based attacks.  Concludes by examining the means of securing and protecting critical systems and inf…
The goal of this video is to provide viewers with basic examples to understand recursion in the C programming language.
The goal of this video is to provide viewers with basic examples to understand how to use strings and some functions related to them in the C programming language.

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question