turned out strict msi code checking

This commit is contained in:
Trond Hindenes 2015-10-09 20:28:54 +02:00
parent 205115ea1f
commit b9d842ecd6

View file

@ -752,7 +752,7 @@ function Set-TargetResource
if($Ensure -eq "Present")
{
# check if Msi package contains the ProductName and Code specified
<#
$pName,$pCode = Get-MsiProductEntry -Path $Path
if (
@ -762,6 +762,7 @@ function Set-TargetResource
{
Throw-InvalidNameOrIdException ($LocalizedData.InvalidNameOrId -f $Name,$identifyingNumber,$pName,$pCode)
}
#>
$startInfo.Arguments = '/i "{0}"' -f $Path
}