Deploying 3 .msi installers in one Powershell Script

Hello All!

I’m currently tasked with deploying some .msi, however I’m quite new to powershell. I’m trying to deploy 3 .msi in a single Powershell script. Obviously it didn’t work with msiexec as it doesn’t wait for an installation to finish before trying to start the next one.

The last thing I tried was the following:

Start-Process msiexec.exe -Wait "/i .VCRedist2008vc_red.msi /quiet /log redist.txt" Start-Process msiexec.exe -Wait "/i .2.1.3setup_de.msi /quiet /log scandall.txt" Start-Process msiexec.exe -Wait "/i .Twain_DriverPSIP_TWAIN64.msi /quiet /log twain.txt" 

But somehow that doesn’t seem to work either,.. got some advice for me?

submitted by /u/Ummgh23
[link] [comments]

Leave a Reply