I could not install any flavour of Dot net 4, they would crash and roll back with the following errors:
Installation failed with error code: (0x80070643), “Fatal error during installation. “
detailed log error:
INSTALLMESSAGE_ERROR [The installer has insufficient privileges to access this directory: C:\ProgramData\Microsoft\NetFramework. The installation cannot continue. Log on as administrator or contact your system administrator.]
I tried anything and everything, it seems there are many similar problems out there none worked for me:
Services ->Windows Installer Startup type -> automatic / manual
Disable update service, rename the SoftwareDistribution folder.
Run setup as admin
Boot windows into debug mode
Uninstall from ControlPanel
windows update fix KB947821
rename S-1-5-18 folder trick in case it was an encryption issue.
SFC found no errors.
Created another admin account, ran it as admin.
Tried the dot net cleanup tool, no joy.
Tried a few hotfixes related to encryption/temporary profiles etc
renaming folders in C:\Windows\Microsoft.NET\Framework only disabled apps that used older versions (luckily did not prevent windows from booting)
checked msiserver was all lower case
pointed ImagePath to the SysWOW64 folder (caused installer to fail differently)
Then I figured it out..
The “BreadcrumbStore” FIX!
Believe it or not, Dot Net 4.X.X may not install, unless a folder can be created during setup called BreadcrumbStore! The clue was in the detailed view of the logs found on the failure screen, after ticking ‘verbose’ which pointed to insufficient privileges for C:\ProgramData\Microsoft\NetFramework. So I figured I would allow the Everyone/System groups access to C:\ProgramData\Microsoft\ and it finally installed, after finding a Win2000 KB article with similar issues. The only change to that location was the addition of the two missing folders NetFramework & BreadcrumbStore.
If anyone else wants to try this fix, first try in cmd: (may need to be elevated, or may not work without adding the group access)
and let me know if that works.. I would be interested in the results!
Note that the ‘EVERYONE’ group shouldn’t be needed.