This error:
Microsoft .NET Framework 3.0 has encountered a problem during setup.
Setup did not complete correctly.
occured while installing the .NET 3.0 redistrubutable (downloaded from here) on my PC running XP Pro SP (also with .NET 1.1 & 2.0).
After some investigation it turns out this error was caused when installing the WCF (Windows Communication Foundation) components - when trying to open the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Security\ServiceModel 3.0.0.0
I thought this was odd, because my user is a local admin - so in regedit (regedt32) I tried giving my user permissions to full control of this registry node... then reran the install - however to no avail - same error.
So, tried giving Everyone full control of this node - reran the install - and bingo, it worked!
For those of you who don't know - here's how:
- Open the registry editor: Start - Run..., then enter "regedt32" (without quotes).
- Navigate down to the node by opening each node in the heirarchy.
- Right click on the node we're after (ServiceModel 3.0.0.0) and select Permissions
- Click on Add, then enter "everyone" (no quotes) on the 'Select Users, Computers or Groups' dialog then click OK.
- Back on the 'Permissions for ServiceModel 3.0.0.0' dialog select the user group Everyone, then make sure the Full Control checkbox has a tick, then click OK.
Thats it - now rerun the .NET 3.0 installation.
HTH
Tim
