Solved

Deploying MSI with arguments

Posted on 2011-09-08
5
700 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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to get AD RMS to work with Office 2016 for Mac 6 162
Office 365 & Microsoft Azure 8 62
active directory 6 76
GPO help required 12 42
Scenario: Your operations manager has discovered an anomaly in your security system. The business will start to suffer within 15 minutes if it is a major IT incident. What should she do? We have 6 recommendations for managing major incidents (https:…
When we talk about DevOps toolchains, I sometimes wonder how many people really get what we’re talking about. I don’t know if it’s just semantics or tone or something else, but sometimes I think it just sounds like buzzword sausage. So it’s always …
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 …

895 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

13 Experts available now in Live!

Get 1:1 Help Now