Using Package Transformations (MST)

2019-07-01 15:46发布

问题:

What is the difference between using an MST combined with an MSI, and running the MSI and passing the modified properties through the command line (MSIEXEC)

回答1:

An MST can contain all kinds of changes to the MSI--including new or different files, Registry entries, custom actions... and modified properties, as you mention.

On the MSI command line, the only thing you can do differently is change properties...



回答2:

When deploying a package via Active Directory, you can't specify command line properties... so you'll need to use an MST.

Additionally if you want to add/change new files (either uncompressed, or in a CAB) then you'll also need an MST.