I have a large number of Find/Replace that I need to perform on files that are part of the installation. Rather than set the properties for the custom action for each find/replace that needs to occur in type 51 Custom Actions, I was wondering if I could use a custom table instead. The Find/replace custom action would be set to use the table for input if operating immediate or if operating defered, a immediate custom action would stuff the table into the CustomActionData.
The files aren't stored as XML otherwise I would have used XMLFile in Util Extension. Wix File <CustomTable Id="Replacements" > <Column Id="PKey" Category="Identifier" PrimaryKey="yes" Type="int" Width="2"/> <Column Id="File" Type="string"/> <Column Id="Key" Type="string"/> <Column Id="Value" Type="string"/> <Row> <Data Column="PKey">1</Data> <Data Column="File">[#File1]</Data> <Data Column="Key">ReplaceServerName</Data> <Data Column="Value">[SERVER]</Data> </Row> <Row> <Data Column="PKey">2</Data> <Data Column="File">[#File1]</Data> <Data Column="Key">ReplacePort</Data> <Data Column="Value">[PORT]</Data> </Row> </CustomTable> My current questions are: 1. Within the Column definitions, what needs to be done to mark the columns as containing file and property values? I've tried the category attributes however the values werent't being resolved and only should up as text. 2. Within the Data elements, how should the file/properties be represented? 3. At what point in the installation process will the the values be avaiable (when does my custom action have to be scheduled in order to have access to the expanded file/property values?) Thanks Mark ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users