[wix-users] Extensibility

Christopher Painter chrpai at iswix.com
Thu Nov 5 12:00:29 PST 2015


You said you didn't want it to influence the MSI.   To me this sounds like using a preprocessor XPI  as a meta tag.  Something like

<?define MyTag="foo"?>    
<Feature.....>

You could do an XML query on your feature and then look for the XPI above it to get your additional meta for that feature.

To me a custom attribute on the Feature element would manfiest as a column in the feature table of the MSI.  A custom child element would manifest as a table with a join back to the Feature table.     My suggestion above would merely be source code meta and not compiled into the MSI at all.

________________________________________
From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of Szentpáli, János <szentpalijanos at gmail.com>
Sent: Thursday, November 5, 2015 1:41 PM
To: WiX Toolset Users Mailing List
Subject: Re: [wix-users] Extensibility

2015-11-05 21:37 keltezéssel, Douglas, Keith (STATCAN/STATCAN) írta:
> Does it really need to be in Feature? We too use an administrative attribute in our MSIs; but we just define a property, which proved to be useful.
Yes, I „need” it to function as a tag.
Have a couple of scripts going over sources, fragments, includes and it
would be nice if those scripts could find certain information in the XML
that is being loaded/parsed anyway.
Far easier to execute an extra x-query than to parse external databases
that must be correlated with elements in XML files.
Plus it would be a good exercise to create such an extension.

Regards,
János

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/



More information about the wix-users mailing list