aboutsummaryrefslogtreecommitdiff
path: root/src/test/WixToolsetTest.CoreIntegration/TestData/CustomTable/CustomTable.wxs
blob: d32e808c1e4e76e7922549e3fc9417f2715db88a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?xml version="1.0" encoding="utf-8" ?>
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
    <Fragment>
        <ComponentGroup Id="ProductComponents">
            <ComponentGroupRef Id="MinimalComponentGroup" />
        </ComponentGroup>

        <CustomTable Id="CustomTable1">
            <Column Id="Column1" Type="string" PrimaryKey="yes" Category="text" Modularize="column" Description="The first custom column." />
            <Column Id="Component_" Type="string" Width="72" KeyTable="Component" KeyColumn="1" Description="The custom table's Component reference" Modularize="column" />
            <Row>
                <Data Column="Column1" Value="Row1" />
                <Data Column="Component_" Value="test.txt" />
            </Row>
            <Row>
                <Data Column="Column1" Value="Row2" />
                <Data Column="Component_" Value="test.txt" />
            </Row>
        </CustomTable>

        <CustomTable Id="CustomTable2" Unreal="yes">
            <Column Id="ColumnA" Type="string" PrimaryKey="yes" />
            <Column Id="Component_" Type="string" Width="72" KeyTable="Component" KeyColumn="1" Modularize="column" />
            <Row>
                <Data Column="ColumnA" Value="RowA" />
                <Data Column="Component_" Value="test.txt" />
            </Row>
            <Row>
                <Data Column="ColumnA" Value="RowB" />
                <Data Column="Component_" Value="test.txt" />
            </Row>
        </CustomTable>
    </Fragment>
</Wix>