[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Deploying MSI with arguments

Posted on 2011-09-08
5
Medium Priority
?
745 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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

In this blog, we’ll look at how improvements to Percona XtraDB Cluster improved IST performance.
Wouldn't it be nice if objects in Active Directory automatically moved into the correct Organizational Units? This is what AutoAD aims to do and as a plus, it automatically creates Sites, Subnets, and Organizational Units.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

650 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