Solved

Deploying MSI with arguments

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

Expert Comment

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

Daz.
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
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 …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

776 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