Discussion:
how to deploy console application?
(too old to reply)
Daniel
2008-07-02 10:06:48 UTC
Permalink
I have created a Win32 Console Application in Visual C++, and I'd like to
run the solution on a computer that doesn't have Visual C++ installed on it?
What do I need to do? Is there some sort of deployment wizard in Visual
C++?

Daniel
David Wilkinson
2008-07-02 10:39:51 UTC
Permalink
Post by Daniel
I have created a Win32 Console Application in Visual C++, and I'd like to
run the solution on a computer that doesn't have Visual C++ installed on it?
What do I need to do? Is there some sort of deployment wizard in Visual
C++?
Daniel:

Change the Release mode project setting to use static linking (/MT).

Project Settings->Configuration Properties->C/C++->Code Generation->Runtime library

Then you should just be able to use your .exe on another machine.
--
David Wilkinson
Visual C++ MVP
unknown
2009-12-01 05:24:20 UTC
Permalink
I've just gotten Visual Studio 2008.
I wrote my first c++ console app. It runs perfectly.
I too wish to deploy it as a stand alone app runnable on
any machine.

Let's say I have the solution opened in the IDE. I want to deploy it. Can you tell me as if I were blind what I am to do? Click here, press this key, enter this...

Also, is there a book or other place where I can get this kind of instruction? I once took a VB course and this is exactly the kind of book we used. It was a great class. I could do eveything!

Thanks.

PF



David Wilkinson wrote:

Re: how to deploy console application?
02-Jul-08

Daniel wrote:

Daniel:

Change the Release mode project setting to use static linking (/MT).

Project Settings->Configuration Properties->C/C++->Code Generation->Runtime library

Then you should just be able to use your .exe on another machine.
--
David Wilkinson
Visual C++ MVP

Previous Posts In This Thread:

On Wednesday, July 02, 2008 6:06 AM
Daniel wrote:

how to deploy console application?
I have created a Win32 Console Application in Visual C++, and I'd like to
run the solution on a computer that doesn't have Visual C++ installed on it?
What do I need to do? Is there some sort of deployment wizard in Visual
C++?

Daniel

On Wednesday, July 02, 2008 6:39 AM
David Wilkinson wrote:

Re: how to deploy console application?
Daniel wrote:

Daniel:

Change the Release mode project setting to use static linking (/MT).

Project Settings->Configuration Properties->C/C++->Code Generation->Runtime library

Then you should just be able to use your .exe on another machine.
--
David Wilkinson
Visual C++ MVP


Submitted via EggHeadCafe - Software Developer Portal of Choice
Silverlight 2 Beta 2: Doing Data Part VI: A Generic Request WebService
http://www.eggheadcafe.com/tutorials/aspnet/0b1e34fd-f73c-43dc-bbcb-8778386d32b5/silverlight-2-beta-2-doi.aspx
David Wilkinson
2009-12-01 11:19:27 UTC
Permalink
Post by unknown
I've just gotten Visual Studio 2008.
I wrote my first c++ console app. It runs perfectly.
I too wish to deploy it as a stand alone app runnable on
any machine.
Let's say I have the solution opened in the IDE. I want to deploy it. Can you tell me as if I were blind what I am to do? Click here, press this key, enter this...
Also, is there a book or other place where I can get this kind of instruction? I once took a VB course and this is exactly the kind of book we used. It was a great class. I could do eveything!
Thanks.
PF
Re: how to deploy console application?
02-Jul-08
Change the Release mode project setting to use static linking (/MT).
Project Settings->Configuration Properties->C/C++->Code Generation->Runtime library
Then you should just be able to use your .exe on another machine.
Pierre:

What is wrong with the instructions I gave Daniel on 02-Jul-08? That's all there
is to it for simple applications.

Or is it that you do not know where to find the release mode executable in your
file system?
--
David Wilkinson
Visual C++ MVP
Loading...