468,771 Members | 1,827 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,771 developers. It's quick & easy.

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 1009
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Rick | last post: by
4 posts views Thread by Doug D | last post: by
reply views Thread by BallCOMET | last post: by
1 post views Thread by Marin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.