Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Powershell Command to install a MSI with a MST

$
0
0

I am able to use the following commandline to install a MSI with the arguments I want

  • {Start-Process -FilePath "msiexec.exe" -ArgumentList "/i TEST.msi /qb" -Wait -Passthru}

I am unable to get the commandline to work when I add an MST

  • {Start-Process -FilePath "msiexec.exe" -ArgumentList "/i TEST.msi TRANSFORMS=`"TEST.mst`" /qb" -Wait -Passthru}

I have tried a few different options like /T instead of Transforms.  The PS1 is in the same folder as the MSI /MST.   What is the proper way to install a MSI with an MST using Powershell?

 

 


Viewing all articles
Browse latest Browse all 6937

Trending Articles