| 1 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
| 2 | <Package Name="MsiPackage" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="047730a5-30fe-4a62-a520-da9381b8226a"> |
| 3 | <MajorUpgrade DowngradeErrorMessage="Downgrade error message." /> |
| 4 | |
| 5 | <Feature Id="ProductFeature"> |
| 6 | <Files |
| 7 | Directory="ProgramFiles6432Folder" |
| 8 | Subdirectory="Example Product" |
| 9 | Include="files1\*"> |
| 10 | <Exclude Files="files1\test1.txt" /> |
| 11 | </Files> |
| 12 | |
| 13 | <!-- |
| 14 | `$(sys.SOURCEFILEDIR)` is equivalent to the above (i.e., the default), |
| 15 | but this validates that preprocessor variables are happy here. |
| 16 | --> |
| 17 | <Files |
| 18 | Directory="ProgramFiles6432Folder" |
| 19 | Subdirectory="Example Product\Assets" |
| 20 | Include="$(sys.SOURCEFILEDIR)\files2\*"> |
| 21 | <Exclude Files="$(sys.SOURCEFILEDIR)\files2\notatest.txt" /> |
| 22 | </Files> |
| 23 | </Feature> |
| 24 | </Package> |
| 25 | </Wix> |