Hi Guys,
I'm searching a way to create a Setup with WIX, which is loading settings from a xml-file (or onle a simple table in the file) and modifies the features of the setup depending on the data in the xml/table.
Any ideas? Cheers - Admirandis
Hi Guys,
I'm searching a way to create a Setup with WIX, which is loading settings from a xml-file (or onle a simple table in the file) and modifies the features of the setup depending on the data in the xml/table.
Any ideas? Cheers - Admirandis
WiX doesn't have an xmlLocator pattern so you will have to write a custom action to read your dataset into properties. From there it depends on what you mean by modify features. Do you just mean hide, install or don't install the feature or do you have something more dynamic in mind?
If the former, you can use the properites you loaded in Condition elements to change the installLevel of the features relative to your INSTALLLEVEL property. If you have something more complex in mind ( unlikely ) you would have to use a custom action to emit temporary rows into the feature / featurecomponents table.