.NET Framework 3.5 Installation validation tool


If you want to detect if your .NET Framework 3.5 installation was successful, you can use this tool to verify that the right versions are installed.


Instructions:


1. Download the following file to your computer: http://cid-e7f319723234fb5c.skydrive.live.com/self.aspx/Public/netfx35tools/NetFx35_detect_issues.bat


2. Open a command prompt by doing start -> run and type cmd.


3. enter the full path to where the script runs.


What is happening:


This script will check the registry for the right versions of the .NET Framework 3.5, .NET Framework 3.0 SP1 & .NET Framework 2.0 SP1.  they are not there then it will return what it did find and let you know that an error happened.


Further on Vista, it will tell you if you have appropriately installed .NET Framework 2.0 SP1 & 3.0 SP1.


 Return codes:


0 == Success


>0 == Failure

Comments (17)

  1. One of my colleages, Aaron Ruckman , has created and posted a tool that can be used to verify the installation

  2. One of my colleages, Aaron Ruckman , has created and posted a tool that can be used to verify the installation

  3. See Win App says:

    We’ve been seeing some issues where VS 2008 crashes when creating a new WPF project. The underlying issue

  4. We've been seeing some issues where VS 2008 crashes when creating a new WPF project. The underlying

  5. We’ve been seeing some issues where VS 2008 crashes when creating a new WPF project. The underlying issue

  6. Visual Studio 2008 Installation Validation Tool I don't know how many of you have started to work

  7. .net_2.0 says:

    I recently upgraded from Windows 2003 to Windows 2008. Note keyword was upgraded. Other than having to

  8. A couple of days ago I reinstalled VS 2008 RTM version and I happily tried to create a website. Unfortunately,

  9. jsmarsch says:

    Looks like a useful tool, BUT:  could you please post it in a zip file?

    Some unfortunate souls (like me) are sitting behind corporate web filters that block batch files, script files, exes, etc.  

  10. Rick Mortensen says:

    I’m on VistaSp1.  I’ve installed VS 2008, but discovered VS 2008 Sp1 doesn’t install.  Drilling into it, discovered problem was .net 3.5 sp1 didn’t install, with following errors.  I ran this .NET Framework 3.5 Installation validation tool, and get the following error msg:

    ERROR: NetFx2.0 SP1 is not installed

    Of course I can’t install sp for 2.0, as your other blog entry describes.

    Installing .net 3.5 SP1 encounters the following errors:

    [03/06/09,09:23:19] Microsoft .NET Framework 3.0SP1 (CBS): [2] Error: Installation failed for component Microsoft .NET Framework 3.0SP1 (CBS). MSI returned error code -2146498536

    [03/06/09,09:39:21] Microsoft .NET Framework 3.0SP1 (CBS): [2] Error: Installation failed for component Microsoft .NET Framework 3.0SP1 (CBS). MSI returned error code -2146498536

    [03/06/09,10:07:20] Microsoft .NET Framework 3.0SP1 (CBS): [2] Error: Installation failed for component Microsoft .NET Framework 3.0SP1 (CBS). MSI returned error code -2146498536

    [03/06/09,10:49:14] Microsoft .NET Framework 3.0SP1 (CBS): [2] Error: Installation failed for component Microsoft .NET Framework 3.0SP1 (CBS). MSI returned error code -2146498536

    [03/06/09,10:49:20] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0SP1 (CBS) is not installed.

    [03/06/09,11:01:31] Microsoft .NET Framework 3.0SP1 (CBS): [2] Error: Installation failed for component Microsoft .NET Framework 3.0SP1 (CBS). MSI returned error code -2146498536

    [03/06/09,11:52:18] Microsoft .NET Framework 3.0SP1 (CBS): [2] Error: Installation failed for component Microsoft .NET Framework 3.0SP1 (CBS). MSI returned error code -2146498536

    [03/06/09,11:52:26] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0SP1 (CBS) is not installed.

    Of course, attempting to install 3.0sp1 on vista gets the same error.  Help please!!!

  11. Rick Mortensen says:

    Forgot to mention that Windows Update is enabled, and states I’m all up to date.

  12. aaronru says:

    Please note that this tool in its current release does not support detecting NetFx3.5 SP1

  13. alicorn2 says:

    Hi Aaron,

    Thanks for this!  I wasn’t quite sure what the output meant (included for your reference below) but it gave me the hint to download & repair my .net framework 3.5 sp1 installation.  I still get the same response as below from your tool (as you mentioned above that’s not supported yet), but the problem that prompted me to run this tool in the first place is now solved.

    THE FOLLOWING SCRIPT will check to make sure that .NET Framework 3.5

    is installed properly and will tell you what is not configured appropriately

    WINDOWS VERSION: 6.0.6001

    POTENTIAL ERROR: REGISTRYDUMP: reg query "HKLMSOFTWAREMicrosoftNET Framework SetupNDPv2.0.50727" /v "SP"

    HKEY_LOCAL_MACHINESOFTWAREMicrosoftNET Framework SetupNDPv2.0.50727

       SP    REG_DWORD    0x2

    ERROR: NetFx2.0 SP1 is not installed

    POTENTIAL ERROR: REGISTRYDUMP: reg query "HKLMSOFTWAREMicrosoftNET Framework SetupNDPv3.0" /v "SP"

    HKEY_LOCAL_MACHINESOFTWAREMicrosoftNET Framework SetupNDPv3.0

       SP    REG_DWORD    0x2

    ERROR: Netfx3.0 SP1 is not installed

  14. Bill Woodruff says:

    Useless on Vista Ultimate SP2. The monitor window closes automatically before you have a chance to read the results of running the .bat file, and it writes no log.

  15. Mitch Bird says:

    Hey Bill,

    Open the command prompt before locating and running the batch and your window will stay open.

    'You must walk before you can run'