Distributing software programmed on visual C#.net 2003

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.
 
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]
- (e-mail address removed)

Matt said:
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.
 
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]
 

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

Back
Top