create executable

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi,

how can u make an executable that also has the .dll files?

i was told to try:
1) Create your Windows/Asp application.
2) Create a setup project/web setup project in the same solution as ur
Windows/Asp application.
3) Build the setup project you will get a setup file for the application you
have done.
4) You can install it on any machine you want.


BUT.... when I create the setup project in the same solution and then BUILD
it.. I get an installation message that its configuring VS .NET 2003 and then
it has an error and stops!?!?!!

Is there any other way for me to get the EXE. (INCLUDING the .dll's)
 
BUT.... when I create the setup project in the same solution and then
BUILD
it.. I get an installation message that its configuring VS .NET 2003 and
then
it has an error and stops!?!?!!

Is there any other way for me to get the EXE. (INCLUDING the .dll's)

First, it sounds like your VS.NET 2003 installation is somewhat broken, so
I'd fix that if possible.

Second, have a look in the \bin\Release folder of your project. Normally
you'll find the EXE and any DLL dependencies there - aside from those that
are part of the .NET Framework itself. For simple apps, you could deploy as
follows:

- Make sure .NET is installed on the target (run dotnetfx.exe).

- Copy the contents of the Release folder to a folder on the target PC.

- Double-click the application executable to run.

Of course there are also plenty of alternative installer tools out there,
some free.

Tim

..NET Pros and Cons discussed:
http://www.itwriting.com/phorum/list.php?f=6
 
Also make sure you're copying your referenced DLL's locally, or they won't
be copied to the \bin\Release folder.

For deployment, Inno Setup is a full-featured free installer. I believe the
website is http://www.jrsoftware.org.

Thanks,
Michael C., MCDBA
 
Back
Top