It's just an xml file in my case, tables.xml, and it gets pulled into a
makefile and compiled w/ my C# code to set up the extension.  The code I
provided would be complete, <tableDefinitions> is the root tag, then below
that you can just mirror what I did to set up the columns for the table.  I
haven't looked into CustomTable, but all I can say is your case sounds very
similar to mine (a new WixExtension).

I've never used Brian's way, but I would bank on that way working as well,
and it's built into Wix so it might be simpler.

On Sat, Nov 22, 2008 at 2:10 PM, Sean Farrow
<[EMAIL PROTECTED]>wrote:

> Hi:
> Thanks for that chad.
> Can this table definition be added within a .wxs file inside a fragment?
> Chers
> Sean.
>
> -----Original Message-----
> From: Chad Miles [mailto:[EMAIL PROTECTED]
> Sent: 22 November 2008 17:47
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Creating tables for Wix extensions
>
> I didn't see anything in the doc.  Here's a sample I used:
>
> <tableDefinitions>
>  <tableDefinition name="TableName">
>    <columnDefinition name="Id"
>      type="string" length="72" primaryKey="yes" category="identifier"
>      description="Simple Identifier."/>
>    <columnDefinition name="Name"
>      type="string" length="72" category="text"
>      description="Name of the entry to be inserted into DS." />
>    <columnDefinition name="Path"
>      type="string" length="72" category="text"
>      description="xxxx." />
>    <columnDefinition name="Class"
>      type="string" length="72" category="text"
>      description="xxxx."/>
>    <columnDefinition name="Value"
>      type="string" length="72" category="text"
>      description="xxxx." />
>    <columnDefinition name="LangId"
>      type="string" length="72" category="text"
>      description="xxxx." />
>    <columnDefinition name="Options"
>      type="number" length="2" category="integer"
>      minValue="1" maxValue="32767" description="xxxx." />
>    <columnDefinition name="Condition" type="string" length="72"
> nullable="yes" modularize="column"
>      category="text" description="xxxx." />
>  </tableDefinition>
> </tableDefinitions>
>
> On Sat, Nov 22, 2008 at 12:21 PM, Sean Farrow
> <[EMAIL PROTECTED]>wrote:
>
> > Hi;
> > is there any help/docs/tutorials detailing how to create a table for a
>
> > wix extension?
> > Any help apreciated.
> > Cheers
> > Sean.
> > ----------------------------------------------------------------------
> > --- This SF.Net email is sponsored by the Moblin Your Move Developer's
>
> > challenge Build the coolest Linux based applications with Moblin SDK &
>
> > win great prizes Grand prize is a trip for two to an Open Source event
>
> > anywhere in the world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> ------------------------------------------------------------------------
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge Build the coolest Linux based applications with Moblin SDK &
> win great prizes Grand prize is a trip for two to an Open Source event
> anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature database 3632 (20081121) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature database 3632 (20081121) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to