During testing of DSC with Microsoft TFSReleaseOnPrem to a VM OnPrema script produced MOF file to install a MSI succeeds when the process script is run directly but fails when launched through the TFS Release
The script:
Powershell
Package$key.Name.Replace(".","")#$item{Ensure="Present"# Lookup the ProductName value from the MSI propertiesName=([string]($PackageProprties|Where-Object{$_.Property-eq"ProductName"}).Value).Trim()Path=$PackageSourcePathDependsOn=$Deps# This is a [string[]]# Lookup the ProductId value from the MSI propertiesProductId=([string]($PackageProprties|Where-Object{$_.Property-eq"ProductCode"}).Value).Trim()Arguments=$Args# Additional Arguments from configuration dataLogPath="$($PackageSourcePath).log"# LoggingCredential=$Credential# Access to open the resource on the...