472,805 Members | 1,605 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,805 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 1081
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: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

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.