Get-MsiTableProperty and MSTFile


I try to use the function Get-MsiTableProperty with 2 mst.

Get-MsiTableProperty -Path “$fullpath\xxx.msi” -TransformPath “$fullpath\xxx.msi;”$fullpath\YYY.Mst"

but i have an error

Get-MsiTableProperty : Cannot validate argument on parameter ‘TransformPath’. The " Test-Path -LiteralPath $_
-PathType ‘Leaf’ " validation script for the argument with value “C:\New folder\I_7.1.0_ALL_ML\New
folder\Files\Notepadpp_I_7.1.0_ALL_ML_INV.Mst;C:\New folder\I_7.1.0_ALL_ML\New
folder\Files\Notepadpp_I_7.1.0_ALL_ML_CUS.Mst” did not return a result of True. Determine why the validation script
failed, and then try the command again.
At C:\New folder\I_7.1.0_ALL_ML\New folder\AppDeployToolkit\AppDeployToolkitMain.ps1:10514 char:120

  • … ansformPath 'C:\New folder\I_7.1.0_ALL_ML\New folder\Files\Notepadpp_ …
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    • CategoryInfo : InvalidData: (:slight_smile: [Get-MsiTableProperty], ParameterBindingValidationException
    • FullyQualifiedErrorId : ParameterArgumentValidationError,Get-MsiTableProperty

When I try with just one mst, all it’s right.

How do I enter the parameter -TransformPath