diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2021-03-04 21:04:53 -0600 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2021-03-04 21:09:29 -0600 |
| commit | 23e3978430ec3ae4f1ea808af0b590b71b2fec9a (patch) | |
| tree | 146f8cd9e330afe7763a5debfde8dc98e2cfe87f /src | |
| parent | 9a58f85e8ce87776280fbd2d4ec36730b2e5ba0b (diff) | |
| download | wix-23e3978430ec3ae4f1ea808af0b590b71b2fec9a.tar.gz wix-23e3978430ec3ae4f1ea808af0b590b71b2fec9a.tar.bz2 wix-23e3978430ec3ae4f1ea808af0b590b71b2fec9a.zip | |
Build the SoftwareTags.
Diffstat (limited to 'src')
17 files changed, 26 insertions, 20 deletions
diff --git a/src/TestData/PatchTests/BundleA/BundleA.wixproj b/src/TestData/PatchTests/BundleA/BundleA.wixproj index e1465732..96f1e03a 100644 --- a/src/TestData/PatchTests/BundleA/BundleA.wixproj +++ b/src/TestData/PatchTests/BundleA/BundleA.wixproj | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | <Project Sdk="WixToolset.Sdk"> | 2 | <Project Sdk="WixToolset.Sdk"> |
| 3 | <PropertyGroup> | 3 | <PropertyGroup> |
| 4 | <OutputType>Bundle</OutputType> | 4 | <OutputType>Bundle</OutputType> |
| 5 | <IncludeSoftwareTag>true</IncludeSoftwareTag> | ||
| 5 | <UpgradeCode>{486FC795-69A5-4130-8727-4068F645A0A1}</UpgradeCode> | 6 | <UpgradeCode>{486FC795-69A5-4130-8727-4068F645A0A1}</UpgradeCode> |
| 6 | </PropertyGroup> | 7 | </PropertyGroup> |
| 7 | <ItemGroup> | 8 | <ItemGroup> |
diff --git a/src/TestData/PatchTests/BundleA/BundleA.wxs b/src/TestData/PatchTests/BundleA/BundleA.wxs index d40351a1..e3e0f4d7 100644 --- a/src/TestData/PatchTests/BundleA/BundleA.wxs +++ b/src/TestData/PatchTests/BundleA/BundleA.wxs | |||
| @@ -1,11 +1,9 @@ | |||
| 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:swid="http://wixtoolset.org/schemas/v4/wxs/tag"> | 3 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
| 4 | <Fragment> | 4 | <Fragment> |
| 5 | <PackageGroup Id="BundlePackages"> | 5 | <PackageGroup Id="BundlePackages"> |
| 6 | <MsiPackage Id="PackageA" SourceFile="$(var.PackageAv1.TargetPath)" /> | 6 | <MsiPackage Id="PackageA" SourceFile="$(var.PackageAv1.TargetPath)" /> |
| 7 | </PackageGroup> | 7 | </PackageGroup> |
| 8 | |||
| 9 | <!--<swid:Tag Regid="regid.1995-08.com.example" />--> | ||
| 10 | </Fragment> | 8 | </Fragment> |
| 11 | </Wix> | 9 | </Wix> |
diff --git a/src/TestData/PatchTests/BundlePatchA/BundlePatchA.wixproj b/src/TestData/PatchTests/BundlePatchA/BundlePatchA.wixproj index 290d5291..f7a8c580 100644 --- a/src/TestData/PatchTests/BundlePatchA/BundlePatchA.wixproj +++ b/src/TestData/PatchTests/BundlePatchA/BundlePatchA.wixproj | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | <Project Sdk="WixToolset.Sdk"> | 2 | <Project Sdk="WixToolset.Sdk"> |
| 3 | <PropertyGroup> | 3 | <PropertyGroup> |
| 4 | <OutputType>Bundle</OutputType> | 4 | <OutputType>Bundle</OutputType> |
| 5 | <IncludeSoftwareTag>true</IncludeSoftwareTag> | ||
| 5 | <UpgradeCode>{AA083618-6280-44B8-9899-57BCC57906A5}</UpgradeCode> | 6 | <UpgradeCode>{AA083618-6280-44B8-9899-57BCC57906A5}</UpgradeCode> |
| 6 | </PropertyGroup> | 7 | </PropertyGroup> |
| 7 | <ItemGroup> | 8 | <ItemGroup> |
diff --git a/src/TestData/PatchTests/BundlePatchA/BundlePatchA.wxs b/src/TestData/PatchTests/BundlePatchA/BundlePatchA.wxs index 89f24936..bf0c0451 100644 --- a/src/TestData/PatchTests/BundlePatchA/BundlePatchA.wxs +++ b/src/TestData/PatchTests/BundlePatchA/BundlePatchA.wxs | |||
| @@ -1,11 +1,9 @@ | |||
| 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:swid="http://wixtoolset.org/schemas/v4/wxs/tag"> | 3 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
| 4 | <Fragment> | 4 | <Fragment> |
| 5 | <PackageGroup Id="BundlePackages"> | 5 | <PackageGroup Id="BundlePackages"> |
| 6 | <MspPackage Id="PatchA" SourceFile="$(var.PatchA.TargetPath)" PerMachine="yes" /> | 6 | <MspPackage Id="PatchA" SourceFile="$(var.PatchA.TargetPath)" PerMachine="yes" /> |
| 7 | </PackageGroup> | 7 | </PackageGroup> |
| 8 | |||
| 9 | <!--<swid:Tag Regid="regid.1995-08.com.example" Type="patch" />--> | ||
| 10 | </Fragment> | 8 | </Fragment> |
| 11 | </Wix> | 9 | </Wix> |
diff --git a/src/TestData/PatchTests/BundlePatchA2/BundlePatchA2.wixproj b/src/TestData/PatchTests/BundlePatchA2/BundlePatchA2.wixproj index 07b82dc8..b886f148 100644 --- a/src/TestData/PatchTests/BundlePatchA2/BundlePatchA2.wixproj +++ b/src/TestData/PatchTests/BundlePatchA2/BundlePatchA2.wixproj | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | <Project Sdk="WixToolset.Sdk"> | 2 | <Project Sdk="WixToolset.Sdk"> |
| 3 | <PropertyGroup> | 3 | <PropertyGroup> |
| 4 | <OutputType>Bundle</OutputType> | 4 | <OutputType>Bundle</OutputType> |
| 5 | <IncludeSoftwareTag>true</IncludeSoftwareTag> | ||
| 5 | <UpgradeCode>{1BE09331-2327-4534-9223-59B54EFAE7A5}</UpgradeCode> | 6 | <UpgradeCode>{1BE09331-2327-4534-9223-59B54EFAE7A5}</UpgradeCode> |
| 6 | </PropertyGroup> | 7 | </PropertyGroup> |
| 7 | <ItemGroup> | 8 | <ItemGroup> |
diff --git a/src/TestData/PatchTests/BundlePatchA2/BundlePatchA2.wxs b/src/TestData/PatchTests/BundlePatchA2/BundlePatchA2.wxs index f2c44ad4..24063db3 100644 --- a/src/TestData/PatchTests/BundlePatchA2/BundlePatchA2.wxs +++ b/src/TestData/PatchTests/BundlePatchA2/BundlePatchA2.wxs | |||
| @@ -1,12 +1,10 @@ | |||
| 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:swid="http://wixtoolset.org/schemas/v4/wxs/tag"> | 3 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
| 4 | <Fragment> | 4 | <Fragment> |
| 5 | <PackageGroup Id="BundlePackages"> | 5 | <PackageGroup Id="BundlePackages"> |
| 6 | <MspPackage Id="PatchA" SourceFile="$(var.PatchA.TargetPath)" PerMachine="yes" /> | 6 | <MspPackage Id="PatchA" SourceFile="$(var.PatchA.TargetPath)" PerMachine="yes" /> |
| 7 | <MspPackage Id="PatchA2" SourceFile="$(var.PatchA2.TargetPath)" PerMachine="yes" /> | 7 | <MspPackage Id="PatchA2" SourceFile="$(var.PatchA2.TargetPath)" PerMachine="yes" /> |
| 8 | </PackageGroup> | 8 | </PackageGroup> |
| 9 | |||
| 10 | <!--<swid:Tag Regid="regid.1995-08.com.example" Type="patch" />--> | ||
| 11 | </Fragment> | 9 | </Fragment> |
| 12 | </Wix> | 10 | </Wix> |
diff --git a/src/TestData/PatchTests/PackageAv1/PackageA.props b/src/TestData/PatchTests/PackageAv1/PackageA.props index 1209d09e..a9d9b981 100644 --- a/src/TestData/PatchTests/PackageAv1/PackageA.props +++ b/src/TestData/PatchTests/PackageAv1/PackageA.props | |||
| @@ -4,6 +4,7 @@ | |||
| 4 | <PackageName>PackageA</PackageName> | 4 | <PackageName>PackageA</PackageName> |
| 5 | <ProductComponentsRef>true</ProductComponentsRef> | 5 | <ProductComponentsRef>true</ProductComponentsRef> |
| 6 | <ProductCode>{724F9BA5-DD9D-4851-855E-ECC35B27BF11}</ProductCode> | 6 | <ProductCode>{724F9BA5-DD9D-4851-855E-ECC35B27BF11}</ProductCode> |
| 7 | <IncludeSoftwareTag>true</IncludeSoftwareTag> | ||
| 7 | <UpgradeCode>{C56DA396-7A9A-4177-8264-638161CE9EB8}</UpgradeCode> | 8 | <UpgradeCode>{C56DA396-7A9A-4177-8264-638161CE9EB8}</UpgradeCode> |
| 8 | </PropertyGroup> | 9 | </PropertyGroup> |
| 9 | <ItemGroup> | 10 | <ItemGroup> |
diff --git a/src/TestData/PatchTests/PackageAv1/ProductComponents.wxs b/src/TestData/PatchTests/PackageAv1/ProductComponents.wxs index 81c6da0c..72b5d4bd 100644 --- a/src/TestData/PatchTests/PackageAv1/ProductComponents.wxs +++ b/src/TestData/PatchTests/PackageAv1/ProductComponents.wxs | |||
| @@ -1,12 +1,10 @@ | |||
| 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:swid="http://wixtoolset.org/schemas/v4/wxs/tag"> | 3 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
| 4 | <Fragment> | 4 | <Fragment> |
| 5 | <ComponentGroup Id="ProductComponents"> | 5 | <ComponentGroup Id="ProductComponents"> |
| 6 | <ComponentRef Id="RegistryComponent2" /> | 6 | <ComponentRef Id="RegistryComponent2" /> |
| 7 | </ComponentGroup> | 7 | </ComponentGroup> |
| 8 | |||
| 9 | <!-- <swid:Tag Regid="regid.1995-08.com.example" /> --> | ||
| 10 | </Fragment> | 8 | </Fragment> |
| 11 | 9 | ||
| 12 | <Fragment> | 10 | <Fragment> |
diff --git a/src/TestData/PatchTests/PatchA/PatchA.wxs b/src/TestData/PatchTests/PatchA/PatchA.wxs index 067f25ca..ba961762 100644 --- a/src/TestData/PatchTests/PatchA/PatchA.wxs +++ b/src/TestData/PatchTests/PatchA/PatchA.wxs | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | <?define Version = 1.0.0.0?> | 4 | <?define Version = 1.0.0.0?> |
| 5 | <?endif?> | 5 | <?endif?> |
| 6 | 6 | ||
| 7 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:swid="http://wixtoolset.org/schemas/v4/wxs/tag"> | 7 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
| 8 | <Patch AllowRemoval="yes" Classification="Update" Description="Patch A in test $(var.TestGroupName)" DisplayName="$(var.TestGroupName) - Patch A" Manufacturer="Example Corporation" MinorUpdateTargetRTM="yes"> | 8 | <Patch AllowRemoval="yes" Classification="Update" Description="Patch A in test $(var.TestGroupName)" DisplayName="$(var.TestGroupName) - Patch A" Manufacturer="Example Corporation" MinorUpdateTargetRTM="yes"> |
| 9 | <Media Id="100" Cabinet="PatchA" EmbedCab="yes"> | 9 | <Media Id="100" Cabinet="PatchA" EmbedCab="yes"> |
| 10 | <PatchBaseline | 10 | <PatchBaseline |
| @@ -15,7 +15,7 @@ | |||
| 15 | </Media> | 15 | </Media> |
| 16 | 16 | ||
| 17 | <PatchFamily Id="A" Version="$(var.Version)" Supersede="yes"> | 17 | <PatchFamily Id="A" Version="$(var.Version)" Supersede="yes"> |
| 18 | <!-- <swid:TagRef Regid="regid.1995-08.com.example" /> --> | 18 | <SoftwareTagRef Regid="regid.1995-08.com.example" /> |
| 19 | 19 | ||
| 20 | <ComponentRef Id="RegistryComponent"/> | 20 | <ComponentRef Id="RegistryComponent"/> |
| 21 | <PropertyRef Id="TestVersion"/> | 21 | <PropertyRef Id="TestVersion"/> |
diff --git a/src/TestData/PatchTests/PatchA2/PatchA2.wxs b/src/TestData/PatchTests/PatchA2/PatchA2.wxs index a06401cc..e2aa3e2b 100644 --- a/src/TestData/PatchTests/PatchA2/PatchA2.wxs +++ b/src/TestData/PatchTests/PatchA2/PatchA2.wxs | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | <?define Version = 1.0.0.0?> | 4 | <?define Version = 1.0.0.0?> |
| 5 | <?endif?> | 5 | <?endif?> |
| 6 | 6 | ||
| 7 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:swid="http://wixtoolset.org/schemas/v4/wxs/tag"> | 7 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
| 8 | <Patch AllowRemoval="yes" Classification="Update" Description="Patch A2 in test $(var.TestGroupName)" DisplayName="$(var.TestGroupName) - Patch A2" Manufacturer="Example Corporation" MinorUpdateTargetRTM="yes"> | 8 | <Patch AllowRemoval="yes" Classification="Update" Description="Patch A2 in test $(var.TestGroupName)" DisplayName="$(var.TestGroupName) - Patch A2" Manufacturer="Example Corporation" MinorUpdateTargetRTM="yes"> |
| 9 | <Media Id="100" Cabinet="PatchA2" EmbedCab="yes"> | 9 | <Media Id="100" Cabinet="PatchA2" EmbedCab="yes"> |
| 10 | <PatchBaseline | 10 | <PatchBaseline |
| @@ -15,7 +15,7 @@ | |||
| 15 | </Media> | 15 | </Media> |
| 16 | 16 | ||
| 17 | <PatchFamily Id="A2" Version="$(var.Version)" Supersede="yes"> | 17 | <PatchFamily Id="A2" Version="$(var.Version)" Supersede="yes"> |
| 18 | <!-- <swid:TagRef Regid="regid.1995-08.com.example" /> --> | 18 | <SoftwareTagRef Regid="regid.1995-08.com.example" /> |
| 19 | 19 | ||
| 20 | <ComponentRef Id="RegistryComponent2"/> | 20 | <ComponentRef Id="RegistryComponent2"/> |
| 21 | </PatchFamily> | 21 | </PatchFamily> |
diff --git a/src/TestData/SlipstreamTests/BundleAReverse/BundleAReverse.wxs b/src/TestData/SlipstreamTests/BundleAReverse/BundleAReverse.wxs index 3de10a91..2008fa8b 100644 --- a/src/TestData/SlipstreamTests/BundleAReverse/BundleAReverse.wxs +++ b/src/TestData/SlipstreamTests/BundleAReverse/BundleAReverse.wxs | |||
| @@ -1,6 +1,6 @@ | |||
| 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:swid="http://wixtoolset.org/schemas/v4/wxs/tag"> | 3 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
| 4 | <Fragment> | 4 | <Fragment> |
| 5 | <PackageGroup Id="BundlePackages"> | 5 | <PackageGroup Id="BundlePackages"> |
| 6 | <MspPackage Id="PatchA" SourceFile="$(var.PatchA.TargetPath)" /> | 6 | <MspPackage Id="PatchA" SourceFile="$(var.PatchA.TargetPath)" /> |
diff --git a/src/TestData/SlipstreamTests/BundleOnlyA/BundleOnlyA.wxs b/src/TestData/SlipstreamTests/BundleOnlyA/BundleOnlyA.wxs index 59fdd0c9..e3e0f4d7 100644 --- a/src/TestData/SlipstreamTests/BundleOnlyA/BundleOnlyA.wxs +++ b/src/TestData/SlipstreamTests/BundleOnlyA/BundleOnlyA.wxs | |||
| @@ -1,6 +1,6 @@ | |||
| 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:swid="http://wixtoolset.org/schemas/v4/wxs/tag"> | 3 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
| 4 | <Fragment> | 4 | <Fragment> |
| 5 | <PackageGroup Id="BundlePackages"> | 5 | <PackageGroup Id="BundlePackages"> |
| 6 | <MsiPackage Id="PackageA" SourceFile="$(var.PackageAv1.TargetPath)" /> | 6 | <MsiPackage Id="PackageA" SourceFile="$(var.PackageAv1.TargetPath)" /> |
diff --git a/src/TestData/SlipstreamTests/BundleOnlyPatchA/BundleOnlyPatchA.wxs b/src/TestData/SlipstreamTests/BundleOnlyPatchA/BundleOnlyPatchA.wxs index 27fed68e..88a93d7a 100644 --- a/src/TestData/SlipstreamTests/BundleOnlyPatchA/BundleOnlyPatchA.wxs +++ b/src/TestData/SlipstreamTests/BundleOnlyPatchA/BundleOnlyPatchA.wxs | |||
| @@ -1,6 +1,6 @@ | |||
| 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:swid="http://wixtoolset.org/schemas/v4/wxs/tag"> | 3 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
| 4 | <Fragment> | 4 | <Fragment> |
| 5 | <PackageGroup Id="BundlePackages"> | 5 | <PackageGroup Id="BundlePackages"> |
| 6 | <MspPackage Id="PatchA" SourceFile="$(var.PatchA.TargetPath)" /> | 6 | <MspPackage Id="PatchA" SourceFile="$(var.PatchA.TargetPath)" /> |
diff --git a/src/TestData/Templates/Bundle.wxs b/src/TestData/Templates/Bundle.wxs index 6042a616..c77bfbd7 100644 --- a/src/TestData/Templates/Bundle.wxs +++ b/src/TestData/Templates/Bundle.wxs | |||
| @@ -10,6 +10,10 @@ | |||
| 10 | 10 | ||
| 11 | <Variable Name="TestGroupName" Value="$(var.TestGroupName)" /> | 11 | <Variable Name="TestGroupName" Value="$(var.TestGroupName)" /> |
| 12 | 12 | ||
| 13 | <?ifdef SoftwareTag?> | ||
| 14 | <SoftwareTag Regid="regid.1995-08.com.example" InstallPath="[CommonAppDataFolder]regid.1995-08.com.example" /> | ||
| 15 | <?endif?> | ||
| 16 | |||
| 13 | <?ifndef BA?> | 17 | <?ifndef BA?> |
| 14 | <!-- pulled in through the PackageGroupRef below --> | 18 | <!-- pulled in through the PackageGroupRef below --> |
| 15 | <?elseif $(var.BA) = "TestBAdnc"?> | 19 | <?elseif $(var.BA) = "TestBAdnc"?> |
diff --git a/src/TestData/Templates/Package.wxs b/src/TestData/Templates/Package.wxs index 4923e1aa..caf28a92 100644 --- a/src/TestData/Templates/Package.wxs +++ b/src/TestData/Templates/Package.wxs | |||
| @@ -19,6 +19,10 @@ | |||
| 19 | <MediaTemplate CabinetTemplate="{0}$(var.CabPrefix).cab" /> | 19 | <MediaTemplate CabinetTemplate="{0}$(var.CabPrefix).cab" /> |
| 20 | <?endif?> | 20 | <?endif?> |
| 21 | 21 | ||
| 22 | <?ifdef SoftwareTag?> | ||
| 23 | <SoftwareTag Regid="regid.1995-08.com.example" InstallDirectory="CommonAppDataFolder" /> | ||
| 24 | <?endif?> | ||
| 25 | |||
| 22 | <PropertyRef Id="TestVersion" /> | 26 | <PropertyRef Id="TestVersion" /> |
| 23 | 27 | ||
| 24 | <Feature Id="Complete" Level="1"> | 28 | <Feature Id="Complete" Level="1"> |
| @@ -32,6 +36,7 @@ | |||
| 32 | 36 | ||
| 33 | <Fragment> | 37 | <Fragment> |
| 34 | <Directory Id="TARGETDIR" Name="SourceDir"> | 38 | <Directory Id="TARGETDIR" Name="SourceDir"> |
| 39 | <Directory Id="CommonAppDataFolder" /> | ||
| 35 | <Directory Id="ProgramFilesFolder"> | 40 | <Directory Id="ProgramFilesFolder"> |
| 36 | <Directory Id="WixDir" Name="~Test WiX"> | 41 | <Directory Id="WixDir" Name="~Test WiX"> |
| 37 | <Directory Id="TestDir" Name="$(var.TestGroupName)"> | 42 | <Directory Id="TestDir" Name="$(var.TestGroupName)"> |
diff --git a/src/Wix.Build.targets b/src/Wix.Build.targets index 3fe78ae3..20a9bf66 100644 --- a/src/Wix.Build.targets +++ b/src/Wix.Build.targets | |||
| @@ -7,6 +7,7 @@ | |||
| 7 | <DefineConstants>TestGroupName=$(TestGroupName);PackageName=$(PackageName);BundleName=$(BundleName);$(DefineConstants)</DefineConstants> | 7 | <DefineConstants>TestGroupName=$(TestGroupName);PackageName=$(PackageName);BundleName=$(BundleName);$(DefineConstants)</DefineConstants> |
| 8 | <DefineConstants Condition=" '$(BA)' != '' ">BA=$(BA);$(DefineConstants)</DefineConstants> | 8 | <DefineConstants Condition=" '$(BA)' != '' ">BA=$(BA);$(DefineConstants)</DefineConstants> |
| 9 | <DefineConstants Condition=" '$(CabPrefix)' != '' ">CabPrefix=$(CabPrefix);$(DefineConstants)</DefineConstants> | 9 | <DefineConstants Condition=" '$(CabPrefix)' != '' ">CabPrefix=$(CabPrefix);$(DefineConstants)</DefineConstants> |
| 10 | <DefineConstants Condition=" '$(IncludeSoftwareTag)' == 'true' ">SoftwareTag=1;$(DefineConstants)</DefineConstants> | ||
| 10 | <DefineConstants Condition=" '$(ProductCode)' != '' ">ProductCode=$(ProductCode);$(DefineConstants)</DefineConstants> | 11 | <DefineConstants Condition=" '$(ProductCode)' != '' ">ProductCode=$(ProductCode);$(DefineConstants)</DefineConstants> |
| 11 | <DefineConstants Condition=" '$(ProductComponentsRef)' == 'true' ">ProductComponents=1;$(DefineConstants)</DefineConstants> | 12 | <DefineConstants Condition=" '$(ProductComponentsRef)' == 'true' ">ProductComponents=1;$(DefineConstants)</DefineConstants> |
| 12 | <DefineConstants Condition=" '$(UpgradeCode)' != '' ">UpgradeCode=$(UpgradeCode);$(DefineConstants)</DefineConstants> | 13 | <DefineConstants Condition=" '$(UpgradeCode)' != '' ">UpgradeCode=$(UpgradeCode);$(DefineConstants)</DefineConstants> |
diff --git a/src/WixToolsetTest.BurnE2E/PatchTests.cs b/src/WixToolsetTest.BurnE2E/PatchTests.cs index 19adf8db..0c7fdc98 100644 --- a/src/WixToolsetTest.BurnE2E/PatchTests.cs +++ b/src/WixToolsetTest.BurnE2E/PatchTests.cs | |||
| @@ -55,7 +55,7 @@ namespace WixToolsetTest.BurnE2E | |||
| 55 | packageAv1.VerifyTestRegistryRootDeleted(); | 55 | packageAv1.VerifyTestRegistryRootDeleted(); |
| 56 | } | 56 | } |
| 57 | 57 | ||
| 58 | [Fact(Skip = "https://github.com/wixtoolset/issues/issues/5949")] | 58 | [Fact(Skip = "https://github.com/wixtoolset/issues/issues/6380")] |
| 59 | public void CanPatchSwidTag() | 59 | public void CanPatchSwidTag() |
| 60 | { | 60 | { |
| 61 | var originalVersion = "1.0.0.0"; | 61 | var originalVersion = "1.0.0.0"; |
