473,385 Members | 1,615 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.

Distributing EXE

I have created a small executable that I want to copy to a couple of other
computers. I have read in this group that the machine needs to have the .Net
Framework in order to run. The machine I created this EXE on has:
Framework 1.1
Framework 1.1 Hotfix (KB886903)
Framework 2.0 Beta

If I move this EXE out of the application\bin folder to another location on
the hard drive it won't run. It will only run if it is in the bin folder. I
can move the whole bin folder to another location and it works just fine.
Assuming that the other computers have the Framework, what do I need to do to
be able to just copy the .EXE file to another machine to run? This was very
simple in VB 6.
Nov 21 '05 #1
3 1102
If you have no com stuff need to worry about, I think you should use the
windows installer comes with VS.net. It allows me to put the exe anywhere
and it is free :)
Anyway, Do you build it as release and copy the exe from the obj/release/
folder?

Egghead

"digger27" <di******@discussions.microsoft.com> wrote in message
news:0C**********************************@microsof t.com...
I have created a small executable that I want to copy to a couple of other
computers. I have read in this group that the machine needs to have the
.Net
Framework in order to run. The machine I created this EXE on has:
Framework 1.1
Framework 1.1 Hotfix (KB886903)
Framework 2.0 Beta

If I move this EXE out of the application\bin folder to another location
on
the hard drive it won't run. It will only run if it is in the bin folder.
I
can move the whole bin folder to another location and it works just fine.
Assuming that the other computers have the Framework, what do I need to do
to
be able to just copy the .EXE file to another machine to run? This was
very
simple in VB 6.

Nov 21 '05 #2
I actually do have some COM stuff. This EXE creates a task in Outlook, so I
have the Microsoft Outlook 10.0 reference in the project.
I did try using the EXE from the obj/release folder and it didn't work either.

"EggHead" wrote:
If you have no com stuff need to worry about, I think you should use the
windows installer comes with VS.net. It allows me to put the exe anywhere
and it is free :)
Anyway, Do you build it as release and copy the exe from the obj/release/
folder?

Egghead

"digger27" <di******@discussions.microsoft.com> wrote in message
news:0C**********************************@microsof t.com...
I have created a small executable that I want to copy to a couple of other
computers. I have read in this group that the machine needs to have the
.Net
Framework in order to run. The machine I created this EXE on has:
Framework 1.1
Framework 1.1 Hotfix (KB886903)
Framework 2.0 Beta

If I move this EXE out of the application\bin folder to another location
on
the hard drive it won't run. It will only run if it is in the bin folder.
I
can move the whole bin folder to another location and it works just fine.
Assuming that the other computers have the Framework, what do I need to do
to
be able to just copy the .EXE file to another machine to run? This was
very
simple in VB 6.


Nov 21 '05 #3
What other files are in the Bin directory? If there are any .dll files,
these need to be copied to the same directory as the .exe file.

"digger27" wrote:
I actually do have some COM stuff. This EXE creates a task in Outlook, so I
have the Microsoft Outlook 10.0 reference in the project.
I did try using the EXE from the obj/release folder and it didn't work either.

"EggHead" wrote:
If you have no com stuff need to worry about, I think you should use the
windows installer comes with VS.net. It allows me to put the exe anywhere
and it is free :)
Anyway, Do you build it as release and copy the exe from the obj/release/
folder?

Egghead

"digger27" <di******@discussions.microsoft.com> wrote in message
news:0C**********************************@microsof t.com...
I have created a small executable that I want to copy to a couple of other
computers. I have read in this group that the machine needs to have the
.Net
Framework in order to run. The machine I created this EXE on has:
Framework 1.1
Framework 1.1 Hotfix (KB886903)
Framework 2.0 Beta

If I move this EXE out of the application\bin folder to another location
on
the hard drive it won't run. It will only run if it is in the bin folder.
I
can move the whole bin folder to another location and it works just fine.
Assuming that the other computers have the Framework, what do I need to do
to
be able to just copy the .EXE file to another machine to run? This was
very
simple in VB 6.


Nov 21 '05 #4

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

Similar topics

2
by: Rick | last post by:
Hi all, I am writing a small PHP accounting and office management application and would like to learn how to "package" it for distribution. It requires the use of a small MySQL database which is...
4
by: Doug D | last post by:
Is there a way I can sell a PHP "module" without distributing the source code? I haven't heard of one, but if you have an idea, please let me know. thanks, -d
2
by: John Welch | last post by:
It happens much too often that I have to tell a client how to fix up missing references when I send them an application, especially if the client is distributing it to different users. It makes me...
0
by: BallCOMET | last post by:
I have an application that I built with Visual Studio 2005 and for which I enabled OpenMP. If I open the compiled binary in Visual Studio, this is the manifest that is embedded in the executable...
9
by: alf | last post by:
Hi, I have a small app which consist of a few .py files. Is there any way to distribute it in jar like fashion as a single file I can just run python on. I obviously look for platform...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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.