diff options
Diffstat (limited to 'src/test/WixToolsetTest.Util/TestData/XmlConfigModule/Module.wxs')
-rw-r--r-- | src/test/WixToolsetTest.Util/TestData/XmlConfigModule/Module.wxs | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/test/WixToolsetTest.Util/TestData/XmlConfigModule/Module.wxs b/src/test/WixToolsetTest.Util/TestData/XmlConfigModule/Module.wxs new file mode 100644 index 00000000..93f5eeb1 --- /dev/null +++ b/src/test/WixToolsetTest.Util/TestData/XmlConfigModule/Module.wxs | |||
@@ -0,0 +1,34 @@ | |||
1 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util"> | ||
2 | <Module Id="XmlConfigModule" Language="1033" Version="1.0.0.0" Guid="047730a5-30fe-4a62-a520-da9381b8226a"> | ||
3 | |||
4 | <Component Id="Parent" Directory="INSTALLFOLDER"> | ||
5 | <File Id="my.xml" Source="my.xml" /> | ||
6 | <util:XmlConfig | ||
7 | Id="AddElement" | ||
8 | File="[my.xml]" | ||
9 | Action="create" | ||
10 | Node="element" | ||
11 | VerifyPath="xxx" | ||
12 | ElementPath="//root/sub" | ||
13 | On="install" | ||
14 | Sequence="1" /> | ||
15 | </Component> | ||
16 | |||
17 | <Component Id="Child" Directory="INSTALLFOLDER" Guid="4613414c-11f5-40fa-a1f1-a0ba722a6895"> | ||
18 | <util:XmlConfig | ||
19 | Id="ChildElement" | ||
20 | File="[my.xml]" | ||
21 | VerifyPath="xxx" | ||
22 | ElementId="AddElement" | ||
23 | Sequence="1" /> | ||
24 | </Component> | ||
25 | </Module> | ||
26 | |||
27 | <Fragment> | ||
28 | <Directory Id="TARGETDIR" Name="SourceDir"> | ||
29 | <Directory Id="ProgramFilesFolder"> | ||
30 | <Directory Id="INSTALLFOLDER" Name="MsiPackage" /> | ||
31 | </Directory> | ||
32 | </Directory> | ||
33 | </Fragment> | ||
34 | </Wix> | ||