Quantcast
Channel: psappdeploytoolkit Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1769

New Post: Command line arguments for Deploy-Application.EXE

$
0
0
I'm wondering if there is any syntax to apply command line arguments to Deploy-Application.EXE? I would like to pass variables into powershell to run the install in different ways.

A couple examples of stuff we do in Wise today.
  • /Admin argument to install the admin version of an install as opposed to the client
  • /Repair argument to run an installshield with a repair .iss instead of an install.
  • /Patch to just run a patch portion of the install.
These arguments allow me to utilize one package with different programs in SCCM to install multiple ways. It would be nice to use an argument to set a variable along with the DeploymentType to run certain actions.

Also, a second question to repair. I notice there is a lot of MSI automation. Is there anything to tell an MSI that is already installed to just run a repair?

Viewing all articles
Browse latest Browse all 1769

Latest Images

Trending Articles



Latest Images