forked from wixtoolset/wix
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not crash on Subdirectory when missing Component Directory attribute
Fixes 7407
- Loading branch information
Showing
3 changed files
with
41 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
...st/WixToolsetTest.CoreIntegration/TestData/Component/MissingDirectoryWithSubdirectory.wxs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
<Fragment> | ||
<ComponentGroup Id="ProductComponents"> | ||
<Component Subdirectory="fails\without\Directory\attribute"> | ||
<File Source="test.txt" /> | ||
</Component> | ||
</ComponentGroup> | ||
</Fragment> | ||
</Wix> |