diff options
author | Rob Mensching <rob@firegiant.com> | 2024-04-25 11:10:50 -0700 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2024-04-25 13:31:39 -0700 |
commit | a500693e3c9e94304c8b9a8229203b2b750900aa (patch) | |
tree | e99d90f31e2848a695f47423a440fb63bb9e8dae /src/test/burn/TestData/WixStdBaTests/BalCondition | |
parent | 4983aeeb2da6e96bc8aad698752b3b962f58e585 (diff) | |
download | wix-a500693e3c9e94304c8b9a8229203b2b750900aa.tar.gz wix-a500693e3c9e94304c8b9a8229203b2b750900aa.tar.bz2 wix-a500693e3c9e94304c8b9a8229203b2b750900aa.zip |
Update tests to use TestVersion property instead of generic Version property
The MSBuild Version property is well-known and can be set by standard
processes. That can cause problem in the tests where the version is explicitly
set to validate WiX behaviors. So, we've switched to using the TestVersion
property that will be specific for our testing purposes.
Diffstat (limited to 'src/test/burn/TestData/WixStdBaTests/BalCondition')
-rw-r--r-- | src/test/burn/TestData/WixStdBaTests/BalCondition/BalCondition.wixproj | 2 | ||||
-rw-r--r-- | src/test/burn/TestData/WixStdBaTests/BalCondition/BalCondition.wxs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/burn/TestData/WixStdBaTests/BalCondition/BalCondition.wixproj b/src/test/burn/TestData/WixStdBaTests/BalCondition/BalCondition.wixproj index 7e0224e2..39079c89 100644 --- a/src/test/burn/TestData/WixStdBaTests/BalCondition/BalCondition.wixproj +++ b/src/test/burn/TestData/WixStdBaTests/BalCondition/BalCondition.wixproj | |||
@@ -5,7 +5,7 @@ | |||
5 | <OutputType>Bundle</OutputType> | 5 | <OutputType>Bundle</OutputType> |
6 | <BA>hyperlinkLicense</BA> | 6 | <BA>hyperlinkLicense</BA> |
7 | <UpgradeCode>{42CCE8AB-777A-481F-9EA2-0B5B10179E8A}</UpgradeCode> | 7 | <UpgradeCode>{42CCE8AB-777A-481F-9EA2-0B5B10179E8A}</UpgradeCode> |
8 | <DefineConstants>$(DefineConstants);Version=1.0</DefineConstants> | 8 | <DefineConstants>$(DefineConstants);TestVersion=1.0</DefineConstants> |
9 | </PropertyGroup> | 9 | </PropertyGroup> |
10 | 10 | ||
11 | <ItemGroup> | 11 | <ItemGroup> |
diff --git a/src/test/burn/TestData/WixStdBaTests/BalCondition/BalCondition.wxs b/src/test/burn/TestData/WixStdBaTests/BalCondition/BalCondition.wxs index e3c36df7..755c2351 100644 --- a/src/test/burn/TestData/WixStdBaTests/BalCondition/BalCondition.wxs +++ b/src/test/burn/TestData/WixStdBaTests/BalCondition/BalCondition.wxs | |||
@@ -1,7 +1,7 @@ | |||
1 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> | 1 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> |
2 | 2 | ||
3 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal"> | 3 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal"> |
4 | <Bundle Name="~$(var.TestGroupName) - $(var.BundleName)" Version="$(var.Version)" UpgradeCode="$(var.UpgradeCode)" Compressed="yes"> | 4 | <Bundle Name="~$(var.TestGroupName) - $(var.BundleName)" Version="$(var.TestVersion)" UpgradeCode="$(var.UpgradeCode)" Compressed="yes"> |
5 | <Log Prefix="~$(var.TestGroupName)_$(var.BundleName)" /> | 5 | <Log Prefix="~$(var.TestGroupName)_$(var.BundleName)" /> |
6 | 6 | ||
7 | <BootstrapperApplication> | 7 | <BootstrapperApplication> |