diff options
| author | Bob Arnson <bob@firegiant.com> | 2019-11-06 18:17:18 -0500 |
|---|---|---|
| committer | Bob Arnson <bob@firegiant.com> | 2019-11-06 19:13:38 -0500 |
| commit | 58cd3477c3ae3d7880991ee1651a862a45371e08 (patch) | |
| tree | 933c6b44723e6d2d41208a5904b964fe91bf68c3 /src/test/WixToolsetTest.CoreIntegration/TestData | |
| parent | 97a70bbc1b90cb26f8c77d83e703689d15d08761 (diff) | |
| download | wix-58cd3477c3ae3d7880991ee1651a862a45371e08.tar.gz wix-58cd3477c3ae3d7880991ee1651a862a45371e08.tar.bz2 wix-58cd3477c3ae3d7880991ee1651a862a45371e08.zip | |
Add preprocessor variables with WiX version info.
$(sys.WIXMAJORVERSION)
$(sys.WIXVERSION)
Diffstat (limited to 'src/test/WixToolsetTest.CoreIntegration/TestData')
| -rw-r--r-- | src/test/WixToolsetTest.CoreIntegration/TestData/Variables/Package.wxs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/WixToolsetTest.CoreIntegration/TestData/Variables/Package.wxs b/src/test/WixToolsetTest.CoreIntegration/TestData/Variables/Package.wxs index 896b7e3f..9f5e3f34 100644 --- a/src/test/WixToolsetTest.CoreIntegration/TestData/Variables/Package.wxs +++ b/src/test/WixToolsetTest.CoreIntegration/TestData/Variables/Package.wxs | |||
| @@ -6,6 +6,10 @@ | |||
| 6 | <?define Bar = "Bar" ?> | 6 | <?define Bar = "Bar" ?> |
| 7 | <?define Bar = "Baz" ?> | 7 | <?define Bar = "Baz" ?> |
| 8 | 8 | ||
| 9 | <?if $(sys.WIXMAJORVERSION) >= 4 AND $(sys.WIXMAJORVERSION) < 5 ?> | ||
| 10 | <?warning WiX v4 is in effect! ?> | ||
| 11 | <?endif?> | ||
| 12 | |||
| 9 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | 13 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
| 10 | <Product Id="*" Name="MsiPackage" Language="1033" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="047730a5-30fe-4a62-a520-da9381b8226a"> | 14 | <Product Id="*" Name="MsiPackage" Language="1033" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="047730a5-30fe-4a62-a520-da9381b8226a"> |
| 11 | <Package InstallerVersion="200" Compressed="no" InstallScope="perMachine" /> | 15 | <Package InstallerVersion="200" Compressed="no" InstallScope="perMachine" /> |
