When creating an app-v package using powershell with an MSI as installer, is it possible without any additional scripts (like a bat or cmd file) to run/install the MSI silently?

For example:

New-AppvSequencerPackage –Name “Microsoft Orca” –Path “C:\Packages” –Installer “C:\SourceFiles\Orca45.msi” –PrimaryVirtualApplicationDirectory “C:\Program Files\Microsoft Orca”

^ Is the example from the sequencing guide, which runs the MSI in UI mode.

I know that you can use a bat/cmd file as "installer" which in turn runs the MSI silently, but is it possible to do it from the powershell command line immediately?

Thanks in advance,



Answer Summary:
0 Comments   [ + ] Show Comments


Please log in to comment



Wow, never knew you could even do that in powershell.

If you do it from the GUI, you can use

msiexec /i <name of app.msi> /qb
In the command line to install the program, hope you know what I mean.


Guess this wont help if your using powershell, could you try and throw a switch into the “C:\SourceFiles\Orca45.msi”?

Like “msiexec.exe /i C:\SourceFiles\Orca45.msi /qb”
The above is dependent powershell knowing where msiexec is of course.

Might need to jiggle the syntax around like
"misexec /i “C:\SourceFiles\Orca45.msi”? /qb"

Err, that looks horrible and likely not to work :/

Answered 04/18/2013 by: rileyz
Red Belt

  • As far as I can find its not possible to give any arguments apart from the installer location, I've solves this by creating a CMD file that runs the MSI with silent switches and running the cmd file as installer argument.
  • Lame, in referance to PoSH. Ive ran into problems with powershell as ive tried to switch from the old CMD, but it seems to work better handling msiexec calls etc. But powershell is so funky. Glad you have a workaround, all be it not as awesome as you would of hope.

    Could write your own function? (;
  • I'm currently writing a powershell script that in combination with a vbscript allows me to batch convert MSIs to AppV using virtualbox and reverting to a clean machine after every AppV
    • How did you go with this, making a script to auto convert? I'm thinking about making something similar like that now.
Please log in to comment
Answer this question or Comment on this question for clarity