aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--global.json2
-rw-r--r--src/test/WixToolsetTest.Util/TestData/CloseApplication/Package.wxs7
-rw-r--r--src/test/WixToolsetTest.Util/TestData/EventManifest/Package.wxs7
-rw-r--r--src/test/WixToolsetTest.Util/TestData/InternetShortcut/Package.wxs7
-rw-r--r--src/test/WixToolsetTest.Util/TestData/InternetShortcutModule/Package.wxs6
-rw-r--r--src/test/WixToolsetTest.Util/TestData/PermissionEx/Package.wxs7
-rw-r--r--src/test/WixToolsetTest.Util/TestData/Queries/Package.wxs8
-rw-r--r--src/test/WixToolsetTest.Util/TestData/UsingFileShare/Package.wxs7
-rw-r--r--src/wixext/UtilCompiler.cs2
9 files changed, 18 insertions, 35 deletions
diff --git a/global.json b/global.json
index cd03153d..33154a9e 100644
--- a/global.json
+++ b/global.json
@@ -1,6 +1,6 @@
1{ 1{
2 "msbuild-sdks": { 2 "msbuild-sdks": {
3 "WixToolset.Sdk": "4.0.0-build-0159" 3 "WixToolset.Sdk": "4.0.0-build-0162"
4 }, 4 },
5 "sdk": { 5 "sdk": {
6 "allowPrerelease": false 6 "allowPrerelease": false
diff --git a/src/test/WixToolsetTest.Util/TestData/CloseApplication/Package.wxs b/src/test/WixToolsetTest.Util/TestData/CloseApplication/Package.wxs
index ec54a472..410b151d 100644
--- a/src/test/WixToolsetTest.Util/TestData/CloseApplication/Package.wxs
+++ b/src/test/WixToolsetTest.Util/TestData/CloseApplication/Package.wxs
@@ -1,16 +1,13 @@
1<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util"> 1<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util">
2 <Product Name="MsiPackage" Language="1033" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="047730a5-30fe-4a62-a520-da9381b8226a"> 2 <Package Name="MsiPackage" Language="1033" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="047730a5-30fe-4a62-a520-da9381b8226a">
3 <Package InstallerVersion="200" Compressed="no" InstallScope="perMachine" />
4
5 <MajorUpgrade DowngradeErrorMessage="!(loc.DowngradeError)" /> 3 <MajorUpgrade DowngradeErrorMessage="!(loc.DowngradeError)" />
6 <MediaTemplate />
7 4
8 <Feature Id="ProductFeature" Title="!(loc.FeatureTitle)"> 5 <Feature Id="ProductFeature" Title="!(loc.FeatureTitle)">
9 <ComponentGroupRef Id="ProductComponents" /> 6 <ComponentGroupRef Id="ProductComponents" />
10 </Feature> 7 </Feature>
11 8
12 <util:CloseApplication Id="CloseMyApp" CloseMessage="yes" Property="MYAPPISRUNNING" Target="explorer.exe" /> 9 <util:CloseApplication Id="CloseMyApp" CloseMessage="yes" Property="MYAPPISRUNNING" Target="explorer.exe" />
13 </Product> 10 </Package>
14 11
15 <Fragment> 12 <Fragment>
16 <Directory Id="TARGETDIR" Name="SourceDir"> 13 <Directory Id="TARGETDIR" Name="SourceDir">
diff --git a/src/test/WixToolsetTest.Util/TestData/EventManifest/Package.wxs b/src/test/WixToolsetTest.Util/TestData/EventManifest/Package.wxs
index d3130591..09d2c46e 100644
--- a/src/test/WixToolsetTest.Util/TestData/EventManifest/Package.wxs
+++ b/src/test/WixToolsetTest.Util/TestData/EventManifest/Package.wxs
@@ -1,14 +1,11 @@
1<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util"> 1<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util">
2 <Product Name="MsiPackage" Language="1033" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="047730a5-30fe-4a62-a520-da9381b8226a"> 2 <Package Name="MsiPackage" Language="1033" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="047730a5-30fe-4a62-a520-da9381b8226a">
3 <Package InstallerVersion="200" Compressed="no" InstallScope="perMachine" />
4
5 <MajorUpgrade DowngradeErrorMessage="!(loc.DowngradeError)" /> 3 <MajorUpgrade DowngradeErrorMessage="!(loc.DowngradeError)" />
6 <MediaTemplate />
7 4
8 <Feature Id="ProductFeature" Title="!(loc.FeatureTitle)"> 5 <Feature Id="ProductFeature" Title="!(loc.FeatureTitle)">
9 <ComponentGroupRef Id="ProductComponents" /> 6 <ComponentGroupRef Id="ProductComponents" />
10 </Feature> 7 </Feature>
11 </Product> 8 </Package>
12 9
13 <Fragment> 10 <Fragment>
14 <Directory Id="TARGETDIR" Name="SourceDir"> 11 <Directory Id="TARGETDIR" Name="SourceDir">
diff --git a/src/test/WixToolsetTest.Util/TestData/InternetShortcut/Package.wxs b/src/test/WixToolsetTest.Util/TestData/InternetShortcut/Package.wxs
index d3130591..09d2c46e 100644
--- a/src/test/WixToolsetTest.Util/TestData/InternetShortcut/Package.wxs
+++ b/src/test/WixToolsetTest.Util/TestData/InternetShortcut/Package.wxs
@@ -1,14 +1,11 @@
1<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util"> 1<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util">
2 <Product Name="MsiPackage" Language="1033" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="047730a5-30fe-4a62-a520-da9381b8226a"> 2 <Package Name="MsiPackage" Language="1033" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="047730a5-30fe-4a62-a520-da9381b8226a">
3 <Package InstallerVersion="200" Compressed="no" InstallScope="perMachine" />
4
5 <MajorUpgrade DowngradeErrorMessage="!(loc.DowngradeError)" /> 3 <MajorUpgrade DowngradeErrorMessage="!(loc.DowngradeError)" />
6 <MediaTemplate />
7 4
8 <Feature Id="ProductFeature" Title="!(loc.FeatureTitle)"> 5 <Feature Id="ProductFeature" Title="!(loc.FeatureTitle)">
9 <ComponentGroupRef Id="ProductComponents" /> 6 <ComponentGroupRef Id="ProductComponents" />
10 </Feature> 7 </Feature>
11 </Product> 8 </Package>
12 9
13 <Fragment> 10 <Fragment>
14 <Directory Id="TARGETDIR" Name="SourceDir"> 11 <Directory Id="TARGETDIR" Name="SourceDir">
diff --git a/src/test/WixToolsetTest.Util/TestData/InternetShortcutModule/Package.wxs b/src/test/WixToolsetTest.Util/TestData/InternetShortcutModule/Package.wxs
index f38295e7..2a9daa1c 100644
--- a/src/test/WixToolsetTest.Util/TestData/InternetShortcutModule/Package.wxs
+++ b/src/test/WixToolsetTest.Util/TestData/InternetShortcutModule/Package.wxs
@@ -1,6 +1,6 @@
1<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util"> 1<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util">
2 <Module Language="1033" Version="1.0.0.0" Id="InternetShortcutModule"> 2 <Module Language="1033" Version="1.0.0.0" Id="InternetShortcutModule" Guid="047730a5-30fe-4a62-a520-da9381b8226a">
3 <Package Id="047730a5-30fe-4a62-a520-da9381b8226a" Manufacturer="Example Corporation" /> 3 <SummaryInformation Manufacturer="Example Corporation" />
4 4
5 <ComponentGroupRef Id="ProductComponents" /> 5 <ComponentGroupRef Id="ProductComponents" />
6 </Module> 6 </Module>
diff --git a/src/test/WixToolsetTest.Util/TestData/PermissionEx/Package.wxs b/src/test/WixToolsetTest.Util/TestData/PermissionEx/Package.wxs
index d3130591..09d2c46e 100644
--- a/src/test/WixToolsetTest.Util/TestData/PermissionEx/Package.wxs
+++ b/src/test/WixToolsetTest.Util/TestData/PermissionEx/Package.wxs
@@ -1,14 +1,11 @@
1<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util"> 1<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util">
2 <Product Name="MsiPackage" Language="1033" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="047730a5-30fe-4a62-a520-da9381b8226a"> 2 <Package Name="MsiPackage" Language="1033" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="047730a5-30fe-4a62-a520-da9381b8226a">
3 <Package InstallerVersion="200" Compressed="no" InstallScope="perMachine" />
4
5 <MajorUpgrade DowngradeErrorMessage="!(loc.DowngradeError)" /> 3 <MajorUpgrade DowngradeErrorMessage="!(loc.DowngradeError)" />
6 <MediaTemplate />
7 4
8 <Feature Id="ProductFeature" Title="!(loc.FeatureTitle)"> 5 <Feature Id="ProductFeature" Title="!(loc.FeatureTitle)">
9 <ComponentGroupRef Id="ProductComponents" /> 6 <ComponentGroupRef Id="ProductComponents" />
10 </Feature> 7 </Feature>
11 </Product> 8 </Package>
12 9
13 <Fragment> 10 <Fragment>
14 <Directory Id="TARGETDIR" Name="SourceDir"> 11 <Directory Id="TARGETDIR" Name="SourceDir">
diff --git a/src/test/WixToolsetTest.Util/TestData/Queries/Package.wxs b/src/test/WixToolsetTest.Util/TestData/Queries/Package.wxs
index 7f6cd7fa..43365cc3 100644
--- a/src/test/WixToolsetTest.Util/TestData/Queries/Package.wxs
+++ b/src/test/WixToolsetTest.Util/TestData/Queries/Package.wxs
@@ -1,7 +1,5 @@
1<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util"> 1<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util">
2 <Product Name="MsiPackage" Language="1033" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="047730a5-30fe-4a62-a520-da9381b8226a"> 2 <Package Name="MsiPackage" Language="1033" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="047730a5-30fe-4a62-a520-da9381b8226a">
3 <Package InstallerVersion="200" Compressed="no" InstallScope="perMachine" />
4
5 <MajorUpgrade DowngradeErrorMessage="!(loc.DowngradeError)" /> 3 <MajorUpgrade DowngradeErrorMessage="!(loc.DowngradeError)" />
6 4
7 <util:BroadcastEnvironmentChange /> 5 <util:BroadcastEnvironmentChange />
@@ -12,7 +10,7 @@
12 <Feature Id="ProductFeature" Title="!(loc.FeatureTitle)"> 10 <Feature Id="ProductFeature" Title="!(loc.FeatureTitle)">
13 <ComponentGroupRef Id="ProductComponents" /> 11 <ComponentGroupRef Id="ProductComponents" />
14 </Feature> 12 </Feature>
15 </Product> 13 </Package>
16 14
17 <Fragment> 15 <Fragment>
18 <util:BroadcastSettingChange /> 16 <util:BroadcastSettingChange />
diff --git a/src/test/WixToolsetTest.Util/TestData/UsingFileShare/Package.wxs b/src/test/WixToolsetTest.Util/TestData/UsingFileShare/Package.wxs
index 32d1cba6..873b137e 100644
--- a/src/test/WixToolsetTest.Util/TestData/UsingFileShare/Package.wxs
+++ b/src/test/WixToolsetTest.Util/TestData/UsingFileShare/Package.wxs
@@ -1,14 +1,11 @@
1<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> 1<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
2 <Product Name="MsiPackage" Language="1033" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="047730a5-30fe-4a62-a520-da9381b8226a"> 2 <Package Name="MsiPackage" Language="1033" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="047730a5-30fe-4a62-a520-da9381b8226a">
3 <Package InstallerVersion="200" Compressed="no" InstallScope="perMachine" />
4
5 <MajorUpgrade DowngradeErrorMessage="!(loc.DowngradeError)" /> 3 <MajorUpgrade DowngradeErrorMessage="!(loc.DowngradeError)" />
6 <MediaTemplate />
7 4
8 <Feature Id="ProductFeature" Title="!(loc.FeatureTitle)"> 5 <Feature Id="ProductFeature" Title="!(loc.FeatureTitle)">
9 <ComponentGroupRef Id="ProductComponents" /> 6 <ComponentGroupRef Id="ProductComponents" />
10 </Feature> 7 </Feature>
11 </Product> 8 </Package>
12 9
13 <Fragment> 10 <Fragment>
14 <Directory Id="TARGETDIR" Name="SourceDir"> 11 <Directory Id="TARGETDIR" Name="SourceDir">
diff --git a/src/wixext/UtilCompiler.cs b/src/wixext/UtilCompiler.cs
index 4aec9be9..68c7a234 100644
--- a/src/wixext/UtilCompiler.cs
+++ b/src/wixext/UtilCompiler.cs
@@ -210,7 +210,7 @@ namespace WixToolset.Util
210 case "Bundle": 210 case "Bundle":
211 case "Fragment": 211 case "Fragment":
212 case "Module": 212 case "Module":
213 case "Product": 213 case "Package":
214 switch (element.Name.LocalName) 214 switch (element.Name.LocalName)
215 { 215 {
216 case "CloseApplication": 216 case "CloseApplication":