Solved

Preparing For Release

Posted on 2003-11-21
11
249 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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
method notes when mouse over in eclipse 5 68
Hibernate methods 2 58
bigDiff challenge 17 75
How to convert MFC::CString to UTF8 wchar_t* 10 96
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

758 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

13 Experts available now in Live!

Get 1:1 Help Now