mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
turned out strict msi code checking
This commit is contained in:
committed by
Matt Clay
parent
4fc4030c58
commit
15ac8e9141
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user