diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2019-01-13 19:18:15 -0600 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2019-01-13 19:18:15 -0600 |
commit | c435344731cfbfa4882d3afa9e82d4f86b49effe (patch) | |
tree | bda33520c634a5c12306375dc630ab14e8d0fcde | |
parent | 3ff6c0bc2c613b7db6c2732661050c94d36eeb37 (diff) | |
download | wix-c435344731cfbfa4882d3afa9e82d4f86b49effe.tar.gz wix-c435344731cfbfa4882d3afa9e82d4f86b49effe.tar.bz2 wix-c435344731cfbfa4882d3afa9e82d4f86b49effe.zip |
Update to latest Cpp.Build.props for locating latest Win10 SDK.
Remove unused Microsoft.VisualStudio.Setup.Configuration.Native package.
-rw-r--r-- | src/Cpp.Build.props | 6 | ||||
-rw-r--r-- | src/ca/iisca.vcxproj | 9 | ||||
-rw-r--r-- | src/ca/packages.config | 1 | ||||
-rw-r--r-- | src/ca/precomp.h | 1 |
4 files changed, 5 insertions, 12 deletions
diff --git a/src/Cpp.Build.props b/src/Cpp.Build.props index 296b36ca..0e00132b 100644 --- a/src/Cpp.Build.props +++ b/src/Cpp.Build.props | |||
@@ -8,6 +8,10 @@ | |||
8 | <OutDir>$(OutputPath)$(Platform)\</OutDir> | 8 | <OutDir>$(OutputPath)$(Platform)\</OutDir> |
9 | </PropertyGroup> | 9 | </PropertyGroup> |
10 | 10 | ||
11 | <PropertyGroup Condition="'$(WindowsTargetPlatformVersion)'=='' AND '$(VisualStudioVersion)'=='15.0'"> | ||
12 | <WindowsTargetPlatformVersion>$([Microsoft.Build.Utilities.ToolLocationHelper]::GetLatestSDKTargetPlatformVersion('Windows', '10.0'))</WindowsTargetPlatformVersion> | ||
13 | </PropertyGroup> | ||
14 | |||
11 | <ItemDefinitionGroup> | 15 | <ItemDefinitionGroup> |
12 | <ClCompile> | 16 | <ClCompile> |
13 | <DisableSpecificWarnings>$(DisableSpecificCompilerWarnings)</DisableSpecificWarnings> | 17 | <DisableSpecificWarnings>$(DisableSpecificCompilerWarnings)</DisableSpecificWarnings> |
@@ -16,7 +20,7 @@ | |||
16 | <PreprocessorDefinitions>WIN32;_WINDOWS;_WIN32_MSI=500;_WIN32_WINNT=0x0501;$(ArmPreprocessorDefinitions);$(UnicodePreprocessorDefinitions);_CRT_STDIO_LEGACY_WIDE_SPECIFIERS;_WINSOCK_DEPRECATED_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> | 20 | <PreprocessorDefinitions>WIN32;_WINDOWS;_WIN32_MSI=500;_WIN32_WINNT=0x0501;$(ArmPreprocessorDefinitions);$(UnicodePreprocessorDefinitions);_CRT_STDIO_LEGACY_WIDE_SPECIFIERS;_WINSOCK_DEPRECATED_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions> |
17 | <PrecompiledHeader>Use</PrecompiledHeader> | 21 | <PrecompiledHeader>Use</PrecompiledHeader> |
18 | <PrecompiledHeaderFile>precomp.h</PrecompiledHeaderFile> | 22 | <PrecompiledHeaderFile>precomp.h</PrecompiledHeaderFile> |
19 | <CallingConvention>StdCall</CallingConvention> | 23 | <CallingConvention Condition="'$(Platform)'=='Win32'">StdCall</CallingConvention> |
20 | <TreatWarningAsError>true</TreatWarningAsError> | 24 | <TreatWarningAsError>true</TreatWarningAsError> |
21 | <ExceptionHandling>false</ExceptionHandling> | 25 | <ExceptionHandling>false</ExceptionHandling> |
22 | <AdditionalOptions>-YlprecompDefine</AdditionalOptions> | 26 | <AdditionalOptions>-YlprecompDefine</AdditionalOptions> |
diff --git a/src/ca/iisca.vcxproj b/src/ca/iisca.vcxproj index 08ac4444..2807447e 100644 --- a/src/ca/iisca.vcxproj +++ b/src/ca/iisca.vcxproj | |||
@@ -24,19 +24,11 @@ | |||
24 | <CharacterSet>Unicode</CharacterSet> | 24 | <CharacterSet>Unicode</CharacterSet> |
25 | <ProjectModuleDefinitionFile>iisca.def</ProjectModuleDefinitionFile> | 25 | <ProjectModuleDefinitionFile>iisca.def</ProjectModuleDefinitionFile> |
26 | <Description>WiX Toolset Iis CustomAction</Description> | 26 | <Description>WiX Toolset Iis CustomAction</Description> |
27 | <WindowsTargetPlatformVersion Condition="'$(WindowsTargetPlatformVersion)' == ''">$([Microsoft.Build.Utilities.ToolLocationHelper]::GetLatestSDKTargetPlatformVersion('Windows', '10.0'))</WindowsTargetPlatformVersion> | ||
28 | </PropertyGroup> | 27 | </PropertyGroup> |
29 | 28 | ||
30 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | 29 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
31 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | 30 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
32 | 31 | ||
33 | <ImportGroup Label="ExtensionSettings"> | ||
34 | </ImportGroup> | ||
35 | |||
36 | <ImportGroup Label="Shared"> | ||
37 | <Import Project="..\..\packages\Microsoft.VisualStudio.Setup.Configuration.Native.1.14.114\build\native\Microsoft.VisualStudio.Setup.Configuration.Native.targets" Condition="Exists('..\..\packages\Microsoft.VisualStudio.Setup.Configuration.Native.1.14.114\build\native\Microsoft.VisualStudio.Setup.Configuration.Native.targets')" /> | ||
38 | </ImportGroup> | ||
39 | |||
40 | <PropertyGroup> | 32 | <PropertyGroup> |
41 | <ProjectAdditionalLinkLibraries>crypt32.lib;msi.lib;Ws2_32.lib</ProjectAdditionalLinkLibraries> | 33 | <ProjectAdditionalLinkLibraries>crypt32.lib;msi.lib;Ws2_32.lib</ProjectAdditionalLinkLibraries> |
42 | </PropertyGroup> | 34 | </PropertyGroup> |
@@ -140,7 +132,6 @@ | |||
140 | <PropertyGroup> | 132 | <PropertyGroup> |
141 | <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> | 133 | <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> |
142 | </PropertyGroup> | 134 | </PropertyGroup> |
143 | <Error Condition="!Exists('..\..\packages\Microsoft.VisualStudio.Setup.Configuration.Native.1.14.114\build\native\Microsoft.VisualStudio.Setup.Configuration.Native.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.VisualStudio.Setup.Configuration.Native.1.14.114\build\native\Microsoft.VisualStudio.Setup.Configuration.Native.targets'))" /> | ||
144 | <Error Condition="!Exists('..\..\packages\WixToolset.DUtil.4.0.6\build\WixToolset.DUtil.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.DUtil.4.0.6\build\WixToolset.DUtil.props'))" /> | 135 | <Error Condition="!Exists('..\..\packages\WixToolset.DUtil.4.0.6\build\WixToolset.DUtil.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.DUtil.4.0.6\build\WixToolset.DUtil.props'))" /> |
145 | <Error Condition="!Exists('..\..\packages\WixToolset.WcaUtil.4.0.2\build\WixToolset.WcaUtil.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.WcaUtil.4.0.2\build\WixToolset.WcaUtil.props'))" /> | 136 | <Error Condition="!Exists('..\..\packages\WixToolset.WcaUtil.4.0.2\build\WixToolset.WcaUtil.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.WcaUtil.4.0.2\build\WixToolset.WcaUtil.props'))" /> |
146 | </Target> | 137 | </Target> |
diff --git a/src/ca/packages.config b/src/ca/packages.config index b74ff5d0..b87f9ab4 100644 --- a/src/ca/packages.config +++ b/src/ca/packages.config | |||
@@ -1,6 +1,5 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <packages> | 2 | <packages> |
3 | <package id="Microsoft.VisualStudio.Setup.Configuration.Native" version="1.14.114" targetFramework="native" developmentDependency="true" /> | ||
4 | <package id="WixToolset.DUtil" version="4.0.6" targetFramework="native" /> | 3 | <package id="WixToolset.DUtil" version="4.0.6" targetFramework="native" /> |
5 | <package id="WixToolset.WcaUtil" version="4.0.2" targetFramework="native" /> | 4 | <package id="WixToolset.WcaUtil" version="4.0.2" targetFramework="native" /> |
6 | </packages> \ No newline at end of file | 5 | </packages> \ No newline at end of file |
diff --git a/src/ca/precomp.h b/src/ca/precomp.h index efddb5f2..c797ce82 100644 --- a/src/ca/precomp.h +++ b/src/ca/precomp.h | |||
@@ -18,7 +18,6 @@ | |||
18 | #include <ahadmin.h> // IIS 7 config | 18 | #include <ahadmin.h> // IIS 7 config |
19 | 19 | ||
20 | #define MAXUINT USHRT_MAX | 20 | #define MAXUINT USHRT_MAX |
21 | #include <Setup.Configuration.h> | ||
22 | 21 | ||
23 | #include "wcautil.h" | 22 | #include "wcautil.h" |
24 | #include "wcawow64.h" | 23 | #include "wcawow64.h" |