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

Comments

Please log in to comment

Community Chosen Answer

1

>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: VBScab
Red Belt

Please log in to comment

Answers

0
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
Seventh 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...

    Cheers
    Phil
    • 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.
Please log in to comment
0

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

Please log in to comment
0

>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: VBScab
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.
Please log in to comment
Answer this question or Comment on this question for clarity