| 1 | <?xml version="1.0" encoding="utf-8" ?> |
| 2 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
| 3 | <Fragment> |
| 4 | <ComponentGroup Id="ProductComponents"> |
| 5 | <ComponentGroupRef Id="GroupA1" /> |
| 6 | <ComponentGroupRef Id="GroupA2" /> |
| 7 | <ComponentGroupRef Id="GroupB1" /> |
| 8 | <ComponentGroupRef Id="GroupB2" /> |
| 9 | </ComponentGroup> |
| 10 | </Fragment> |
| 11 | |
| 12 | <Fragment> |
| 13 | <ComponentGroup Id="GroupA1" Directory="INSTALLFOLDER" Subdirectory="path\to\path1"> |
| 14 | <Component> |
| 15 | <File Name="a1.txt" Source="test.txt" /> |
| 16 | </Component> |
| 17 | </ComponentGroup> |
| 18 | </Fragment> |
| 19 | |
| 20 | <Fragment> |
| 21 | <ComponentGroup Id="GroupB1" Directory="INSTALLFOLDER" Subdirectory="path\to\path1"> |
| 22 | <Component> |
| 23 | <File Name="b1.txt" Source="test.txt" /> |
| 24 | </Component> |
| 25 | </ComponentGroup> |
| 26 | </Fragment> |
| 27 | |
| 28 | <Fragment> |
| 29 | <ComponentGroup Id="GroupA2" Directory="INSTALLFOLDER" Subdirectory="path\to\path2"> |
| 30 | <Component> |
| 31 | <File Name="a2.txt" Source="test.txt" /> |
| 32 | </Component> |
| 33 | </ComponentGroup> |
| 34 | </Fragment> |
| 35 | |
| 36 | <Fragment> |
| 37 | <ComponentGroup Id="GroupB2" Directory="INSTALLFOLDER" Subdirectory="path\to\path2"> |
| 38 | <Component> |
| 39 | <File Name="b2.txt" Source="test.txt" /> |
| 40 | </Component> |
| 41 | </ComponentGroup> |
| 42 | </Fragment> |
| 43 | </Wix> |