I have an MSI installer in which I need to add or modify a short text property from the command-line.
This has to be done after the installer is built; I cannot modify the process that produces the installer in the first place. It also has to be executed headless from a script.
When I say “property,” it could be an MSI property, a value that gets written to the registery at install-time, or any other mechanism that can get this short custom text into the installed application when it runs.
Example VBScript that you could use to update (or add) a property post-build…
For more information check out the Windows Installer SDK (part of the Windows SDK)
There’s a bunch of example scripts that you can use from the command line to do various MSI manipulation tasks
For example
WiRunSQL.vbslets you execute arbitrary SQL against an MSI.