I have a wix setup project, I build it and install it using following command line:
msiexec /i setup.msi /l* log.txt开发者_开发知识库
My project has properties which are used by textboxes.
<Property Id="DataSource" Value="."/>
<Control Id="DataSourceText" Type="Edit" Text="." Height="17" Width="150" X="200" Y="18" Property="DataSource"/>
Those properties don't display in the log file. Is there a way to make them displayed?
Use upper case for property names and they will.
I use /l*v
option to get the verbose log from MSI. All events where a value is assigned to a property are logged, along with the new value. (This holds true both for upper-case public properties and mixed-case private properties.)
If a property holds a password or other sensitive information, it should be marked with attribute Hidden="Yes"
. The values of such properties are not logged.
For anyone visiting this topic: there's still a difference between /lv* and /lvoicewarmupx which uses all the log options.
With the second option you see the initial value of the properties as well.
zzz.msi /lvoicewarmupx debug.log
精彩评论