Aaron Stebner's WebLog

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

Updated versions of .NET Framework cleanup and verification tools with Windows 7 support

Updated versions of .NET Framework cleanup and verification tools with Windows 7 support

  • Comments 19

Over the past week or so, I’ve posted updated versions of both the .NET Framework Cleanup Tool and the .NET Framework Setup Verification Tool.  The primary reason for the updates is to address some specific problems using the tools on Windows 7.  I also fixed a few other issues that customers reported to me or that I discovered in my own testing.

Here is a list of the changes made to each of the tools:

.NET Framework Cleanup Tool changes (July 24, 2009):

  • Added logic to correctly cleanup the .NET Framework on Windows 7.  The .NET Framework 2.0 SP2, 3.0 SP2 and 3.5 SP1 are all installed as OS components on Windows 7, so the cleanup tool will not allow you to remove these versions of the .NET Framework on this OS.
  • Added detection and logging for the .NET Framework 4.  The cleanup tool does not yet support cleaning up the .NET Framework 4.  This will be added in a future release.
  • Prevent cleanup of mscoree.dll on Vista and higher.

.NET Framework Setup Verification Tool changes (July 17, 2009)

  • Fixed false errors being reported for non-English versions of the .NET Framework 1.0.
  • Fixed filtering problem that caused the .NET Framework 1.0 to be removed from the list of available products if any 1.0 service packs are installed.
  • Fixed false errors being reported for the .NET Framework 1.1 if the .NET Framework 1.0 is also installed on the system.
  • Fixed false errors being reported for the .NET Framework 3.5 SP1 on Windows 7.
  • Added detection and logging for .NET Framework 4 and Windows 7.  The verification tool does not yet support verifying the .NET Framework 4.  This will be added in a future release.

User’s Guides and Download Links

Here are links to the user’s guides for each of the tools – there are links in each user’s guide that can be used to download the latest version of each tool:

As always, please let me know (by posting a comment on one of my blog posts or sending me an email) if you run into any issues or have any questions using either of these tools.

  • I recently upgraded to Windows 7 and I am getting the message: Microsoft .Net Framework version 2.0 is required to continue.

    I am running 64-bit Win 7 and this version was not compatible. I have used your verify and cleanup tools with no errors and reinstalled .Net....this has not resolved the error.  

    Can you please help me? Thanks.

  • Hi Wolfie74 - Windows 7 includes the .NET Framework 2.0, 3.0 and 3.5 as OS components.  There is no way to uninstall or re-install the .NET Framework 2.0 on this OS.  It is possible that your system is missing one of the registry values that is used to detect whether or not the .NET Framework 2.0 is installed.  Can you please run the verification tool described at http://blogs.msdn.com/astebner/pages/8999004.aspx and see if it reports any errors for the .NET Framework 2.0 on your system?  If it does, please upload the log files created by the verification tool to a file server (such as http://skydrive.live.com), then reply back here with a link that I can use to download the logs and take a look.  The user's guide that I linked above contains a list of the names and locations of the log files that the verification tool creates.

  • i'm having the exact same issue as wolfie74 except that when I tried to install 2.0 it said already existed. I uploaded my cleanup tool log file to the skydrive.live link you supplied, but not sure how you could access it.(sorry, new to all of this). Any help is greatly appreciated, thank you.

  • Hi Hlent63 - I need you to post a link to your Skydrive site so that I can download the log files and take a look.  To do that, you can go to your SkyDrive site, click on the log file that you uploaded, then copy and paste the URL into a reply comment here.  For example, on my SkyDrive site, the links look like this:

    http://cid-27e6a35d1a492af7.skydrive.live.com/self.aspx/Blog%5E_Tools/netfx%5E_setupverifier%5E_new.zip

  • Thanks for your reply Mr. Stebner. Note The URL for the file. it is in the Public Folder.

    https://cid-fe31233d52aa7e8a.skydrive.live.com/self.aspx/.Documents/cleanup%5E_main.log. Hopefully you'll be able to access it. if not, let me know. And again, Thank you.

    Regards,

    ~Howard

  • Here is the correct path.

    http://cid-fe31233d52aa7e8a.skydrive.live.com/self.aspx/.Public/cleanup%5E_main.log

  • Hi Hlent63 - This log is from the cleanup tool.  I need you to try to run the verification tool available at http://blogs.msdn.com/astebner/pages/8999004.aspx and let me know if it reports any errors for the .NET Framework 2.0.  If it does, please upload the log from that tool so I can take a look.

  • Although I did not appear to have any errors, I responded with links to my log files and do not see my response. Did you receive the response?

    Thanks.

  • Hi Wolfie74 - If the verification tool didn’t report any errors for the .NET Framework 2.0, that means that the registry keys used to detect that the .NET Framework 2.0 is installed should all be present.  This issue could be a problem with how the application is trying to detect the .NET Framework 2.0.  Do you know what exact application is causing this error to appear?  Does this error appear when you first log into your computer?  If so, that likely means that a program is configured to run when the computer boots up, and it is the one that has this problem.  You can use the msconfig tool to try to narrow down which exact program is causing this error.  To do this, click on the Start menu, choose Run, then type msconfig and click OK.  When the System Configuration tool appears, you can look at the Startup tab to see the commands being run when your system starts up.  You can try to run each of them yourself to see which one(s) cause this .NET Framework error message to appear.  Once we narrow down the problematic application, we can try to figure out what that application is checking for to try to fix this error.  Or you can just turn off the application so it won’t run every time you boot your computer.

  • Hi astebner, i have encountered this problem also.  I can't use my printer software(lexmark - all-in-1  x5650), it keep on  saying that i don't have the framework 2.0. call me to download it n install.

    this is my verified log file.

    http://cid-de3eb12a61dd674b.skydrive.live.com/self.aspx/.Public/setupverifier%5E_main%5E_03-13-10%5E_21.05.20.txt

  • Hi Neruson - I have heard from several people reporting this error when trying to use Lexmark printer software on Windows 7.  Your verification log does not show any errors, so I suspect that there is something wrong with the logic used by the Lexmark software to detect the .NET Framework.  I'd suggest contacting Lexmark technical support to see if there are any known issues like this with their software on Windows 7, and if so, see if they have an updated version that you can download that will work correctly on Windows 7.

  • i've been having the very same problem, please could u take a look at mine.zynt4q.bay.livefilestore.com/.../setupverifier_main_06-18-10_20.20.57.txt

  • Hi Philip David Thomas - I'm sorry but I can't get the link that you provided to work correctly.  Can you double-check that you copied it correctly?

    Also, if you mean that you're having the same Lexmark printer software problem, then this is an issue you will need to talk to Lexmark about.  That particular problem isn't a .NET Framework problem, but rather it is a problem with the Lexmark software not correctly detecting that the .NET Framework is installed on Windows 7.

  • aren't download links ALWAYS obvious on a page?   Where is the download link for the tool on this page?

  • Hi Why on why - Sorry for the confusion.  I used to list the direct download links in each blog post I wrote about these tools, but I ended up having to change links in a bunch of different places if I had to move it.  As a result, I created users' guides for each of the tools and I only list the download links in the users' guides.

    This blog post has a section titled "User’s Guides and Download Links" that says "Here are links to the user’s guides for each of the tools – there are links in each user’s guide that can be used to download the latest version of each tool" and you can use those links to get to each user's guide.

Page 1 of 2 (19 items) 12
Leave a Comment
  • Please add 7 and 2 and type the answer here:
  • Post