MSI Install - Transform and PROPERTY on the same command line
Can I run msiexec with a command line that specifies a transform AND includes some public property values?
I'm trying it, but it doesn't seem to be working. I've not found a single example that does both. It's making think I'm barking up the wrong tree.
Why? I'm dictating the values of 5 properties. That's quite the command line. 1 of these will probably never need to be changed; three of them can be covered by 3 transforms; The remaining one could be one of 12ish values. That's too many transforms to manage. I want to use one of three transforms, and specify the 5th on the command line.
Answers (3)
msiexec /i blah.msi TRANSFORMS=Blah.mst;blahmore.mst MYPROPERTY=1 REBOOT=REALLYSUPPRESS /qb /l*vx .\mylog.log
Remember that property values on the command line override those in a transform, too.
And yes, always log and log verbosely. Troubleshooting is practically impossible without.
Comments:
-
I DO log verbosely, but I didn't see any evidence in my log that my property had been accepted...or even seen.
I'll give it another whirl. - jt65 8 years ago