Solved

Preparing For Release

Posted on 2003-11-21
11
250 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 250 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
 

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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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 44

Accepted Solution

by:
AndyAinscow earned 250 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 44

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 44

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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 Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

919 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now