Merge pull request #1076 from trondhindenes/win_package_bugfix
turned off strict msi code checking
This commit is contained in:
commit
561d768f44
1 changed files with 2 additions and 1 deletions
|
@ -752,7 +752,7 @@ function Set-TargetResource
|
||||||
if($Ensure -eq "Present")
|
if($Ensure -eq "Present")
|
||||||
{
|
{
|
||||||
# check if Msi package contains the ProductName and Code specified
|
# check if Msi package contains the ProductName and Code specified
|
||||||
|
<#
|
||||||
$pName,$pCode = Get-MsiProductEntry -Path $Path
|
$pName,$pCode = Get-MsiProductEntry -Path $Path
|
||||||
|
|
||||||
if (
|
if (
|
||||||
|
@ -762,6 +762,7 @@ function Set-TargetResource
|
||||||
{
|
{
|
||||||
Throw-InvalidNameOrIdException ($LocalizedData.InvalidNameOrId -f $Name,$identifyingNumber,$pName,$pCode)
|
Throw-InvalidNameOrIdException ($LocalizedData.InvalidNameOrId -f $Name,$identifyingNumber,$pName,$pCode)
|
||||||
}
|
}
|
||||||
|
#>
|
||||||
|
|
||||||
$startInfo.Arguments = '/i "{0}"' -f $Path
|
$startInfo.Arguments = '/i "{0}"' -f $Path
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue