AutoSPInstaller icon indicating copy to clipboard operation
AutoSPInstaller copied to clipboard

Failing to detect SharePoint 2013 Foundation Install

Open gentoouser opened this issue 6 years ago • 4 comments

SharePoint 2013 Foundation is not being detected as installed.

In the Function CheckConfigFiles([xml]$xmlinput please update if ($pidKeyProjectServer -notlike "?????-?????-?????-?????-?????") to if ($pidKey -notlike "?????-?????-?????-?????-?????" -and $xmlinput.Configuration.Install.SKU -ne "Foundation" )

Also in the Function Get-SharePointInstall if ((Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*) | Where-Object {$_.DisplayName -like "Microsoft SharePoint Server*"}) to if ((Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*) | Where-Object {$_.DisplayName -like "Microsoft SharePoint Server*" -or $_.DisplayName -like "Microsoft SharePoint Foundation*"})

gentoouser avatar Mar 07 '18 20:03 gentoouser

Same in Start-RemoteInstaller function (like in Get-SharePointInstall)

sprygindm avatar Oct 11 '18 16:10 sprygindm

Same issue, I with this was pinned until it is (if ever) fixed.

rtonerii avatar Oct 09 '19 20:10 rtonerii

Rick, If you look at my post it will give you the code to fix the issue. I just was never added to the official release.

-Paul

On Wed, Oct 9, 2019 at 3:13 PM Rick Toner [email protected] wrote:

Same issue, I with this was pinned until it is (if ever) fixed.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/brianlala/AutoSPInstaller/issues/21?email_source=notifications&email_token=ABI4MFJPFTFWQSZYHIR77J3QNY3NXA5CNFSM4EUEL2AKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAZFZ7Q#issuecomment-540171518, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABI4MFJZY6CBIYASPZTLCVDQNY3NXANCNFSM4EUEL2AA .

gentoouser avatar Oct 10 '19 11:10 gentoouser

Rick, If you look at my post it will give you the code to fix the issue. I just was never added to the official release. -Paul

I did see that, I just wish it was added into the code, since 2013 Foundation is the last free version, some users will still try to use this.

The bad part is I had to find both of the errors, stepping through the code, before I found your solution. That's why I was hoping they would add it to the code.

rtonerii avatar Oct 10 '19 12:10 rtonerii