Distributing EXE

G

Guest

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.
 
E

EggHead

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
 
G

Guest

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.
 
G

Guest

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top