?
Solved

Preparing For Release

Posted on 2003-11-21
11
Medium Priority
?
260 Views
Last Modified: 2013-11-20
I am looking to display my progress in my application to others on other machines that do not have visual studio .NET installed on them. How do I create a little package that I can port to other computers?
0
Comment
Question by:SGyves
  • 4
  • 4
  • 3
11 Comments
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 9799580
What exactly are you looking for? A progress bar? In a server client environment? If that's the case, the most platform independant solution would be to use a web page to display the progress (make it auto-refresh itself so that the user does not have to hit the refresh button over and over again).
0
 

Author Comment

by:SGyves
ID: 9800089
What I am talking about is just getting an exe that I can run on any computer. Not a progress bar. I want to take my application that I am programing and zip all the files up into a file that i can extract on any computer...and run. How can I make my application (.exe) run on any computer that does not have visual studio installed.
0
 
LVL 44

Assisted Solution

by:Karl Heinz Kremer
Karl Heinz Kremer earned 1000 total points
ID: 9800421
This document describes the deployment of .NET based applications (you mentionded VS.NET, so I assume this is what you want, for standard C++/MFC applications the process is a lot more straight forward):

 http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/DALGRoadmap.asp
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:SGyves
ID: 9800697
Well I haven't used any of the .NET features...this is just a MFC program.
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 9800798
In the most simplest case, just do a "Release" build and copy the .exe file from the Release directory to the other computers. If you don't need any other files, or registry settings for your executable this should work just fine. If you need more, you have to build an installer.
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 9800863
The following link contains a tuturial about how to create an installer:

http://www.c-sharpcorner.com/Code/2003/April/SetupProjects.asp
0
 
LVL 45

Accepted Solution

by:
AndyAinscow earned 1000 total points
ID: 9802157
There is an installer supplied with Visual Studio (maybe not if you have student or other 'small' version).  That you could use to build an installation package if you required one.
0
 

Author Comment

by:SGyves
ID: 9813978
I found that my problem was that I had asked VS to link the MFC librarys dynamically. That made it so I had to copy a couple of .dll's along with the .exe. I will have to play around with the VS install builder though. Looks cool.
0
 
LVL 45

Expert Comment

by:AndyAinscow
ID: 9816573
Usually you do have them linked dynamically.
0
 

Author Comment

by:SGyves
ID: 9818590
However, there is an option to link them statically when you create your project. This will make a larger .exe but it will be your only file. At least I think this is the way it works.
0
 
LVL 45

Expert Comment

by:AndyAinscow
ID: 9818641
Correct.
However many dll's are often on the users PC (as part of the OP system) and so do not need to be distributed.
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

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

Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

864 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