473,793 Members | 2,948 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

create executable

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)
Nov 16 '05 #1
2 6836

"Sarah" <Sa***@discussi ons.microsoft.c om> wrote in message
news:39******** *************** ***********@mic rosoft.com...
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
Nov 16 '05 #2
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

"Tim Anderson" <ti*****@hotmai l.com> wrote in message
news:ev******** ******@TK2MSFTN GP12.phx.gbl...

"Sarah" <Sa***@discussi ons.microsoft.c om> wrote in message
news:39******** *************** ***********@mic rosoft.com...
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

Nov 16 '05 #3

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

Similar topics

1
1151
by: m_muse | last post by:
Hi, I want to know how can I create 2 executable files with one workspace on VC++. I want to create two executable files just by one active project. Thanks in advance
3
11747
by: amruta | last post by:
How do I create an executable and also may be install file using VB .NET. Thank you.
3
7721
by: Conrad | last post by:
Hi, it seems that I have the following issue when trying to create a symbolic link within a script: FROM COMMAND LINE: The owner is set to myself. Thus, it works. FROM WEB PAGE: It doesn't work as expected. I know that it runs as one user at the command line and a different user from the web page. Thus, is it possible to do the following within the script:
9
45799
by: infobescom | last post by:
currently we have created an MS access application and we want to create an executable of it we did it this way tools menu -> datadase utilities ->make MDE file we have got an MDE format of the application and when we load it in another system we are not able to run this MDE file in that system .We have tried to run this MDE file on system having Access and without access but its not wrking any where else other than in our system.. ...
7
1729
by: =?Utf-8?B?YW5kZXJzY2g=?= | last post by:
Hi It is possible to create an .exe file at runtime with .NET 2.0? I would like to create a .exe that should include: - an encrypted file - a simple winform to decrypt the included encrypted file (already compiled as .exe)
3
3951
by: sanghavi | last post by:
how to create a set up project in vb.net..how to run an application on a different machine
1
1731
by: mohaaron | last post by:
Hello all, This might seem like an odd question but I would like to know how to create a standalone executable. I'm using vs.net 2005 and the closest project template I can find for what I want is a console application. The console application is not what I want as I don't want a command prompt opening up. I just want a plain executable that I can run from a SQL Server 2000 DTS package using the Execute Process Task. Can anyone tell me...
0
1148
by: vedrandekovic | last post by:
Hello, Is there any example how can I create executable from executable with py2exe.For example if I create main executable with some TextEntry ( wxpython ) and then when i write this code into this entry: import os print os.getcwd() print "ok"
0
1226
by: singhPrabhat | last post by:
Hi, I am using 64-bit linux box (Open Suse 10.3 ). I want to create executable for windows box. how can I use Makefile to create executable for windows? I can see some .dll files which I seem required at time of linking libeay32.dll msvcr71.dll
2
3129
by: kirthi.amudha | last post by:
Hi, I have app dev client installed on my machine. Can we create the sample database using db2sampl. I was able to create database using the 'Create Database' command. But I am not able to create Sample database using db2sampl.
0
9670
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9518
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10430
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10211
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10159
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6776
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5436
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5560
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3719
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.