summaryrefslogtreecommitdiff
path: root/windows/win_package.ps1
diff options
context:
space:
mode:
authorTrond Hindenes <trond@hindenes.com>2015-10-09 20:28:54 +0200
committerTrond Hindenes <trond@hindenes.com>2015-10-09 20:28:54 +0200
commitb9d842ecd62ba72f3fa7e89f06576e8a108a4f26 (patch)
tree8111260442866688e5392da8ff44ee5470c68dca /windows/win_package.ps1
parent205115ea1fc85b99fd7e505b58e84db3a4377f5f (diff)
downloadansible-modules-extras-b9d842ecd62ba72f3fa7e89f06576e8a108a4f26.tar.gz
turned out strict msi code checking
Diffstat (limited to 'windows/win_package.ps1')
-rw-r--r--windows/win_package.ps13
1 files changed, 2 insertions, 1 deletions
diff --git a/windows/win_package.ps1 b/windows/win_package.ps1
index 6cdc6bf6..993659f0 100644
--- a/windows/win_package.ps1
+++ b/windows/win_package.ps1
@@ -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
}