diff options
author | Rob Mensching <rob@firegiant.com> | 2023-01-01 18:01:42 -0800 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2023-01-01 19:42:38 -0800 |
commit | ffae86ed1f600a72d4183166ffbde9dbed1843e9 (patch) | |
tree | 4816d69e5c5bd0d75419a2ace6f3ed7345a13b87 | |
parent | fe057678c6c15dd723218b0c82b25ec7e58378b8 (diff) | |
download | wix-ffae86ed1f600a72d4183166ffbde9dbed1843e9.tar.gz wix-ffae86ed1f600a72d4183166ffbde9dbed1843e9.tar.bz2 wix-ffae86ed1f600a72d4183166ffbde9dbed1843e9.zip |
Small fixes found while updating XSDs
13 files changed, 16 insertions, 14 deletions
diff --git a/src/internal/SetBuildNumber/SetBuildNumber.proj b/src/internal/SetBuildNumber/SetBuildNumber.proj index 23788d52..5a71c673 100644 --- a/src/internal/SetBuildNumber/SetBuildNumber.proj +++ b/src/internal/SetBuildNumber/SetBuildNumber.proj | |||
@@ -131,7 +131,6 @@ | |||
131 | DependsOnTargets="$(SetBuildNumbersDependsOn)" | 131 | DependsOnTargets="$(SetBuildNumbersDependsOn)" |
132 | BeforeTargets="AfterBuild" /> | 132 | BeforeTargets="AfterBuild" /> |
133 | 133 | ||
134 | |||
135 | <ItemGroup> | 134 | <ItemGroup> |
136 | <PackageReference Include="GitInfo" Version="2.2.0" /> | 135 | <PackageReference Include="GitInfo" Version="2.2.0" /> |
137 | </ItemGroup> | 136 | </ItemGroup> |
diff --git a/src/test/burn/TestData/DependencyTests/BundleF/BundleF.wxs b/src/test/burn/TestData/DependencyTests/BundleF/BundleF.wxs index 0f51b00d..4fb1fd43 100644 --- a/src/test/burn/TestData/DependencyTests/BundleF/BundleF.wxs +++ b/src/test/burn/TestData/DependencyTests/BundleF/BundleF.wxs | |||
@@ -3,7 +3,7 @@ | |||
3 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:fortestinguseonly="http://wixtoolset.org/schemas/v4/wxs/fortestinguseonly"> | 3 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:fortestinguseonly="http://wixtoolset.org/schemas/v4/wxs/fortestinguseonly"> |
4 | <Fragment> | 4 | <Fragment> |
5 | <fortestinguseonly:ForTestingUseOnlyBundle Id="{5E9D5B04-41EA-4196-954C-1F7357C31FB0}" /> | 5 | <fortestinguseonly:ForTestingUseOnlyBundle Id="{5E9D5B04-41EA-4196-954C-1F7357C31FB0}" /> |
6 | <RelatedBundle Id="583B5ECB-04E6-4837-A30C-A1ADCBE24235" Action="Detect" /> | 6 | <RelatedBundle Id="583B5ECB-04E6-4837-A30C-A1ADCBE24235" Action="detect" /> |
7 | 7 | ||
8 | <PackageGroup Id="BundlePackages"> | 8 | <PackageGroup Id="BundlePackages"> |
9 | <MsiPackage Id="PackageA" SourceFile="$(var.PackageAv1.TargetPath)" /> | 9 | <MsiPackage Id="PackageA" SourceFile="$(var.PackageAv1.TargetPath)" /> |
diff --git a/src/test/burn/TestData/DependencyTests/BundleF_AddOnA/BundleF_AddOnA.wxs b/src/test/burn/TestData/DependencyTests/BundleF_AddOnA/BundleF_AddOnA.wxs index c1b65656..96b7d146 100644 --- a/src/test/burn/TestData/DependencyTests/BundleF_AddOnA/BundleF_AddOnA.wxs +++ b/src/test/burn/TestData/DependencyTests/BundleF_AddOnA/BundleF_AddOnA.wxs | |||
@@ -5,7 +5,7 @@ | |||
5 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util" xmlns:fortestinguseonly="http://wixtoolset.org/schemas/v4/wxs/fortestinguseonly"> | 5 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util" xmlns:fortestinguseonly="http://wixtoolset.org/schemas/v4/wxs/fortestinguseonly"> |
6 | <Fragment> | 6 | <Fragment> |
7 | <fortestinguseonly:ForTestingUseOnlyBundle Id="{FE6B19EC-D52F-4F77-88E5-87FAE11E95D6}" /> | 7 | <fortestinguseonly:ForTestingUseOnlyBundle Id="{FE6B19EC-D52F-4F77-88E5-87FAE11E95D6}" /> |
8 | <RelatedBundle Id="583B5ECB-04E6-4837-A30C-A1ADCBE24235" Action="Addon" /> | 8 | <RelatedBundle Id="583B5ECB-04E6-4837-A30C-A1ADCBE24235" Action="addon" /> |
9 | <util:RegistrySearch Root="HKLM" Key="$(var.TestExeRegistryKey)" Value="Version" Variable="ExeA_Version" /> | 9 | <util:RegistrySearch Root="HKLM" Key="$(var.TestExeRegistryKey)" Value="Version" Variable="ExeA_Version" /> |
10 | 10 | ||
11 | <PackageGroup Id="BundlePackages"> | 11 | <PackageGroup Id="BundlePackages"> |
diff --git a/src/test/burn/TestData/DependencyTests/BundleF_AddOnB/BundleF_AddOnB.wxs b/src/test/burn/TestData/DependencyTests/BundleF_AddOnB/BundleF_AddOnB.wxs index 8a5722f7..74ed5902 100644 --- a/src/test/burn/TestData/DependencyTests/BundleF_AddOnB/BundleF_AddOnB.wxs +++ b/src/test/burn/TestData/DependencyTests/BundleF_AddOnB/BundleF_AddOnB.wxs | |||
@@ -5,7 +5,7 @@ | |||
5 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util" xmlns:fortestinguseonly="http://wixtoolset.org/schemas/v4/wxs/fortestinguseonly"> | 5 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util" xmlns:fortestinguseonly="http://wixtoolset.org/schemas/v4/wxs/fortestinguseonly"> |
6 | <Fragment> | 6 | <Fragment> |
7 | <fortestinguseonly:ForTestingUseOnlyBundle Id="{B774BF3B-3E89-4D42-9D29-AFAB27C5772D}" /> | 7 | <fortestinguseonly:ForTestingUseOnlyBundle Id="{B774BF3B-3E89-4D42-9D29-AFAB27C5772D}" /> |
8 | <RelatedBundle Id="583B5ECB-04E6-4837-A30C-A1ADCBE24235" Action="Addon" /> | 8 | <RelatedBundle Id="583B5ECB-04E6-4837-A30C-A1ADCBE24235" Action="addon" /> |
9 | <util:RegistrySearch Root="HKLM" Key="$(var.TestExeRegistryKey)" Value="Version" Variable="ExeA_Version" /> | 9 | <util:RegistrySearch Root="HKLM" Key="$(var.TestExeRegistryKey)" Value="Version" Variable="ExeA_Version" /> |
10 | 10 | ||
11 | <PackageGroup Id="BundlePackages"> | 11 | <PackageGroup Id="BundlePackages"> |
diff --git a/src/test/burn/TestData/DependencyTests/BundleF_PatchAv1_0_1/BundleF_PatchAv1_0_1.wxs b/src/test/burn/TestData/DependencyTests/BundleF_PatchAv1_0_1/BundleF_PatchAv1_0_1.wxs index 8ef8a351..bfe394bc 100644 --- a/src/test/burn/TestData/DependencyTests/BundleF_PatchAv1_0_1/BundleF_PatchAv1_0_1.wxs +++ b/src/test/burn/TestData/DependencyTests/BundleF_PatchAv1_0_1/BundleF_PatchAv1_0_1.wxs | |||
@@ -2,7 +2,7 @@ | |||
2 | 2 | ||
3 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | 3 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
4 | <Fragment> | 4 | <Fragment> |
5 | <RelatedBundle Id="{EC2B2B3F-E57C-45A4-A0E8-762156DAD99D}" Action="Patch" /> | 5 | <RelatedBundle Id="{EC2B2B3F-E57C-45A4-A0E8-762156DAD99D}" Action="patch" /> |
6 | 6 | ||
7 | <PackageGroup Id="BundlePackages"> | 7 | <PackageGroup Id="BundlePackages"> |
8 | <MspPackage Id="PatchA" SourceFile="$(var.PatchA.TargetPath)" PerMachine="yes"> | 8 | <MspPackage Id="PatchA" SourceFile="$(var.PatchA.TargetPath)" PerMachine="yes"> |
diff --git a/src/test/burn/TestData/DependencyTests/BundleF_PatchAv1_0_2/BundleF_PatchAv1_0_2.wxs b/src/test/burn/TestData/DependencyTests/BundleF_PatchAv1_0_2/BundleF_PatchAv1_0_2.wxs index 2b47d5ed..b5316bf0 100644 --- a/src/test/burn/TestData/DependencyTests/BundleF_PatchAv1_0_2/BundleF_PatchAv1_0_2.wxs +++ b/src/test/burn/TestData/DependencyTests/BundleF_PatchAv1_0_2/BundleF_PatchAv1_0_2.wxs | |||
@@ -2,7 +2,7 @@ | |||
2 | 2 | ||
3 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | 3 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
4 | <Fragment> | 4 | <Fragment> |
5 | <RelatedBundle Id="{EC2B2B3F-E57C-45A4-A0E8-762156DAD99D}" Action="Patch" /> | 5 | <RelatedBundle Id="{EC2B2B3F-E57C-45A4-A0E8-762156DAD99D}" Action="patch" /> |
6 | 6 | ||
7 | <PackageGroup Id="BundlePackages"> | 7 | <PackageGroup Id="BundlePackages"> |
8 | <MspPackage Id="PatchA" SourceFile="$(var.PatchA.TargetPath)" PerMachine="yes"> | 8 | <MspPackage Id="PatchA" SourceFile="$(var.PatchA.TargetPath)" PerMachine="yes"> |
diff --git a/src/test/burn/TestData/DependencyTests/BundleFv2/BundleFv2.wxs b/src/test/burn/TestData/DependencyTests/BundleFv2/BundleFv2.wxs index 1347836a..509047d6 100644 --- a/src/test/burn/TestData/DependencyTests/BundleFv2/BundleFv2.wxs +++ b/src/test/burn/TestData/DependencyTests/BundleFv2/BundleFv2.wxs | |||
@@ -2,7 +2,7 @@ | |||
2 | 2 | ||
3 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | 3 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
4 | <Fragment> | 4 | <Fragment> |
5 | <RelatedBundle Id="583B5ECB-04E6-4837-A30C-A1ADCBE24235" Action="Detect" /> | 5 | <RelatedBundle Id="583B5ECB-04E6-4837-A30C-A1ADCBE24235" Action="detect" /> |
6 | 6 | ||
7 | <PackageGroup Id="BundlePackages"> | 7 | <PackageGroup Id="BundlePackages"> |
8 | <MsiPackage Id="PackageA" SourceFile="$(var.PackageAv1.TargetPath)" /> | 8 | <MsiPackage Id="PackageA" SourceFile="$(var.PackageAv1.TargetPath)" /> |
diff --git a/src/test/burn/TestData/DependencyTests/BundleJ/BundleJ.wxs b/src/test/burn/TestData/DependencyTests/BundleJ/BundleJ.wxs index 422b4b22..5207be28 100644 --- a/src/test/burn/TestData/DependencyTests/BundleJ/BundleJ.wxs +++ b/src/test/burn/TestData/DependencyTests/BundleJ/BundleJ.wxs | |||
@@ -2,7 +2,7 @@ | |||
2 | 2 | ||
3 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | 3 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
4 | <Fragment> | 4 | <Fragment> |
5 | <RelatedBundle Id="{B1617DA6-F824-4B9F-B9B2-A6AFD07A652D}" Action="Detect" /> | 5 | <RelatedBundle Id="{B1617DA6-F824-4B9F-B9B2-A6AFD07A652D}" Action="detect" /> |
6 | 6 | ||
7 | <PackageGroup Id="BundlePackages"> | 7 | <PackageGroup Id="BundlePackages"> |
8 | <MsiPackage Id="PackageA" SourceFile="$(var.PackageAv1.TargetPath)" /> | 8 | <MsiPackage Id="PackageA" SourceFile="$(var.PackageAv1.TargetPath)" /> |
diff --git a/src/test/burn/TestData/DependencyTests/BundleJ_Patch/BundleJ_Patch.wxs b/src/test/burn/TestData/DependencyTests/BundleJ_Patch/BundleJ_Patch.wxs index ddd4d8db..8823f4b1 100644 --- a/src/test/burn/TestData/DependencyTests/BundleJ_Patch/BundleJ_Patch.wxs +++ b/src/test/burn/TestData/DependencyTests/BundleJ_Patch/BundleJ_Patch.wxs | |||
@@ -4,7 +4,7 @@ | |||
4 | 4 | ||
5 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | 5 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
6 | <Fragment> | 6 | <Fragment> |
7 | <RelatedBundle Id="{B1617DA6-F824-4B9F-B9B2-A6AFD07A652D}" Action="Patch" /> | 7 | <RelatedBundle Id="{B1617DA6-F824-4B9F-B9B2-A6AFD07A652D}" Action="patch" /> |
8 | 8 | ||
9 | <PackageGroup Id="BundlePackages"> | 9 | <PackageGroup Id="BundlePackages"> |
10 | <MspPackage Id="PatchA" SourceFile="$(var.PatchA.TargetPath)"> | 10 | <MspPackage Id="PatchA" SourceFile="$(var.PatchA.TargetPath)"> |
diff --git a/src/tools/WixToolset.Templates/templates/ModuleProject/Module.wxs b/src/tools/WixToolset.Templates/templates/ModuleProject/Module.wxs index 592c844d..aafba36c 100644 --- a/src/tools/WixToolset.Templates/templates/ModuleProject/Module.wxs +++ b/src/tools/WixToolset.Templates/templates/ModuleProject/Module.wxs | |||
@@ -1,5 +1,5 @@ | |||
1 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | 1 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
2 | <Module Id="$safeprojectname$" Guid="PUT-GUID-HERE" Manufacturer="$company$" Language="0" Version="$version$"> | 2 | <Module Id="$safeprojectname$" Guid="PUT-GUID-HERE" Language="0" Version="$version$"> |
3 | <Component Guid='PUT-GUID-HERE' Directory='TARGETDIR'> | 3 | <Component Guid='PUT-GUID-HERE' Directory='TARGETDIR'> |
4 | <!-- TODO: Install something more useful than this source code file itself --> | 4 | <!-- TODO: Install something more useful than this source code file itself --> |
5 | <File Source="Module.wxs" /> | 5 | <File Source="Module.wxs" /> |
diff --git a/src/tools/WixToolset.Templates/templates/PackageProject/Package.wxs b/src/tools/WixToolset.Templates/templates/PackageProject/Package.wxs index ac69e549..ae1fd550 100644 --- a/src/tools/WixToolset.Templates/templates/PackageProject/Package.wxs +++ b/src/tools/WixToolset.Templates/templates/PackageProject/Package.wxs | |||
@@ -1,6 +1,6 @@ | |||
1 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | 1 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
2 | <Package Name="$safeprojectname$" Manufacturer="$company$" Version="$version$" UpgradeCode="PUT-GUID-HERE"> | 2 | <Package Name="$safeprojectname$" Manufacturer="$company$" Version="$version$" UpgradeCode="PUT-GUID-HERE"> |
3 | <MajorUpgrade DowngradeError="A newer version of [ProductName] is already installed" /> | 3 | <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed" /> |
4 | 4 | ||
5 | <Feature Id="Main"> | 5 | <Feature Id="Main"> |
6 | <ComponentGroupRef Id="Components" /> | 6 | <ComponentGroupRef Id="Components" /> |
diff --git a/src/wix/WixToolset.Core/Compiler_Patch.cs b/src/wix/WixToolset.Core/Compiler_Patch.cs index 0ea3c441..bd250ef4 100644 --- a/src/wix/WixToolset.Core/Compiler_Patch.cs +++ b/src/wix/WixToolset.Core/Compiler_Patch.cs | |||
@@ -412,7 +412,7 @@ namespace WixToolset.Core | |||
412 | this.ParsePatchChildRefElement(child, "Property"); | 412 | this.ParsePatchChildRefElement(child, "Property"); |
413 | break; | 413 | break; |
414 | case "SoftwareTagRef": | 414 | case "SoftwareTagRef": |
415 | this.ParseTagRefElement(child); | 415 | this.ParseSoftwareTagRefElement(child); |
416 | break; | 416 | break; |
417 | case "UIRef": | 417 | case "UIRef": |
418 | this.ParsePatchChildRefElement(child, "WixUI"); | 418 | this.ParsePatchChildRefElement(child, "WixUI"); |
diff --git a/src/wix/WixToolset.Core/Compiler_Tag.cs b/src/wix/WixToolset.Core/Compiler_Tag.cs index 991c87fd..0fb719ce 100644 --- a/src/wix/WixToolset.Core/Compiler_Tag.cs +++ b/src/wix/WixToolset.Core/Compiler_Tag.cs | |||
@@ -263,7 +263,7 @@ namespace WixToolset.Core | |||
263 | /// Parses a TagRef element for Software Id Tag registration under a PatchFamily element. | 263 | /// Parses a TagRef element for Software Id Tag registration under a PatchFamily element. |
264 | /// </summary> | 264 | /// </summary> |
265 | /// <param name="node">The element to parse.</param> | 265 | /// <param name="node">The element to parse.</param> |
266 | private void ParseTagRefElement(XElement node) | 266 | private void ParseSoftwareTagRefElement(XElement node) |
267 | { | 267 | { |
268 | var sourceLineNumbers = Preprocessor.GetSourceLineNumbers(node); | 268 | var sourceLineNumbers = Preprocessor.GetSourceLineNumbers(node); |
269 | string regid = null; | 269 | string regid = null; |
@@ -311,6 +311,9 @@ namespace WixToolset.Core | |||
311 | } | 311 | } |
312 | } | 312 | } |
313 | 313 | ||
314 | private Identifier CreateTagId(string regid) => this.Core.CreateIdentifier("tag", regid, ".product.tag"); | 314 | private Identifier CreateTagId(string regid) |
315 | { | ||
316 | return this.Core.CreateIdentifier("tag", regid, ".product.tag"); | ||
317 | } | ||
315 | } | 318 | } |
316 | } | 319 | } |