Making an executable out of a project

  • Thread starter Thread starter VM
  • Start date Start date
V

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.
 
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.
 
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
 
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 said:
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
 
VM said:
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
 
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 said:
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.
 
VM said:
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.
 
Back
Top