New-CMDetectionClauseWindowsInstaller Missing Braces in Product Code
When an MSI detection rule is created with New-CMDetectionClauseWindowsInstaller, and applied to a Deployment Type with Set-CMScriptDeploymentType, the product code in the detection rule is missing the braces. This causes the detection rule to fail to detect an application that is actually installed. The application is successfully detected after adding the surrounding braces to the product code in the SCCM console.
This is fixed for 1802.
Dominic Caron commented
I noted too that the New-CMDetectionClauseWindowsInstaller do not transpose capital letter... and we need to fix the product code manualy in sccm.