Software Deployment Question

Adding a property to MST transform

04/12/2016 3108 views

I have been tasked with adding a command line to an installation as a property to the transform. I'm not sure where or how to add the command line in the transform.
Configuration needed as follows:
msiexec.exe /i CiscoJabberSetup.msi SERVICES_DOMAIN=xxx.com   (I changed the company name to "XXX" for company privacy).
I'm not sure where in the .MST I should add this as a property. Any help is greatly appreciated!

0 Comments   [ + ] Show comments


Community Chosen Answer


>In the PROPERTIES table, of course
You mean the 'Property' table, of course.

>I'd first point you towards searching this website
Hmmm...not really the best advice. What would the OP search for? No, as ever, my advice is to get hold of two similarly-titled books, viz. Phil Wilson's "The Definitive Guide To Windows Installer" and Darwin Sanoy and Jeremy Moskowitz's "The Definitive Guide to Windows Installer Technology for System Administrators". Both are available as free downloads, although the free version of Phil's takes some tracking down.

Answered 04/13/2016 by: anonymous_9363
Red Belt

All Answers

In the PROPERTIES table, of course.

It sounds as you're fresh to the world of MSI's so I'd first point you towards searching this website (Flexera, too) to become familiar with how they work and what you can do to modify them.

If you've been given a quiz, the correct answer is; if this is the only modification that the MST will provide, there's no need to create one.  Simply use the commandline that you provided and you're finished.

Answered 04/12/2016 by: vjaneczko
9th Degree Black Belt

  • Hi Vjaneczko,
    whilst the command line option you suggested would work *once* during the initial installation, subsequent repairs or the required de-install would not "know" about the value passed via the command line. Therefore it is always advisable to use a transform...

    • Phil - thanks. My approach was do this within a transform. My question is where/how in the transform would I add this?
      • Hi,
        as already stated, in the property table of the transform. Quick & Easy with Orca.
      • I have only Installshield to work with, not Orca..
      • Use Orca or InstEd if you are just adding a PROPERTY. Installshield adds other artifacts to the MST upon creation which is not required.

        So to make a generlisation, if your doing a simple table edit use Orca or InstEd. If you're adding files and making major changes then use Installshield as it will be easier.

create the mst in installshield, use the Tuner tool. create the transform, if you use the wizard (tick the box to create a response transform) it will run through the install, ask you the company name, and record the property (in the afore mentioned property table)

however, it also adds other properties that purists (like me) don't like.

So you are better off, creating an MST, adding the values you want and you're done.


PS get orca

Answered 04/13/2016 by: Badger
Red Belt


>PS get Orca
PPS Get InstEdit instead. It's the same as Orca, only much better, especially for newbies. For example, if you change something that has implications elsewhere, e.g. a component's name, InstEdit will prompt you that the other references need to be updated. Orca doesn't do that: it leaves you to do it yourself which of course presumes an intimate knowledge of an MSI's table structure.

Also, the only way to get Orca is to download the entire Platform SDK (or whatever MS is calling it this week) which, whilst useful for hackers like me, is 1GB of overkill for a 5MB installation! :-)

Answered 04/14/2016 by: anonymous_9363
Red Belt

  • yep, InstEdit, or SuperOrca. Even if you go for the SDK, downloading a GB is no major big deal. Hell, get all 3, plus any others you find.
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ