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.