diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2019-01-20 11:09:10 -0600 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2019-01-20 11:15:09 -0600 |
commit | 87527d58d18fa719dc7a5ce512369485d907cba4 (patch) | |
tree | 9bcfd603f11b73846fd1985c2b732920b209fcaf /src/ca | |
parent | 4d30ab70573f9734d7fd3cd4d54c02173fa281db (diff) | |
download | wix-87527d58d18fa719dc7a5ce512369485d907cba4.tar.gz wix-87527d58d18fa719dc7a5ce512369485d907cba4.tar.bz2 wix-87527d58d18fa719dc7a5ce512369485d907cba4.zip |
Integrate into latest v4.
Diffstat (limited to 'src/ca')
-rw-r--r-- | src/ca/httpca.vcxproj | 62 | ||||
-rw-r--r-- | src/ca/httpca.vcxproj.filters (renamed from src/ca/wixhttpca.vcxproj.filters) | 5 | ||||
-rw-r--r-- | src/ca/packages.config | 5 | ||||
-rw-r--r-- | src/ca/precomp.h | 1 | ||||
-rw-r--r-- | src/ca/wixhttpca.def | 2 | ||||
-rw-r--r-- | src/ca/wixhttpca.vcxproj | 58 |
6 files changed, 68 insertions, 65 deletions
diff --git a/src/ca/httpca.vcxproj b/src/ca/httpca.vcxproj new file mode 100644 index 00000000..0aa1da1f --- /dev/null +++ b/src/ca/httpca.vcxproj | |||
@@ -0,0 +1,62 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
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 | |||
4 | <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
5 | <Import Project="..\..\packages\WixToolset.DUtil.4.0.6\build\WixToolset.DUtil.props" Condition="Exists('..\..\packages\WixToolset.DUtil.4.0.6\build\WixToolset.DUtil.props')" /> | ||
6 | <Import Project="..\..\packages\WixToolset.WcaUtil.4.0.2\build\WixToolset.WcaUtil.props" Condition="Exists('..\..\packages\WixToolset.WcaUtil.4.0.2\build\WixToolset.WcaUtil.props')" /> | ||
7 | |||
8 | <ItemGroup Label="ProjectConfigurations"> | ||
9 | <ProjectConfiguration Include="Debug|Win32"> | ||
10 | <Configuration>Debug</Configuration> | ||
11 | <Platform>Win32</Platform> | ||
12 | </ProjectConfiguration> | ||
13 | <ProjectConfiguration Include="Release|Win32"> | ||
14 | <Configuration>Release</Configuration> | ||
15 | <Platform>Win32</Platform> | ||
16 | </ProjectConfiguration> | ||
17 | </ItemGroup> | ||
18 | |||
19 | <PropertyGroup Label="Globals"> | ||
20 | <ProjectGuid>{90743805-C043-47C7-B5FF-8F5EE5C8A2DE}</ProjectGuid> | ||
21 | <ConfigurationType>DynamicLibrary</ConfigurationType> | ||
22 | <PlatformToolset>v141</PlatformToolset> | ||
23 | <CharacterSet>Unicode</CharacterSet> | ||
24 | <TargetName>httpca</TargetName> | ||
25 | <ProjectModuleDefinitionFile>wixhttpca.def</ProjectModuleDefinitionFile> | ||
26 | <Description>WiX Toolset Http CustomAction</Description> | ||
27 | </PropertyGroup> | ||
28 | |||
29 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | ||
30 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | ||
31 | |||
32 | <PropertyGroup> | ||
33 | <ProjectAdditionalLinkLibraries>crypt32.lib;httpapi.lib;msi.lib</ProjectAdditionalLinkLibraries> | ||
34 | </PropertyGroup> | ||
35 | |||
36 | <ItemGroup> | ||
37 | <ClCompile Include="dllmain.cpp"> | ||
38 | <PrecompiledHeader>Create</PrecompiledHeader> | ||
39 | </ClCompile> | ||
40 | <ClCompile Include="wixhttpca.cpp" /> | ||
41 | </ItemGroup> | ||
42 | |||
43 | <ItemGroup> | ||
44 | <ClInclude Include="cost.h" /> | ||
45 | <ClInclude Include="precomp.h" /> | ||
46 | </ItemGroup> | ||
47 | |||
48 | <ItemGroup> | ||
49 | <None Include="packages.config" /> | ||
50 | <None Include="wixhttpca.def" /> | ||
51 | </ItemGroup> | ||
52 | |||
53 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | ||
54 | |||
55 | <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> | ||
56 | <PropertyGroup> | ||
57 | <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> | ||
58 | </PropertyGroup> | ||
59 | <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'))" /> | ||
60 | <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'))" /> | ||
61 | </Target> | ||
62 | </Project> | ||
diff --git a/src/ca/wixhttpca.vcxproj.filters b/src/ca/httpca.vcxproj.filters index 354653c1..d2ab3287 100644 --- a/src/ca/wixhttpca.vcxproj.filters +++ b/src/ca/httpca.vcxproj.filters | |||
@@ -28,11 +28,6 @@ | |||
28 | </ClInclude> | 28 | </ClInclude> |
29 | </ItemGroup> | 29 | </ItemGroup> |
30 | <ItemGroup> | 30 | <ItemGroup> |
31 | <ResourceCompile Include="wixhttpca.rc"> | ||
32 | <Filter>Resource Files</Filter> | ||
33 | </ResourceCompile> | ||
34 | </ItemGroup> | ||
35 | <ItemGroup> | ||
36 | <None Include="wixhttpca.def"> | 31 | <None Include="wixhttpca.def"> |
37 | <Filter>Source Files</Filter> | 32 | <Filter>Source Files</Filter> |
38 | </None> | 33 | </None> |
diff --git a/src/ca/packages.config b/src/ca/packages.config new file mode 100644 index 00000000..b87f9ab4 --- /dev/null +++ b/src/ca/packages.config | |||
@@ -0,0 +1,5 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <packages> | ||
3 | <package id="WixToolset.DUtil" version="4.0.6" targetFramework="native" /> | ||
4 | <package id="WixToolset.WcaUtil" version="4.0.2" targetFramework="native" /> | ||
5 | </packages> \ No newline at end of file | ||
diff --git a/src/ca/precomp.h b/src/ca/precomp.h index ec74006b..85aeb70e 100644 --- a/src/ca/precomp.h +++ b/src/ca/precomp.h | |||
@@ -13,5 +13,4 @@ | |||
13 | #include "strutil.h" | 13 | #include "strutil.h" |
14 | #include "aclutil.h" | 14 | #include "aclutil.h" |
15 | 15 | ||
16 | #include "CustomMsiErrors.h" | ||
17 | #include "cost.h" | 16 | #include "cost.h" |
diff --git a/src/ca/wixhttpca.def b/src/ca/wixhttpca.def index 5368c946..f7e3e004 100644 --- a/src/ca/wixhttpca.def +++ b/src/ca/wixhttpca.def | |||
@@ -1,7 +1,7 @@ | |||
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 | 3 | ||
4 | LIBRARY "wixhttpca" | 4 | LIBRARY "httpca" |
5 | 5 | ||
6 | EXPORTS | 6 | EXPORTS |
7 | SchedHttpUrlReservationsInstall | 7 | SchedHttpUrlReservationsInstall |
diff --git a/src/ca/wixhttpca.vcxproj b/src/ca/wixhttpca.vcxproj deleted file mode 100644 index 89dbc79a..00000000 --- a/src/ca/wixhttpca.vcxproj +++ /dev/null | |||
@@ -1,58 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
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 | |||
4 | |||
5 | <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
6 | <ItemGroup Label="ProjectConfigurations"> | ||
7 | <ProjectConfiguration Include="Debug|Win32"> | ||
8 | <Configuration>Debug</Configuration> | ||
9 | <Platform>Win32</Platform> | ||
10 | </ProjectConfiguration> | ||
11 | <ProjectConfiguration Include="Release|Win32"> | ||
12 | <Configuration>Release</Configuration> | ||
13 | <Platform>Win32</Platform> | ||
14 | </ProjectConfiguration> | ||
15 | </ItemGroup> | ||
16 | <ItemGroup Label="ProjectConfigurations"> | ||
17 | <ProjectConfiguration Include="Debug|ARM"> | ||
18 | <Configuration>Debug</Configuration> | ||
19 | <Platform>ARM</Platform> | ||
20 | </ProjectConfiguration> | ||
21 | <ProjectConfiguration Include="Release|ARM"> | ||
22 | <Configuration>Release</Configuration> | ||
23 | <Platform>ARM</Platform> | ||
24 | </ProjectConfiguration> | ||
25 | </ItemGroup> | ||
26 | |||
27 | <PropertyGroup Label="Globals"> | ||
28 | <ProjectGuid>{90743805-C043-47C7-B5FF-8F5EE5C8A2DE}</ProjectGuid> | ||
29 | <ConfigurationType>DynamicLibrary</ConfigurationType> | ||
30 | <CharacterSet>Unicode</CharacterSet> | ||
31 | <TargetName>wixhttpca</TargetName> | ||
32 | <ProjectModuleDefinitionFile>wixhttpca.def</ProjectModuleDefinitionFile> | ||
33 | </PropertyGroup> | ||
34 | |||
35 | <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), wix.proj))\tools\WixBuild.props" /> | ||
36 | |||
37 | <PropertyGroup> | ||
38 | <ProjectAdditionalIncludeDirectories>$(WixRoot)src\libs\dutil\inc;$(WixRoot)src\libs\wcautil</ProjectAdditionalIncludeDirectories> | ||
39 | <ProjectAdditionalLinkLibraries>crypt32.lib;httpapi.lib;msi.lib;dutil.lib;wcautil.lib</ProjectAdditionalLinkLibraries> | ||
40 | </PropertyGroup> | ||
41 | |||
42 | <ItemGroup> | ||
43 | <ClCompile Include="dllmain.cpp" /> | ||
44 | <ClCompile Include="wixhttpca.cpp" /> | ||
45 | </ItemGroup> | ||
46 | <ItemGroup> | ||
47 | <ClInclude Include="cost.h" /> | ||
48 | <ClInclude Include="precomp.h" /> | ||
49 | </ItemGroup> | ||
50 | <ItemGroup> | ||
51 | <None Include="wixhttpca.def" /> | ||
52 | </ItemGroup> | ||
53 | <ItemGroup> | ||
54 | <ResourceCompile Include="wixhttpca.rc" /> | ||
55 | </ItemGroup> | ||
56 | |||
57 | <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), wix.proj))\tools\WixBuild.targets" /> | ||
58 | </Project> | ||