Click here to Skip to main content
15,915,082 members
Please Sign up or sign in to vote.
3.67/5 (3 votes)
See more:
sir,
i would very much like to know how to continue after compiling my C++ program code in order to create an executable file for installation. thanks
Posted
Updated 25-May-11 15:23pm
v2

What are you using for a compiler? In Visual Studio C++ you can publish it. (Under Build)

[Edit]
My apologies, the above solution is for VS C#.

For VS C++ you build it as a release not as a debug. This will create a folder called Release (go figure) that will contain your executable.
 
Share this answer
 
v2
Make a release executable and make sure you package with appropriate dll dependencies.

You can use dependency walker to figure out if there's any external dependencies.
http://wiki.imacros.net/Dependency_Walker[^]
http://download.cnet.com/Dependency-Walker/3000-2086_4-10052198.html[^]
 
Share this answer
 
At my company we use NSIS

http://nsis.sourceforge.net/Main_Page[^]

It use script to create an installation file and you can package all sorts of things in with it.
We use it for most of our tools so that they can be configured in the right way. Also you can create uninstall scripts so that users can remove it before installing a newer version of your software.
 
Share this answer
 
v2

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