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.
Downgrade bad ProductVersion error to warning.
Fixes wixtoolset/issues#7522.
- Loading branch information
Showing
8 changed files
with
85 additions
and
27 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
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
31 changes: 31 additions & 0 deletions
31
...xToolsetTest.CoreIntegration/TestData/Version/PackageWithUndefinedBindVariableVersion.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,31 @@ | ||
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
<Package Version="!(wix.Version)" | ||
Name="MsiPackage" | ||
Manufacturer="Example Corporation" | ||
UpgradeCode="047730a5-30fe-4a62-a520-da9381b8226a" | ||
Scope="perUser"> | ||
<MajorUpgrade DowngradeErrorMessage="Downgrade not allowed" /> | ||
<MediaTemplate EmbedCab="true" /> | ||
|
||
<Feature Id="ProductFeature" Title="Feature title"> | ||
<ComponentGroupRef Id="ProductComponents" /> | ||
</Feature> | ||
</Package> | ||
|
||
<Fragment> | ||
<StandardDirectory Id="DesktopFolder"> | ||
<Directory Id="INSTALLFOLDER" Name="MsiPackage !(wix.Version) and !(bind.property.ProductVersion)" /> | ||
</StandardDirectory> | ||
</Fragment> | ||
|
||
<Fragment> | ||
<ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER"> | ||
<Component> | ||
<File Source="test.txt" /> | ||
</Component> | ||
<Component Id="Shared.dll" Shared="yes"> | ||
<File Name="Shared.dll" Source="test.txt" /> | ||
</Component> | ||
</ComponentGroup> | ||
</Fragment> | ||
</Wix> |
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