Details of the scenario you tried and the problem that is occurring
Installing Config Mgr 2002 using the xSCCMInstall module it fails to detect the product is installed.
changing the productName to as follows works correctly.
$productName = 'Microsoft Endpoint Configuration Manager Central Administration Site Setup'
Verbose logs showing the problem
Suggested solution to the issue
possible solution add a version check and change the associated ProductName as needed according to the version of Config Mgr.
The DSC configuration that is used to reproduce the issue (as detailed as possible)
Details of the scenario you tried and the problem that is occurring
Installing Config Mgr 2002 using the xSCCMInstall module it fails to detect the product is installed. changing the productName to as follows works correctly.
$productName = 'Microsoft Endpoint Configuration Manager Central Administration Site Setup'
Verbose logs showing the problem
Suggested solution to the issue
possible solution add a version check and change the associated ProductName as needed according to the version of Config Mgr.
The DSC configuration that is used to reproduce the issue (as detailed as possible)
The operating system the target node is running
Version and build of PowerShell the target node is running
Version of the DSC module that was used
0.2.0