Reputation: 81
Using WiX, I would like to display the list of features that were installed at the end of the MSI installation. When using full UI mode, the user will select the features to install by using a feature tree. Looking at the log, the ADDLOCAL property is updated appropriately and is displayed in the log as a comma-delimited list of features. However, when I try to display this value on the UI, it appears blank. If I try launching the MSI in full UI mode via the command prompt and pass in a value for ADDLOCAL, this value is the one displayed on the UI, even if the user modifies the feature selection via the feature tree. How can I display to the user on a dialog what features were installed?
Upvotes: 2
Views: 1170
Reputation: 21
Properties are case sensitive make sure to use caps like this ADDLOCAL Hope this helps!
Upvotes: 0
Reputation: 61
Add following line to your wix source code:
<SetProperty Id="FEATURELIST" Value="[ADDLOCAL]" After="CostFinalize"/>
And use FEATURELIST
property to get list of all installed features.
That’s really it. :)
Upvotes: 2