Thoughts about setup and deployment issues, WiX, XNA, the .NET Framework and Visual Studio
All postings are provided AS IS
with no warranties, and confer no rights. Additionally, views expressed
herein are my own and not those of my employer, Microsoft.
I have posted an updated version of the .NET Framework setup verification tool that supports verifying the install state of the .NET Framework 4.5. It has also been updated to correctly recognize when it is running on Windows 8. This support is preliminary because the final versions of the .NET Framework 4.5 and Windows 8 have not yet shipped, and I’ll post an updated version in the future when the .NET Framework 4.5 and Windows 8 ship if any changes are made between now and then that cause the tool to report incorrect results.
There is more information about how to download and use the .NET Framework setup verification tool in the user’s guide at http://blogs.msdn.com/b/astebner/archive/2008/10/13/8999004.aspx.
I have not yet posted updated versions of the .NET Framework cleanup tool or the sample .NET Framework detection code, but they are in progress and I’ll upload then and post an update on my blog when they are ready.
As always, if you run into any issues or have any feedback about the .NET Framework setup verification tool, please let me know by posting a comment on one of my blog posts or using the contact form.
I found this tool from asoft called .NET Version Detector: www.asoft.be/prod_netver.html
It's actually very nice for visualizing the different versions and for users that don't know much about the different versions installed on their machines.
And keep up the good work with the blog, always nice to read!
I am running Win 7 Pro 64 bit. I can't install Visual C++ 2005 and found your blog while searching for help. I've tried a few things you mentioned and found that I get the blank list in the 'Turn Windows components on/off'. I ran the 'System Update Readiness Tool' and got these error messages in the log:
Checking System Update Readiness.
Binary Version 6.1.7601.21645
Package Version 15.0
Checking Windows Servicing Packages
Checking Package Manifests and Catalogs
Checking Package Watchlist
Checking Component Watchlist
Checking Component Store
(f) CSI Corrupt Identity 0xC0150017 Microsoft-Windows-GroupPolicy-Base, Culture=neutral, Version=6.1.7600.16385, PublicKeyToken=31bf3856ad364e35, ProcessorArchitecturu=amd64, versionScope=NonSxS amd64_}icrosoft-windows-grouppolicy-base_31bf3856ad364e35_6.1.7600.16385_none_8418538600b3acac Bad identity
(f) CSI Manifest Missing 0x00000002 amd64_}icrosoft-windows-grouppolicy-base_31bf3856ad364e35_6.1.7600.16385_none_8418538600b3acac.manifest amd64_}icrosoft-windows-grouppolicy-base_31bf3856ad364e35_6.1.7600.16385_none_8418538600b3acac
Seconds executed: 226
Found 2 errors
CSI Manifest Missing Total count: 1
CSI Corrupt Identity Total count: 1
Unavailable repair files:
Can you help me fix this so I can install Visual C++ 2005? I intended at some point to do a fresh install (since it seemed that I would have no other choice) but I am currently working on a project that I need to finish ASAP and cannot because the software requires Visual C++ 2005. I don't want to do a fresh install of Windows until the project is finished.
Thanks in advance!
Hi Zimfree - I think you will need to try to manually replace the missing manifest file that is listed in the "Unavailable repair files" section of the report. There are some instructions in the tutorial at www.sevenforums.com/.../108805-system-update-readiness-tool-checksur-log-file-analyzis.html that will hopefully help you do that.
Thanks, Aaron...I'll give it a shot and let you know how it went!
Hi Aaron, sorry if this is a duplicate msg. I posted again yesterday but can't find my comment.
I was able to follow those instructions up to the point of where to find the manifest file that's missing on my Win 7 Pro disk. The instructions are very generic, but I'm looking in the Win 7 Pro/windows/system 32 folder and can't find another folder. I thought there might be a 'winsxs' folder, but no luck. Could you help me locate the file and tell me where I need to copy it/replace it on my system?
Hi Zimfree - The manifests are all stored in sub-folders under c:\windows\winsxs. However, now that I look at your original error message in more detail, I think there might just be a typo in one of the components that is registered on your computer (}icrosoft instead of Microsoft) that is causing this issue. Can you check and see if you have a file named c:\windows\winsxs\manifests\amd64_microsoft-windows-grouppolicy-base_31bf3856ad364e35_6.1.7600.16385_none_8418538600b3acac.manifest on your computer? If you do, then I'd suggest doing the following to update the registry value that is pointing to that manifest:
1. Run optionalfeatures.exe (this will cause Windows 7 to load the registry hive that you will need in the next step
2. Run regedit.exe
3. Go to the key named HKEY_LOCAL_MACHINE\Components
4. Search for a key or value that includes amd64_}icrosoft-windows-grouppolicy-base in the name
5. Change any instance you find from amd64_}icrosoft-windows-grouppolicy-base to amd64_microsoft-windows-grouppolicy-base
6. Reboot your computer
7. Try to run the System Update Readiness Tool again and see if that resolves the errors you were seeing
8. If so, then try again to install the VC++ redistributable
Hopefully this will help.
My internet keeps kicking out so I don't know if you got my last post.
When I try to rename the instance I'm told there's already an instance with that name.
If I search the registry I can't see the duplicate.
Also, like I said, I don't get any list when I open the 'Turn Windows Features on/off' through optionalfeatures.exe...is it enough just to run it?
Hi Zimfree - Yes, it should be enough to just open the Windows Features control panel. I think it is not showing any entries because of the same error being reported by the System Update Readiness Tool.
If you already have an instance with that name, then it might be sufficient to just delete that entry instead of trying to rename it. Before making that type of registry modification, I'd suggest making a backup just in case you find that you need to restore it later. You can find instructions for doing that at windows.microsoft.com/.../Back-up-the-registry.
Thank you so much. After deleting the key and running Windows Update several times along with several reboots I was finally able to install Visual C++ 2005 and my project *seems* to be working properly!
If I run into trouble I'll drop you a line.
I can't thank you enough!
Hi Zimfree - Awesome news, I'm glad to hear that things are working now. In the past, I've seen this type of issue prevent Windows Update from finding any applicable updates, so I'm not surprised to see a big backlog of updates that it found and needed to install for you afterwards.
Definitely let me know if you run into any further issues in the future and I'll try to help if I can.
hi anyone pls help me, i'm using windows 8 and when i try to instal .net 4.5 it is saying "Same or higher version is already install", when i'm trying to install visual studio 2012 it is saying ".net 4.5 is not there". i cant find .net 4.5 in list of programs installled. It is saying it is coming with OS.
Hi Meenakshi - Windows 8 includes the .NET Framework 4.5 as a part of the OS, and it cannot be removed or installed separately from Windows. In pre-release versions of Windows 8, there is a pre-release version of the .NET Framework 4.5 as well. Visual Studio 2012 requires a matching build of the .NET Framework 4.5, and since Windows 8 includes a build of the .NET Framework 4.5 as a part of the OS, you have to install a version of VS 2012 on a build of Windows 8 that includes a matching version of the .NET Framework 4.5. For example:
* If you want to install the VS 2012 beta, you have to install on the Windows 8 consumer preview.
* If you want to install the VS 2012 RC, you have to install on the Windows 8 release preview.
* If you want to install the final version of VS 2012, you have to install on the final version of Windows 8.
You cannot install versions of VS 2012 on versions of Windows 8 that don't match the above statements.
Oh great, thanks for your help. i have VS12 RC and my Os is Windows 8 consumer preview. i will try installing beta then.
Hi Aaron! Does the .NET setup verification tool work on the "official" version of .NET 4.5 released to MSDN account holders yesterday? Thanks!