473,385 Members | 1,829 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Making an executable out of a project

VM
I'm trying to make an executable that contains as few files as possible.
What would I need to do that?
The client really wants one file (the EXE file) that contains everything -so
they can move that file from one PC to another very easilty- but I don't
know if that's really possible.
I tried copying the whole dir (and run the exes in debug or release dirs)
but it didn't work out.
My goal is to be able to run the app in another computer. How would I do
that?

Thank you.
Nov 15 '05 #1
6 3944
Use C or delphi. Dot net requires the dot net framework to be installed and various other things depending on the OS and the
components you use. This is just the way it is with dot net. However, once you've got the framework installed you can just copy the
app from machine to machine. I would just tell the client that what he wants is not possible unless he is willing to spend the $ for
a full rewrite. Once you quote him the amount he'll be happy to not be able to copy it around.

--
Michael Culley
"VM" <Vm> wrote in message news:eF**************@tk2msftngp13.phx.gbl...
I'm trying to make an executable that contains as few files as possible.
What would I need to do that?
The client really wants one file (the EXE file) that contains everything -so
they can move that file from one PC to another very easilty- but I don't
know if that's really possible.
I tried copying the whole dir (and run the exes in debug or release dirs)
but it didn't work out.
My goal is to be able to run the app in another computer. How would I do
that?

Thank you.

Nov 15 '05 #2
You can take a look of our new tool, Salamander .NET Linker and
Mini-Deployment Tool, it links mutilple assemblies together, and figures out
all dependencies, then puts a minimum set of CLR files for distribution. You
can simply copy the resulting folder to any machines w/o framework
installation. Typically a windows forms app will result in about 5MB zip
file. You can unzip the files onto a CD, and your app runs fine on any
machines that .NET supports (namely win98, NT, W2K, XP)

http://www.remotesoft.com/linker/index.html

(next step is to natively compile everything into a single EXE, coming soon)

Huihong

"VM" <Vm> wrote in message news:eF**************@tk2msftngp13.phx.gbl...
I'm trying to make an executable that contains as few files as possible.
What would I need to do that?
The client really wants one file (the EXE file) that contains everything -so they can move that file from one PC to another very easilty- but I don't
know if that's really possible.
I tried copying the whole dir (and run the exes in debug or release dirs)
but it didn't work out.
My goal is to be able to run the app in another computer. How would I do
that?

Thank you.

Nov 15 '05 #3
VM
This is a new application that I decided to write in C#. What if I want to
install the application in 200 different PCs? What would I need to do?
I can't go to the 200 different clients and tell them "you need to install
this before running my application.".
Can I install it along with the application?

And I thought using C# would've been better than using VB6...

Thanks.
"Michael Culley" <mc*****@NOSPAMoptushome.com.au> wrote in message
news:ui**************@TK2MSFTNGP10.phx.gbl...
Use C or delphi. Dot net requires the dot net framework to be installed and various other things depending on the OS and the components you use. This is just the way it is with dot net. However, once you've got the framework installed you can just copy the app from machine to machine. I would just tell the client that what he wants is not possible unless he is willing to spend the $ for a full rewrite. Once you quote him the amount he'll be happy to not be able to copy it around.
--
Michael Culley
"VM" <Vm> wrote in message news:eF**************@tk2msftngp13.phx.gbl...
I'm trying to make an executable that contains as few files as possible.
What would I need to do that?
The client really wants one file (the EXE file) that contains everything -so they can move that file from one PC to another very easilty- but I don't
know if that's really possible.
I tried copying the whole dir (and run the exes in debug or release dirs) but it didn't work out.
My goal is to be able to run the app in another computer. How would I do
that?

Thank you.


Nov 15 '05 #4
"VM" <Vm> wrote in message news:eZ**************@TK2MSFTNGP11.phx.gbl...
I can't go to the 200 different clients and tell them "you need to install
this before running my application.".
Well you can, Microsoft do it to millions of clients :-) Once they have installed the dot net framework then all they need to do is
copy on your app. If you don't want to make it a 2 step process then you can make an installer that combines the 2 tasks.
And I thought using C# would've been better than using VB6...


It is, just the install is bigger :-)

Michael Culley
Nov 15 '05 #5
VM
The problem is that the last application the client had custom-made was in
MS VC.
And I assume that in MS VC you can create an executable that contains
everything since he told me that the only thing he needed to do was copy the
EXE file from one PC to another and double-click. And it would run.

"Michael Culley" <mc*****@NOSPAMoptushome.com.au> wrote in message
news:%2******************@TK2MSFTNGP11.phx.gbl...
"VM" <Vm> wrote in message news:eZ**************@TK2MSFTNGP11.phx.gbl...
I can't go to the 200 different clients and tell them "you need to install this before running my application.".
Well you can, Microsoft do it to millions of clients :-) Once they have

installed the dot net framework then all they need to do is copy on your app. If you don't want to make it a 2 step process then you can make an installer that combines the 2 tasks.
And I thought using C# would've been better than using VB6...


It is, just the install is bigger :-)

Michael Culley

Nov 15 '05 #6
"VM" <Vm> wrote in message news:ew**************@TK2MSFTNGP09.phx.gbl...
The problem is that the last application the client had custom-made was in
MS VC.
And I assume that in MS VC you can create an executable that contains
everything since he told me that the only thing he needed to do was copy the
EXE file from one PC to another and double-click. And it would run.


That's correct, although it depends on what you want to do with the app. If the app is fairly simple then a single file will be
possible but if it does something like connect to sqlserver then you will need components to be installed. If you don't know C then
you could use delphi or just tell him it is not possible.

--
Michael Culley
Nov 15 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

17
by: Filipe Martins | last post by:
Hello. I've read somewhere that the executable is smaller if we use a source file for each function! So, I tested this with gcc and it seams to confirm! What seams to happen is that if we call...
1
by: Scott Chang | last post by:
Hi all, I loaded the following program 'HelloMCPP' to my MS VC++ .NET (2002) that is installed on my Windows XP Professional PC: ------------------------------------- AssemblyInfo.cpp...
7
by: Wysiwyg | last post by:
Is there any way to add an embedded resource to a project without copying it to the project's directory? I have shared resources and don't want each project using the images, xml files, etc. to...
3
by: Gustavo L. Fabro | last post by:
Greetings! I'm a newbie in Visual C++ .NET (have programmed in Borland C++ and Builder for long) and I am trying to do a very simple thing, but I'm stuck. I created an (unmanaged) DLL project...
2
by: Karthik | last post by:
Hello, How do I create an .exe file from a VC++ program (using VS 6.0). I understand U need to compile the program and that will make an exe file. I did that. When I try to build the file, I get...
4
by: Chelonian | last post by:
I'm considering trying to learn Python for a specific reason, and hoped the group might help me get a sense for whether it would be worth my time. The situation... Me: total beginner w/ a...
2
by: Vikter | last post by:
Hey, I've done some vb 6.0 and atleast can make a project executable. However i cant do it in vb.net. How does one create a project executable in Vb.net. From...
3
by: Mo | last post by:
Hi, Is there a way to include an executable (xxx.exe) file inside a c# console project so that the resulting project binary have only one final executable file? My c# console application is...
5
by: Andy B | last post by:
I am trying to figure out how to make an object instance available for all methods of a class. I tried to do something like this: public class test { TheObject Instance = new TheObject();...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.