-
Notifications
You must be signed in to change notification settings - Fork 293
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid setting null MinValues when removing rows.
- Fixes wixtoolset/issues#8689
- Loading branch information
Showing
4 changed files
with
55 additions
and
1 deletion.
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
18 changes: 18 additions & 0 deletions
18
...x/test/WixToolsetTest.CoreIntegration/TestData/PatchWithRemovedRemoveFileRows/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,18 @@ | ||
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
<Package Name="~Test Package" Version="$(V)" Manufacturer="Example Corporation" Language="1033" UpgradeCode="{81CB1126-5796-4012-AB4D-97360EB817F1}" Scope="perMachine" ProductCode="{6CB58995-A174-4A21-823E-3A114A81AB66}"> | ||
|
||
<Component Directory="INSTALLFOLDER"> | ||
<RegistryValue Root="HKLM" Key="SOFTWARE\WiX Toolset\PatchTests" Name="GonnaRemoveRemoveFileRow" Value="1" KeyPath="yes" /> | ||
|
||
<?if $(V) = "1.0.0" ?> | ||
<RemoveFile Name="bar.dat" On="uninstall" /> | ||
<?endif?> | ||
</Component> | ||
|
||
<Component Directory="INSTALLFOLDER"> | ||
<RegistryValue Root="HKLM" Key="SOFTWARE\WiX Toolset\PatchTests" Name="ButNotInThisComponent" Value="1" KeyPath="yes" /> | ||
|
||
<RemoveFile Name="foo.dat" On="uninstall" /> | ||
</Component> | ||
</Package> | ||
</Wix> |
15 changes: 15 additions & 0 deletions
15
...wix/test/WixToolsetTest.CoreIntegration/TestData/PatchWithRemovedRemoveFileRows/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,15 @@ | ||
<Wix xmlns='http://wixtoolset.org/schemas/v4/wxs'> | ||
<Patch | ||
DisplayName="~Test Patch v$(V)" | ||
Description="~Test Small Update Patch v$(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='$(V)' /> | ||
</Patch> | ||
</Wix> |