diff options
author | Bob Arnson <bob@firegiant.com> | 2020-10-27 17:56:17 -0400 |
---|---|---|
committer | Bob Arnson <bob@firegiant.com> | 2020-10-27 18:01:22 -0400 |
commit | f33b26a3640011cac36c0a657838ed8760a0928b (patch) | |
tree | db8fbf45d589f48948240a0e17a19a7816c67f73 | |
parent | 79bc46ce89435b275888c7914a07f3e47e5af0fb (diff) | |
download | wix-f33b26a3640011cac36c0a657838ed8760a0928b.tar.gz wix-f33b26a3640011cac36c0a657838ed8760a0928b.tar.bz2 wix-f33b26a3640011cac36c0a657838ed8760a0928b.zip |
Update project for Package/SummaryInformation change.
-rw-r--r-- | DifxApp.wixext.sln | 4 | ||||
-rw-r--r-- | global.json | 2 | ||||
-rw-r--r-- | src/test/WixToolsetTest.DifxApp/TestData/UsingDriver/Package.wxs | 10 | ||||
-rw-r--r-- | src/wixext/DifxAppCompiler.cs | 4 | ||||
-rw-r--r-- | src/wixlib/DifxAppExtension_Platform.wxi | 23 |
5 files changed, 17 insertions, 26 deletions
diff --git a/DifxApp.wixext.sln b/DifxApp.wixext.sln index 2bfddc69..2b891405 100644 --- a/DifxApp.wixext.sln +++ b/DifxApp.wixext.sln | |||
@@ -1,7 +1,7 @@ | |||
1 | | 1 | |
2 | Microsoft Visual Studio Solution File, Format Version 12.00 | 2 | Microsoft Visual Studio Solution File, Format Version 12.00 |
3 | # Visual Studio 15 | 3 | # Visual Studio Version 16 |
4 | VisualStudioVersion = 15.0.27130.2003 | 4 | VisualStudioVersion = 16.0.30611.23 |
5 | MinimumVisualStudioVersion = 15.0.26124.0 | 5 | MinimumVisualStudioVersion = 15.0.26124.0 |
6 | Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "difxapp", "src\wixlib\difxapp.wixproj", "{5066EB93-D8F7-4FAE-B687-024D7A81BD95}" | 6 | Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "difxapp", "src\wixlib\difxapp.wixproj", "{5066EB93-D8F7-4FAE-B687-024D7A81BD95}" |
7 | EndProject | 7 | EndProject |
diff --git a/global.json b/global.json index 7a995d0a..f94ab6df 100644 --- a/global.json +++ b/global.json | |||
@@ -1,5 +1,5 @@ | |||
1 | { | 1 | { |
2 | "msbuild-sdks": { | 2 | "msbuild-sdks": { |
3 | "WixToolset.Sdk": "4.0.0-build-0143" | 3 | "WixToolset.Sdk": "4.0.0-build-0162" |
4 | } | 4 | } |
5 | } | 5 | } |
diff --git a/src/test/WixToolsetTest.DifxApp/TestData/UsingDriver/Package.wxs b/src/test/WixToolsetTest.DifxApp/TestData/UsingDriver/Package.wxs index cdc323ec..082ac4cc 100644 --- a/src/test/WixToolsetTest.DifxApp/TestData/UsingDriver/Package.wxs +++ b/src/test/WixToolsetTest.DifxApp/TestData/UsingDriver/Package.wxs | |||
@@ -1,15 +1,11 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
2 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | 2 | <Package Name="MsiPackage" Language="1033" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="047730a5-30fe-4a62-a520-da9381b8226a"> |
3 | <Product Id="*" Name="MsiPackage" Language="1033" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="047730a5-30fe-4a62-a520-da9381b8226a"> | ||
4 | <Package InstallerVersion="200" Compressed="no" InstallScope="perMachine" /> | ||
5 | |||
6 | <MajorUpgrade DowngradeErrorMessage="!(loc.DowngradeError)" /> | 3 | <MajorUpgrade DowngradeErrorMessage="!(loc.DowngradeError)" /> |
7 | <MediaTemplate /> | ||
8 | 4 | ||
9 | <Feature Id="ProductFeature" Title="!(loc.FeatureTitle)"> | 5 | <Feature Id="ProductFeature" Title="!(loc.FeatureTitle)"> |
10 | <ComponentGroupRef Id="ProductComponents" /> | 6 | <ComponentGroupRef Id="ProductComponents" /> |
11 | </Feature> | 7 | </Feature> |
12 | </Product> | 8 | </Package> |
13 | 9 | ||
14 | <Fragment> | 10 | <Fragment> |
15 | <Directory Id="TARGETDIR" Name="SourceDir"> | 11 | <Directory Id="TARGETDIR" Name="SourceDir"> |
diff --git a/src/wixext/DifxAppCompiler.cs b/src/wixext/DifxAppCompiler.cs index e3687a49..e056988f 100644 --- a/src/wixext/DifxAppCompiler.cs +++ b/src/wixext/DifxAppCompiler.cs | |||
@@ -143,10 +143,6 @@ namespace WixToolset.DifxApp | |||
143 | case Platform.X64: | 143 | case Platform.X64: |
144 | this.ParseHelper.CreateSimpleReference(section, sourceLineNumbers, SymbolDefinitions.CustomAction, "MsiProcessDrivers_x64"); | 144 | this.ParseHelper.CreateSimpleReference(section, sourceLineNumbers, SymbolDefinitions.CustomAction, "MsiProcessDrivers_x64"); |
145 | break; | 145 | break; |
146 | case Platform.IA64: | ||
147 | case Platform.ARM: | ||
148 | this.Messaging.Write(ErrorMessages.UnsupportedPlatformForElement(sourceLineNumbers, this.Context.Platform.ToString(), node.Name.LocalName)); | ||
149 | break; | ||
150 | } | 146 | } |
151 | 147 | ||
152 | var symbol = section.AddSymbol(new MsiDriverPackagesSymbol(sourceLineNumbers) | 148 | var symbol = section.AddSymbol(new MsiDriverPackagesSymbol(sourceLineNumbers) |
diff --git a/src/wixlib/DifxAppExtension_Platform.wxi b/src/wixlib/DifxAppExtension_Platform.wxi index 7583f7ea..b8d613c9 100644 --- a/src/wixlib/DifxAppExtension_Platform.wxi +++ b/src/wixlib/DifxAppExtension_Platform.wxi | |||
@@ -1,23 +1,22 @@ | |||
1 | <?xml version='1.0'?> | 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 | <!-- 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. --> | ||
3 | 2 | ||
4 | 3 | ||
5 | <Include xmlns='http://wixtoolset.org/schemas/v4/wxs'> | 4 | <Include xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
6 | <?include caSuffix.wxi ?> | 5 | <?include caSuffix.wxi ?> |
7 | 6 | ||
8 | <Fragment> | 7 | <Fragment> |
9 | <InstallExecuteSequence> | 8 | <InstallExecuteSequence> |
10 | <Custom Action='MsiProcessDrivers' After='InstallFiles'>VersionNT > 400</Custom> | 9 | <Custom Action="MsiProcessDrivers" After="InstallFiles" Condition="VersionNT > 400" /> |
11 | <Custom Action='MsiCleanupOnSuccess' After='InstallFinalize'>VersionNT > 400</Custom> | 10 | <Custom Action="MsiCleanupOnSuccess" After="InstallFinalize" Condition="VersionNT > 400" /> |
12 | </InstallExecuteSequence> | 11 | </InstallExecuteSequence> |
13 | 12 | ||
14 | <Binary Id='DIFxApp.dll$(var.Suffix)' SourceFile='$(var.platform)\DIFxApp.dll'/> | 13 | <Binary Id="DIFxApp.dll$(var.Suffix)" SourceFile="$(var.platform)\DIFxApp.dll" /> |
15 | <Binary Id='DIFxAppA.dll$(var.Suffix)' SourceFile='$(var.platform)\DIFxAppA.dll'/> | 14 | <Binary Id="DIFxAppA.dll$(var.Suffix)" SourceFile="$(var.platform)\DIFxAppA.dll" /> |
16 | 15 | ||
17 | <CustomAction Id='MsiProcessDrivers$(var.Suffix)' BinaryKey='DIFxApp.dll$(var.Suffix)' DllEntry='ProcessDriverPackages' SuppressModularization='yes' Execute='immediate' /> | 16 | <CustomAction Id="MsiProcessDrivers$(var.Suffix)" DllEntry="ProcessDriverPackages" SuppressModularization="yes" Execute="immediate" BinaryRef="DIFxApp.dll$(var.Suffix)" /> |
18 | <CustomAction Id='MsiInstallDrivers$(var.Suffix)' BinaryKey='DIFxAppA.dll$(var.Suffix)' DllEntry='InstallDriverPackages' SuppressModularization='yes' Execute='deferred' Impersonate='no' /> | 17 | <CustomAction Id="MsiInstallDrivers$(var.Suffix)" DllEntry="InstallDriverPackages" SuppressModularization="yes" Execute="deferred" Impersonate="no" BinaryRef="DIFxAppA.dll$(var.Suffix)" /> |
19 | <CustomAction Id='MsiUninstallDrivers$(var.Suffix)' BinaryKey='DIFxAppA.dll$(var.Suffix)' DllEntry='UninstallDriverPackages' SuppressModularization='yes' Execute='deferred' Impersonate='no' /> | 18 | <CustomAction Id="MsiUninstallDrivers$(var.Suffix)" DllEntry="UninstallDriverPackages" SuppressModularization="yes" Execute="deferred" Impersonate="no" BinaryRef="DIFxAppA.dll$(var.Suffix)" /> |
20 | <CustomAction Id='MsiRollbackInstall$(var.Suffix)' BinaryKey='DIFxAppA.dll$(var.Suffix)' DllEntry='RollbackInstall' SuppressModularization='yes' Execute='rollback' Impersonate='no' /> | 19 | <CustomAction Id="MsiRollbackInstall$(var.Suffix)" DllEntry="RollbackInstall" SuppressModularization="yes" Execute="rollback" Impersonate="no" BinaryRef="DIFxAppA.dll$(var.Suffix)" /> |
21 | <CustomAction Id='MsiCleanupOnSuccess$(var.Suffix)' BinaryKey='DIFxApp.dll$(var.Suffix)' DllEntry='CleanupOnSuccess' SuppressModularization='yes' Execute='immediate' /> | 20 | <CustomAction Id="MsiCleanupOnSuccess$(var.Suffix)" DllEntry="CleanupOnSuccess" SuppressModularization="yes" Execute="immediate" BinaryRef="DIFxApp.dll$(var.Suffix)" /> |
22 | </Fragment> | 21 | </Fragment> |
23 | </Include> | 22 | </Include> |