Aaron Stebner's WebLog

Thoughts about setup and deployment issues, WiX, XNA, the .NET Framework and Visual Studio

.NET Framework Setup Verification Tool User's Guide

.NET Framework Setup Verification Tool User's Guide

Rate This

.NET Framework Setup Verification Tool User's Guide

Introduction

This .NET Framework setup verification tool is designed to automatically perform a set of steps to verify the installation state of one or more versions of the .NET Framework on a computer.  It will verify the presence of files, directories, registry keys and values for the .NET Framework.  It will also verify that simple applications that use the .NET Framework can be run correctly.

If the verification tool finds any issues, there is a .NET Framework Repair Tool that can be found at the following locations:

Additional support can be obtained by visiting the .NET Framework setup forum at http://social.msdn.microsoft.com/Forums/en-US/netfxsetup/threads.

Download location

The .NET Framework setup verification tool is available for download at the following locations:

The .zip file that contains the tool also contains a file named history.txt that lists when the most recent version of the tool was published and what changes have been made to the tool over time.

Supported products

The .NET Framework setup verification tool supports verifying the following products:

  • .NET Framework 1.0
  • .NET Framework 1.1
  • .NET Framework 1.1 SP1
  • .NET Framework 2.0
  • .NET Framework 2.0 SP1
  • .NET Framework 2.0 SP2
  • .NET Framework 3.0
  • .NET Framework 3.0 SP1
  • .NET Framework 3.0 SP2
  • .NET Framework 3.5
  • .NET Framework 3.5 SP1
  • .NET Framework 4 Client
  • .NET Framework 4 Full
  • .NET Framework 4.5
  • .NET Framework 4.5.1
  • .NET Framework 4.5.2

By default, the .NET Framework setup verification tool will only list versions of the .NET Framework that it detects are installed on the computer that it is being run on.  As a result, the tool will not list all of the above versions of the .NET Framework.  This product filtering can be overridden by running the .NET Framework setup verification tool with the following command line switch:

netfx_setupverifier.exe /q:a /c:"setupverifier2.exe /a"

Silent mode

The .NET Framework setup verification tool does not support running in silent mode.

Exit codes

The verification tool can returns the following exit codes:

  • 0 - verification completed successfully for the specified product
  • 1 - the required file setupverifier.ini was not found in the same path as setupverifier.exe
  • 2 - a product name was passed in that cannot be verified because it does not support installing on the OS that the tool is running on
  • 3 - a product name was passed in that does not exist in setupverifier.ini
  • 100 - verification failed for the specified product
  • 1602 - verification was canceled

Log files

This verification tool creates 2 log files by default that can be used to determine what actions the tool is taking and what errors it encounters while verifying a product.  The 2 log files are listed below, and they are created in the %temp% directory by default.  Note that you can find the %temp% directory by clicking on the Windows start menu, choosing Run, typing %temp% and clicking OK to open the directory in Windows Explorer.

  • %temp%\setupverifier_main_*.txt - this log contains information about all actions taken during a verification tool session; it will include information about each resource that the tool attempts to verify for a chosen product and whether or not that resource was found on the system; this log tends to be fairly long, so errors will be logged with the prefix ****ERROR**** to make it easy to search and find them
  • %temp%\setupverifier_errors_*.txt - this log only contains information about any errors found during verification of a chosen product
  • %temp%\setupverifier_netfx20testapp_*.txt - this log contains error information for the .NET Framework test application that is run by the verification tool.  This log will only be created if there is an error while running the test application.

A new pair of log files will be created each time the verification tool is launched.  The date and time the tool is launched will be appended to the end of the log file names by default in place of the * in the names listed above.  If you want to control the exact names used for the log files, you can use the following command line parameters:

  • /l <filename> - specifies a name to replace the default value of setupverifier_main_*.txt for the main activity log for the verification tool
  • /e <filename> - specifies a name to replace the default value of setupverifier_errors_*.txt for the error log for the verification tool

For example, the following command line will allow you to specify non-default names for both log files:

netfx_setupverifier.exe /q:a /c:"setupverifier2.exe /l %temp%\my_main_log.txt /e %temp%\my_error_log.txt"

 

Attachment: netfx_setupverifier_new.zip
  • Hi Mike,

    I am trying to run the following script in the command line

    netfx_setupverifier.exe /q:a /c:"setupverifier.exe /a"

    since i do not see the framework i am looking to verify in the drop down list.

    but i get the following error

    'netfx_setupverifier.exe' is not recognized as an internal or external command

    Steps i followed:

    Copied the file to c:\ and the command prompt shell was c:\netfx_setupverifier.exe /q:a /c:"setupverifier.exe /a"

  • Hi Sulip - This error means that the file netfx_setupverifier.exe doesn't exist at the path that you're trying to run it from.  Are you sure that you extracted it from the zip file and saved it to the same location that you are trying to run this command from?

  • Hi Mohan - Thanks for reporting these issues.  The first 2 were copy and paste problems - I started with the readme file for the cleanup tool and modified it for the verification tool, but I missed a couple of places.  I haven't run into the scenario you are referring to in the 3rd issue.  All of the computers that I've looked at have %tmp% and %temp% set to the same folder location.  I haven't run into a computer yet where %temp% points to c:\windows\temp instead of the per-user temporary folder.

    I'll fix the readme the next time I update the tool to fix the first 2 issues that you reported.

  • Hi Aaron Huber - The file evr.dll has a condition on it that will cause the .NET Framework 4 setup to not try to install it on Windows Vista and higher.  That is why you are seeing that error.  It is a false positive in your scenario and I will update the verification tool later today with a fix for this issue.

  • Hi Aaron,

    I used this toll for verification as it was mentioned on a website, I having problems running a statistical software which I found was because it will not install C++ 2008 redistributable, the tool failed for .NET 1.1 and uninstalled it and reinstalled it again but it still fails most of the error are like this :

    07/09/10,10:19:01] ****ERROR**** Key: HKCR\CLSID\{DC5DA001-7CD4-11D2-8ED9-D8C857F98FE3}\InprocServer32\1.1.4322

    Value: ImplementedInThisVersion

    Expected Data:

    Actual Data: NOT FOUND

    [07/09/10,10:19:03] ****ERROR**** Key: HKCR\CLSID\{68F8AEA9-1968-35B9-8A0E-6FDC637A4F8E}\InprocServer32\1.0.5000.0

    Value: Class

    Expected Data: System.Globalization.GregorianCalendar

    Actual Data: NOT FOUND

    and a lot 'NOT FOUND errors. Can you suggest can I do to fix this. I am running windows 7 enterprise.

  • Hi all!  :o)

    Installed .NET Framework Setup Verification Tool, under Windows XP SP3.

    When I attempt to execute the program, I get the following error message...

    Error creating process <C:\DOCUME~1\BtheG\Local Settings\Temp\IXP000.TMP\setupverifier.exe>. Reason: C:\WINDOWS\system32\advpack.dll

    Anyone have a solution for this?

    Thanks,

    CurlySue

  • Hi Singh - Does your .NET Framework 1.1 installation succeed but then the verification tool reports these missing registry keys?  Most of the time, in cases like that (particularly on Windows 7), those missing registry keys are false positives.  Would it be possible for you to gather your verification tool log files, post them to a file server such as http://skydrive.live.com and then reply back here with a link to the logs that I can download to take a further look?

    Also, what is the exact problem that you're trying to solve?  Is it a problem installing the VC++ redistributable?  If so, can you please also gather and upload your log files from that setup by using the tool described at blogs.msdn.com/.../6458047.aspx

  • Hi CurlySue - The error that you're seeing typically means that there is something wrong with the OS component that is used for compression and decompression of files.  It might help to run sfc.exe /scannow to repair the files that are a part of your OS and then re-run the verification tool and see if it will extract and run correctly.  If not, please let me know and I can post a zip file for you that contains the extracted files so you can try that instead.

  • Do you really need all the .Net Frameworks in the system.  And how do you know if all the .NET Frameworks are all in the computer. I ask because, I am New to all this computer Talk and Technology. Please answer as soon as possible!!!

  • Hi Ann L. - There is some good information about the .NET Framework in the Wikipedia topic at en.wikipedia.org/.../.NET_Framework.  Whether or not you need each version of the .NET Framework depends on if you use any programs that require it.  The blog post at blogs.msdn.com/.../9557946.aspx has some information to help you decide whether or not you need older versions of the .NET Framework and what error messages you might see if you uninstall the older versions.

  • Hey I was wondering if anyone could help with this issue...

    Running: Windows 7 x64 Ultimate

    I installed the .NET Framework 4 Client Profile and even tried installing the FULL/Extended edition the install appears to go in just fine, no errors or anything. Once I try to run a program it fails to work, I tried to verify my .NET4 installation using this tool verification tool here.

    It ALWAYS fails the verification no matter how many times I uninstall/clean up and reinstall...

    Here is a snippet from the verifier log...

    .....[07/22/10,17:35:35] Section [Registry - .NET Framework 4 Full (Wow6432Node)] - stop parsing entries

    [07/22/10,17:35:35] Processing custom action 'Custom Action - .NET Framework 4.0 test application'

    [07/22/10,17:35:35] ExecutablePath = 'Netfx40TestApplication.exe'

    [07/22/10,17:35:35] FriendlyName = '.NET Framework 4 test application'

    [07/22/10,17:35:35] TimeoutSeconds = '300'

    [07/22/10,17:35:35] WaitOnExit = 'true'

    [07/22/10,17:35:35] Silent = 'true'

    [07/22/10,17:35:35] Launching process 'Netfx40TestApplication.exe' now

    [07/22/10,17:35:35] Process successfully launched. Waiting 300 seconds for it to complete.

    [07/22/10,17:35:35] ****ERROR**** Process 'Netfx40TestApplication.exe' exited with return code -2146232576

    [07/22/10,17:35:35] ****ERROR**** Verification failed for product .NET Framework 4 Full

    Full Log here: www.polaris-central.com/setupverifier_main_07-22-10_17.35.11.txt

    Anyone have any ideas whats wrong?

  • Hi Murray K - What kind of errors do you get when you try to run .NET Framework programs on your computer after installing the .NET Framework 4?  The error in the verification log is coming from a small test program that is designed to make sure that the .NET Framework 4 can be started up correctly.  That test program should create a log named %temp%\setupverifier_netfx20testapp_*.txt.  Can you see if you have that log file as well and upload that if so?

  • There was no file of that name even created. :S

    Only these...

    setupverifier_errors_*.txt

    setupverifier_main_*.txt

    And when I try to run a program that uses the framework, it refuses to even start... nothing.

  • Hi Murray K. - I'm not sure how to explain this issue.  I was going to suggest uninstalling + re-installing, but it sounds like you've already tried that.  You might want to try to repair the versions of the .NET Framework that are a part of the OS on Windows 7 by using the instructions at blogs.msdn.com/.../how-to-repair-the-net-framework-2-0-and-3-0-on-windows-vista.aspx.

    If that doesn't help, then I think you may need to try to contact Microsoft technical support for more in-depth troubleshooting assistance.  You can find contact information for them at http://support.microsoft.com.

    I'm sorry that I haven't been able to be more helpful in this scenario.

  • Thank you for trying to help...

    I trying to repair the OS and see if that fixes it... if not I am going to try formatting my hard-drive and reinstalling windows 7 and if that fails i truly am at a loss, and have no idea what else can be done, because this just makes no sense!

Page 2 of 24 (353 items) 12345»
Leave a Comment
  • Please add 6 and 1 and type the answer here:
  • Post