468,720 Members | 1,759 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

Distributing software programmed on visual C#.net 2003

I have made a program which has an instillation of about 0.5 MB, and am now ready to put in online. The problem I have though is that if i try to run it on another computer it comes up with the message, "The application failed to initialize properly (0xc0000135). Click on OK to terminate the application." After searching on microsoft's website, I found a program called dotnetfix, which allows it to run on that machine, the problem is though that this was over 23 MB! Is there a smaller version of this which I can package with my program?

The fix is 46 times the size of my program, which would probably put a lot of people off downloading it.
Nov 16 '05 #1
5 1162
Matt,

Unfortunately, no, there is not. When writing managed applications, you
will need to distribute the .NET runtime (which is the 23 MB file that you
see). This is required to run managed applications.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Matt" <an*******@discussions.microsoft.com> wrote in message
news:1F**********************************@microsof t.com...
I have made a program which has an instillation of about 0.5 MB, and am now ready to put in online. The problem I have though is that if i try to
run it on another computer it comes up with the message, "The application
failed to initialize properly (0xc0000135). Click on OK to terminate the
application." After searching on microsoft's website, I found a program
called dotnetfix, which allows it to run on that machine, the problem is
though that this was over 23 MB! Is there a smaller version of this which I
can package with my program?
The fix is 46 times the size of my program, which would probably put a lot

of people off downloading it.
Nov 16 '05 #2
Matt,

Unfortunately, no, there is not. When writing managed applications, you
will need to distribute the .NET runtime (which is the 23 MB file that you
see). This is required to run managed applications.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Matt" <an*******@discussions.microsoft.com> wrote in message
news:1F**********************************@microsof t.com...
I have made a program which has an instillation of about 0.5 MB, and am now ready to put in online. The problem I have though is that if i try to
run it on another computer it comes up with the message, "The application
failed to initialize properly (0xc0000135). Click on OK to terminate the
application." After searching on microsoft's website, I found a program
called dotnetfix, which allows it to run on that machine, the problem is
though that this was over 23 MB! Is there a smaller version of this which I
can package with my program?
The fix is 46 times the size of my program, which would probably put a lot

of people off downloading it.
Nov 16 '05 #3
Hi Matt,

It's not fix, but fx, so it's not a patch.

The error message you get is what happens when you try to run a .Net
program on a computer that doesn't have .Net Framework installed. It's
like shipping games that require DirectX 9 to run, you need to install
DirectX 9 before it will run, so the games usually ship the DirectX
installation files with the game.

dotnetfx is the installation file for .Net Framework. Like DirectX, it'sa
one time installation and only required if .Net Framework isn't already
installed.

Instead of shipping dotnetfx with your program you can tell people to
install it using Windows Update or download the file from Microsoft (note
the file is language specific, but as far as I know only error message are
affected).
Happy coding!
Morten Wennevik [C# MVP]
Nov 16 '05 #4
Hi Matt,

It's not fix, but fx, so it's not a patch.

The error message you get is what happens when you try to run a .Net
program on a computer that doesn't have .Net Framework installed. It's
like shipping games that require DirectX 9 to run, you need to install
DirectX 9 before it will run, so the games usually ship the DirectX
installation files with the game.

dotnetfx is the installation file for .Net Framework. Like DirectX, it'sa
one time installation and only required if .Net Framework isn't already
installed.

Instead of shipping dotnetfx with your program you can tell people to
install it using Windows Update or download the file from Microsoft (note
the file is language specific, but as far as I know only error message are
affected).
Happy coding!
Morten Wennevik [C# MVP]
Nov 16 '05 #5
Thanks
Nov 16 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

10 posts views Thread by John Phelan | last post: by
reply views Thread by Bryant Francis | last post: by
reply views Thread by BallCOMET | last post: by
1 post views Thread by Oskars | last post: by
9 posts views Thread by bryonone | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.