brianlala / AutoSPInstaller

Automated SharePoint 2010/2013/2016/2019/SE PowerShell-based installation script.
https://autospinstaller.com
MIT License
171 stars 81 forks source link

Error: Catalyst intermediate PreReqCheck has failed Type: 66::PreReqCheckFailure. #44

Open BGMalerby opened 5 years ago

BGMalerby commented 5 years ago

Prerequisites error window saying... Setup Errors Setup is unable to proceed due to the following error(s): Windows Server Feature or Role Services required by this product are not enabled. For a complete list, refer to the link below. https://docs.microsoft.com/en-us/previous-versions/office/sharepoint-server-2010/cc262485(v=office.14) Correct the issue(s) listed above and re-run setup.

Closing the window brings up install logs. Relevant log lines are... Catalyst ASP.NET web extension enable check passed PowerShell check passed. NET Framework Chart check passed. Error: Catalyst intermediate PreReqCheck has failed Type: 66::PreReqCheckFailure.

Error: Catalyst intermediate PreReqCheck has failed Type: 66::PreReqCheckFailure.

Catalyst execution finished: 07/06/2019 13:16:09. Return code: 30066. Exception caught: PreReqCheckFailure. PERF: TickCount=445562 Name=RunSetup Description=End function

Setup temp folder set to [C:\Users\SPInstall\AppData\Local\Temp\Setup00000da0].

Fix... Remove SP install directory from local disk Modify registry... Change permissions by giving ownership to the administrators group and giving it full before modifying key "Version" to 4.5.50501 for these keys... HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\NET Framework Setup\NDP\v4\Full HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\NET Framework Setup\NDP\v4\Client HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client Source:http://answers.flyppdevportal.com/MVC/Post/Thread/bbed58e1-4a80-4dde-91fd-c6fc95bf85ac?category=sharepointadmin Reboot server Copy SP install directory back to local disk

BGMalerby commented 4 years ago

PowerShell to complete the above is attached making use of function and method from...

https://social.technet.microsoft.com/Forums/windowsserver/en-US/e718a560-2908-4b91-ad42-d392e7f8f1ad/take-ownership-of-a-registry-key-and-change-permissions?forum=winserverpowershell

FixPreRegCheck66.ps1.txt

brianlala commented 4 years ago

OK, feel like submitting a PR? :)

BGMalerby commented 4 years ago

I found a better solution. MS has released a new version of SharePoint 2013 svrsetup.dll that doesn't error on updated .Net 4 versions.

Note: Solutions may need to be re-built and published

File Source: https://docs.microsoft.com/en-us/sharepoint/troubleshoot/installation-and-setup/setup-error-if-.net-framework-4.6-is-installed