File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Modules/xSharePoint/DSCResources/MSFT_xSPInstallPrereqs Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,9 @@ function Get-TargetResource
24
24
$returnValue.Add (" Microsoft SQL Server 2008 R2 Native Client" , (($installedItems | ? {$_.Name -eq " Microsoft SQL Server 2008 R2 Native Client" }) -ne $null ))
25
25
$returnValue.Add (" Microsoft Sync Framework Runtime v1.0 SP1 (x64)" , (($installedItems | ? {$_.Name -eq " Microsoft Sync Framework Runtime v1.0 SP1 (x64)" }) -ne $null ))
26
26
$returnValue.Add (" AppFabric 1.1 for Windows Server" , (($installedItems | ? {$_.Name -eq " AppFabric 1.1 for Windows Server" }) -ne $null ))
27
- $returnValue.Add (" Microsoft Identity Extensions" , (($installedItems | ? {$_.Name -eq " Microsoft Identity Extensions" }) -ne $null ))
27
+
28
+ # Detect Identity extensions from the registry as depending on the user that installed it may not appear in the WmiObject call
29
+ $returnValue.Add (" Microsoft Identity Extensions" , (@ (Get-ChildItem HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\ - Recurse | ? {$_.GetValue (" DisplayName" ) -eq " Microsoft Identity Extensions" }).Count -gt 0 ))
28
30
$returnValue.Add (" Active Directory Rights Management Services Client 2.0" , (($installedItems | ? {$_.Name -eq " Active Directory Rights Management Services Client 2.0" }) -ne $null ))
29
31
$returnValue.Add (" WCF Data Services 5.0 (for OData v3) Primary Components" , (($installedItems | ? {$_.Name -eq " WCF Data Services 5.0 (for OData v3) Primary Components" }) -ne $null ))
30
32
$returnValue.Add (" WCF Data Services 5.6.0 Runtime" , (($installedItems | ? {$_.Name -eq " WCF Data Services 5.6.0 Runtime" }) -ne $null ))
You can’t perform that action at this time.
0 commit comments