Solved

Deploying MSI with arguments

Posted on 2011-09-08
5
687 Views
Last Modified: 2012-05-12
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.
0
Comment
Question by:Tonygret
  • 3
  • 2
5 Comments
 
LVL 12

Expert Comment

by:Daz_1234
ID: 36510298
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.

0
 

Author Comment

by:Tonygret
ID: 36510643
Daz 1234,

I will try that later today.  What about the first switch "/qn" right after the MSI file?   Thanks!
0
 
LVL 12

Accepted Solution

by:
Daz_1234 earned 500 total points
ID: 36510709
That switch just means no UI and no dialogs to be shown.

This page should help with setting up in AD using the mst file you'll create:
http://www.zephyrcorp.com/kb/setup_&_deployment/pc_to_host/deployment/deploying_msi_mst_using_group_policy_and_active_directory.htm

The /qn will not be used of course but you'll select the 'Basic' user interface option on step five of that web page which will show the user a basic progress bar but without asking them to select any options.

Daz.
0
 

Author Closing Comment

by:Tonygret
ID: 36525988
Daz,

Brilliant!  That worked.  Thank you very much for your help.
0
 
LVL 12

Expert Comment

by:Daz_1234
ID: 36526372
You're welcome. Thanks for the grade!

Daz.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This comprehensive conference-networking guide will help you prep, practice and pack for success, reach out with purpose and confidence, capitalize on connections, and turn all those new leads into long-term connections.
Our Group Policy work started with Small Business Server in 2000. Microsoft gave us an excellent OU and GPO model in subsequent SBS editions that utilized WMI filters, OU linking, and VBS scripts. These are some of experiences plus our spending a lo…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now