How do I create an empty custom table in Wix

Posted by Samuel Jack on Stack Overflow See other posts from Stack Overflow or by Samuel Jack
Published on 2010-04-14T17:01:02Z Indexed on 2010/04/14 17:03 UTC
Read the original article Hit count: 429

Filed under:
|
|

How do I get Wix to include a CustomTable with no rows in the final MSI? If I simply define the table like this

<CustomTable Id="MyTable">
  <Column Id="Id" Type="string" Category="Identifier" PrimaryKey="yes"/>
  <Column Id="Root" Type="string"/>
  <Column Id="Key" Type="string"/>
  <Column Id="Name" Type="string"/>
</CustomTable>

Wix omits it from the final output.

My CustomAction is expecting it to be there, so that it can add rows to it during execution.

Any ideas?

© Stack Overflow or respective owner

Related posts about wix

Related posts about dtf