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 had a few customers report problems installing the .NET Framework 2.0 with the following symptoms:
Examples of this problem are the comments located here and here, and the Product Feedback Center bugs located here and here and here.
The underlying problem is that the Administrators group somehow was only granted read permission to some of the registry keys under HKEY_CLASSES_ROOT on these machines. When the .NET Framework setup tries to register type libraries, it needs to create some new values under HKCR and it fails because of a lack of permissions (8002801c means "error accessing the OLE registry"). I have been able to confirm that this is the problem by having one of the customers use RegMon, but I haven't been able to figure out how the permissions got modified to be this way. Up until now I also haven't been able to figure out how to fully reset the permissions so that .NET Framework setup will work.
Fortunately one of the customers who had this problem contacted us with a solution that worked for them, and I wanted to list it here in case others run into this same problem in the future. Here are the steps to follow to repair permissions to workaround this issue:
Hopefully this will help. If you try this and still have trouble getting setup to work correctly for the .NET Framework 2.0 or VS 2005, please contact me.
I had same problem. It was beacause I'm using a ramdisk wich I can't set permissions. Hope it can be helpful.
Old post but this worked after searching for hours. Thanks.