Creating MST To Populate Named Command Line Switches in an MSI

Posted on 2014-08-11
Last Modified: 2014-08-21
Hey Guys -

Got a quick question.  I've been using Orca for years, but only to create MSTs for apps like Flash or Java where I change an object in the Properties table from "Yes" to "No" or "1" to "0."  I'm trying to do something a bit more advanced and need help, please.

I've got an exe installer which I'm having trouble deploying.  One reason is that it has a really long string of possible switches we need set.  When running the executable, I found it extracts pre-reqs and the MSI installer into a temp folder so copied those over.  Now all I need to do is create an MST which will populate the MSI with the info we had in the switches.  

The catch is that there switches are not ones I'm used to which are usually on or off.  These are server names, mostly, and I don't know how to add / edit them into an MST correctly.

The exe command line:
setup.exe /s /v" DEVICESERVERURL= /norestart /l*v "C:\Windows\LogFiles\Install.log" /qn"

Therefore, the things I need to set in the MST are:
- Set it to suppress restart
- Set log file path

I found the object for the restart option in the Properties table and could use standard msiexec switches for logging, but the others, I don't know what to do with.

It seems they are all listed under the CustomAction table.  Below's an example of just MANGEDDOMAIN which appears 3 times in this table alone:

Is it as simple as changing the "Target" values of 1-3 of the above to what I need them to be?  If so, will they automatically be called and set simply by installing the MSI without additional, custom strings (besides transforms needed for the MST)?

I searched the MSI in Orca for "ManagedDomain" just to see which other tables it appears in.  Besides CustomActions, below are screenshots from a few other places it appears and looks relevant in the MSI.  It is listed in the Property table as you'll see, but only on a line with many other things.  There were a few more, but didn't think they would matter and didn't want to take screenshots for 30 minutes :)
In the "AppSearch" table
In the "Registry" table
In the "RegLocater" table
In the "Property" table (Along with all the others)
In the "InstallUISequence" table (x2)
In the "InstallExecuteSequence" table (x2)
Again, there were some in other tables, but would have taken me a while to add them all.

So... what can I edit / add to an MST so that simply running the MSI with the MST via Transforms switch will properly configure it?

Thanks Guys!
Question by:BzowK
    LVL 40

    Expert Comment

    by:Vadim Rapp
    You will find them in the table "Property". To suppress restart, specify property REBOOT. You can override log file path by using property MsiLogFileLocation .
    LVL 19

    Accepted Solution

    Create a new property in the Property table, name it MANAGEDOMAIN, and give it the value

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Suggested Solutions

    Hi Friends, These registry tweaks will help you optimizing your Windows 7 system for any VDI. This will improve the machine performanance and can be used on normal systems also. These are few registry tweaks which will add value by enhancing the …
    If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
    This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.
    The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

    779 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

    16 Experts available now in Live!

    Get 1:1 Help Now