-
Notifications
You must be signed in to change notification settings - Fork 291
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix crash when adding file in patch when filtering
- Loading branch information
Showing
10 changed files
with
82 additions
and
10 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
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
1 change: 1 addition & 0 deletions
1
src/wix/test/WixToolsetTest.CoreIntegration/TestData/PatchWithAddedFile/.data/Av1.0.0.txt
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 @@ | ||
This is A v1.0.0 |
1 change: 1 addition & 0 deletions
1
src/wix/test/WixToolsetTest.CoreIntegration/TestData/PatchWithAddedFile/.data/Av1.0.1.txt
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 @@ | ||
This ia A v1.0.1 |
1 change: 1 addition & 0 deletions
1
src/wix/test/WixToolsetTest.CoreIntegration/TestData/PatchWithAddedFile/.data/Bv1.0.0.txt
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 @@ | ||
This is B v1.0.0 |
1 change: 1 addition & 0 deletions
1
src/wix/test/WixToolsetTest.CoreIntegration/TestData/PatchWithAddedFile/.data/Bv1.0.1.txt
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 @@ | ||
This ia B v1.0.1 |
1 change: 1 addition & 0 deletions
1
src/wix/test/WixToolsetTest.CoreIntegration/TestData/PatchWithAddedFile/.data/C.txt
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 @@ | ||
This is C, unversioned. |
21 changes: 21 additions & 0 deletions
21
src/wix/test/WixToolsetTest.CoreIntegration/TestData/PatchWithAddedFile/Package.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,21 @@ | ||
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
<Package Name="~Test Package" Version="$(var.V)" Manufacturer="Example Corporation" Language="1033" UpgradeCode="7d326855-e790-4a94-8611-5351f8321fca" Compressed="yes" Scope="perMachine" ProductCode="7d326855-e790-4a94-8611-5351f8321fca"> | ||
<MediaTemplate EmbedCab="yes" /> | ||
|
||
<ComponentGroup Id="Components" Directory="INSTALLFOLDER"> | ||
<Component Id="CA"> | ||
<File Id="a.txt" Name="a.txt" Source="Av$(var.A).txt" /> | ||
</Component> | ||
|
||
<Component Id="CB"> | ||
<File Id="b.txt" Name="b.txt" Source="Bv$(var.B).txt" /> | ||
</Component> | ||
|
||
<?if $(C) == "TRUE" ?> | ||
<Component Id="CC"> | ||
<File Id="c.txt" Name="c.txt" Source="C.txt" /> | ||
</Component> | ||
<?endif?> | ||
</ComponentGroup> | ||
</Package> | ||
</Wix> |
18 changes: 18 additions & 0 deletions
18
src/wix/test/WixToolsetTest.CoreIntegration/TestData/PatchWithAddedFile/Patch.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,18 @@ | ||
<Wix xmlns='http://wixtoolset.org/schemas/v4/wxs'> | ||
<Patch | ||
AllowRemoval="yes" | ||
DisplayName="~Test Patch v$(var.V)" | ||
Description="~Test Small Update Patch v$(var.V)" | ||
MoreInfoURL="http://www.example.com/" | ||
Manufacturer="Example Corporation" | ||
Classification="Update"> | ||
|
||
<Media Id="1" Cabinet="foo.cab"> | ||
<PatchBaseline Id="RTM" BaselineFile="Baseline.wixpdb" UpdateFile="Update.wixpdb" /> | ||
</Media> | ||
|
||
<PatchFamily Id='SequenceFamily' Version='$(var.V)'> | ||
<ComponentRef Id="CC" /> | ||
</PatchFamily> | ||
</Patch> | ||
</Wix> |