Click here to Skip to main content
15,892,674 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hello!

I am trying to install .net 2.0 on XP, but when it finishis unpacking, it does nothing. No errorcode, nothing. Just closes the unpacker window, and stops there. I can't get why. I don't know what else could I write about this problem, so feel free to ask.
Posted

1 solution

It is possible that the correct .NET framework is already installed, and the installer has nothing more to do.
You can check quite easily, but you need IE (if definitely doesn't work in Chrome)

Bring up IE and paste into the address bar:
javascript:alert(navigator.userAgent)
Press ENTER.
You will get a popup saying something along the lines of:
Mozilla/4.0 (compatible; MSIE8.0; Windows NT 5.1; Trident/4.0;
Followed by a number of ".NET CLR" versions. If 2.0 is in there (and it is quite probable) then the installer just didn't need to do anything!
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 28-Apr-11 15:05pm    
Ha! What a funny method of detection of the Framework. Like it! My 5.
--SA
OriginalGriff 28-Apr-11 15:09pm    
Well, you can't write a C# program to do it... :laugh:
Sergey Alexandrovich Kryukov 28-Apr-11 16:02pm    
That probably would be exactly my first thought: write an application for each target platform and watch which of the applications would show a spectacular failure. :-)
--SA
Rick Shaub 28-Apr-11 15:07pm    
Good answer.
velvet7 28-Apr-11 15:09pm    
Actually, I haven't think about it already, maybe you are right. I will check it tomorrow (because the computer is far away from me). First when I started my c# application it threw an error, and I thought it was the framework, but then no. Well, tomorrow I check that error code again.
Thanks, question answered.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900