?
Solved

Deploying MSI with arguments

Posted on 2011-09-08
5
Medium Priority
?
738 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 13

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 13

Accepted Solution

by:
Daz_1234 earned 2000 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 13

Expert Comment

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

Daz.
0

Featured Post

Four New Appliances. Same Industry-leading Speeds.

But don't take it from us.  The Firebox M370 is Miercom tested and Miercom approved, outperforming its competitors for stateless and stateful traffic throughput scenarios.  Learn more about the M370, M470, M570 and M670 and find the right solution for your organization today!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
OnPage enhanced its integration with ConnectWise Manage to offer incident responders more control over the ticket and Incident Resolution Lifecycle.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses
Course of the Month11 days, 22 hours left to enroll

752 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