Link to home
Start Free TrialLog in
Avatar of Tonygret
TonygretFlag for United States of America

asked on

Deploying MSI with arguments

I have a MSI file that will only deploy with agruments. If I do this through a batch file it works, But how can I do this through AD software deployment?

 For instance I want to deploy "software.msi" with the following arguments.  The command line would look like this:

software.msi /qn PORTAL_INSTALL=yes DMSIPADDRESS=x.x.x.x CNUMBER=123645 CMF=123456 SDASERVERIP=x.x.x.x SDASILENT=true STARTHIDDEN=/starthidden

Any help would be appreciated.
Avatar of Darren Collins
Darren Collins
Flag of United Kingdom of Great Britain and Northern Ireland image

You should create a transform for the msi - AD deployment allows for specifying transforms with msi installations.

Edit the msi using your favourite editor like ORCA, or the free InstEd (http://www.instedit.com/)

Create a new transform (in InstEd or ORCA select Transform / New Transform on the menu)

Open the Property table and add the properties you are setting on the command line:

Property           Value
¯¯¯¯¯¯¯¯           ¯¯¯¯¯
PORTAL_INSTALL     Yes
DMSIPADDRESS       x.x.x.x
CNUMBER            123645
CMF                123456
SDASERVERIP        x.x.x.x
SDASILENT          true
STARTHIDDEN        /starthidden

Open in new window


Save the Transform, then add it in the GUI when you are setting up the installation.

Hope this helps,
Daz.

Avatar of Tonygret

ASKER

Daz 1234,

I will try that later today.  What about the first switch "/qn" right after the MSI file?   Thanks!
ASKER CERTIFIED SOLUTION
Avatar of Darren Collins
Darren Collins
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Daz,

Brilliant!  That worked.  Thank you very much for your help.
You're welcome. Thanks for the grade!

Daz.