diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2019-01-12 16:49:42 -0600 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2019-01-12 16:58:52 -0600 |
| commit | 2a14c230453744ea896948ca0b4f6692f2962bee (patch) | |
| tree | 08227b815bb5ce8e5140f902305d921917fca95d /src/ca | |
| parent | 9d5d059a2147aa0fe38f7103148c020b66455e83 (diff) | |
| download | wix-2a14c230453744ea896948ca0b4f6692f2962bee.tar.gz wix-2a14c230453744ea896948ca0b4f6692f2962bee.tar.bz2 wix-2a14c230453744ea896948ca0b4f6692f2962bee.zip | |
Integrate into latest v4.
Diffstat (limited to 'src/ca')
| -rw-r--r-- | src/ca/CustomMsiErrors.h | 10 | ||||
| -rw-r--r-- | src/ca/packages.config | 5 | ||||
| -rw-r--r-- | src/ca/precomp.h | 1 | ||||
| -rw-r--r-- | src/ca/uica.vcxproj | 40 |
4 files changed, 36 insertions, 20 deletions
diff --git a/src/ca/CustomMsiErrors.h b/src/ca/CustomMsiErrors.h new file mode 100644 index 00000000..b568d01c --- /dev/null +++ b/src/ca/CustomMsiErrors.h | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | #pragma once | ||
| 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 | #define msierrSQLFailedCreateDatabase 26201 | ||
| 5 | #define msierrSQLFailedDropDatabase 26202 | ||
| 6 | #define msierrSQLFailedConnectDatabase 26203 | ||
| 7 | #define msierrSQLFailedExecString 26204 | ||
| 8 | #define msierrSQLDatabaseAlreadyExists 26205 | ||
| 9 | |||
| 10 | //Last available is 26250 \ No newline at end of file | ||
diff --git a/src/ca/packages.config b/src/ca/packages.config new file mode 100644 index 00000000..265886d9 --- /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.13" 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 dcdf2653..e95240c6 100644 --- a/src/ca/precomp.h +++ b/src/ca/precomp.h | |||
| @@ -7,7 +7,6 @@ | |||
| 7 | #include <richedit.h> | 7 | #include <richedit.h> |
| 8 | #include <shlwapi.h> | 8 | #include <shlwapi.h> |
| 9 | 9 | ||
| 10 | #include "wixstrsafe.h" | ||
| 11 | #include "wcautil.h" | 10 | #include "wcautil.h" |
| 12 | #include "aclutil.h" | 11 | #include "aclutil.h" |
| 13 | #include "fileutil.h" | 12 | #include "fileutil.h" |
diff --git a/src/ca/uica.vcxproj b/src/ca/uica.vcxproj index 92e20e1a..f6e0ef2a 100644 --- a/src/ca/uica.vcxproj +++ b/src/ca/uica.vcxproj | |||
| @@ -1,8 +1,10 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | 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. --> | 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 | 3 | ||
| 4 | <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
| 5 | <Import Project="..\..\packages\WixToolset.DUtil.4.0.13\build\WixToolset.DUtil.props" Condition="Exists('..\..\packages\WixToolset.DUtil.4.0.13\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')" /> | ||
| 4 | 7 | ||
| 5 | <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
| 6 | <ItemGroup Label="ProjectConfigurations"> | 8 | <ItemGroup Label="ProjectConfigurations"> |
| 7 | <ProjectConfiguration Include="Debug|Win32"> | 9 | <ProjectConfiguration Include="Debug|Win32"> |
| 8 | <Configuration>Debug</Configuration> | 10 | <Configuration>Debug</Configuration> |
| @@ -13,34 +15,28 @@ | |||
| 13 | <Platform>Win32</Platform> | 15 | <Platform>Win32</Platform> |
| 14 | </ProjectConfiguration> | 16 | </ProjectConfiguration> |
| 15 | </ItemGroup> | 17 | </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 | 18 | ||
| 27 | <PropertyGroup Label="Globals"> | 19 | <PropertyGroup Label="Globals"> |
| 28 | <ProjectGuid>{F72D34CA-48DA-4DFD-91A9-A0C78BEF6981}</ProjectGuid> | 20 | <ProjectGuid>{F72D34CA-48DA-4DFD-91A9-A0C78BEF6981}</ProjectGuid> |
| 29 | <ConfigurationType>DynamicLibrary</ConfigurationType> | 21 | <ConfigurationType>DynamicLibrary</ConfigurationType> |
| 30 | <CharacterSet>MultiByte</CharacterSet> | 22 | <CharacterSet>MultiByte</CharacterSet> |
| 31 | <TargetName>uica</TargetName> | 23 | <TargetName>uica</TargetName> |
| 24 | <PlatformToolset>v141</PlatformToolset> | ||
| 32 | <ProjectModuleDefinitionFile>uica.def</ProjectModuleDefinitionFile> | 25 | <ProjectModuleDefinitionFile>uica.def</ProjectModuleDefinitionFile> |
| 26 | <Description>WiX Toolset UI CustomAction</Description> | ||
| 33 | </PropertyGroup> | 27 | </PropertyGroup> |
| 34 | 28 | ||
| 35 | <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), wix.proj))\tools\WixBuild.props" /> | 29 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
| 30 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | ||
| 36 | 31 | ||
| 37 | <PropertyGroup> | 32 | <PropertyGroup> |
| 38 | <ProjectAdditionalIncludeDirectories>$(WixRoot)src\libs\dutil\inc;$(WixRoot)src\libs\wcautil</ProjectAdditionalIncludeDirectories> | 33 | <ProjectAdditionalLinkLibraries>msi.lib;shlwapi.lib</ProjectAdditionalLinkLibraries> |
| 39 | <ProjectAdditionalLinkLibraries>msi.lib;shlwapi.lib;dutil.lib;wcautil.lib</ProjectAdditionalLinkLibraries> | ||
| 40 | </PropertyGroup> | 34 | </PropertyGroup> |
| 41 | 35 | ||
| 42 | <ItemGroup> | 36 | <ItemGroup> |
| 43 | <ClCompile Include="dllmain.cpp" /> | 37 | <ClCompile Include="dllmain.cpp"> |
| 38 | <PrecompiledHeader>Create</PrecompiledHeader> | ||
| 39 | </ClCompile> | ||
| 44 | <ClCompile Include="DriveCheck.cpp" /> | 40 | <ClCompile Include="DriveCheck.cpp" /> |
| 45 | <ClCompile Include="PrintEula.cpp" /> | 41 | <ClCompile Include="PrintEula.cpp" /> |
| 46 | </ItemGroup> | 42 | </ItemGroup> |
| @@ -49,11 +45,17 @@ | |||
| 49 | <ClInclude Include="precomp.h" /> | 45 | <ClInclude Include="precomp.h" /> |
| 50 | </ItemGroup> | 46 | </ItemGroup> |
| 51 | <ItemGroup> | 47 | <ItemGroup> |
| 48 | <None Include="packages.config" /> | ||
| 52 | <None Include="uica.def" /> | 49 | <None Include="uica.def" /> |
| 53 | </ItemGroup> | 50 | </ItemGroup> |
| 54 | <ItemGroup> | ||
| 55 | <ResourceCompile Include="uica.rc" /> | ||
| 56 | </ItemGroup> | ||
| 57 | 51 | ||
| 58 | <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), wix.proj))\tools\WixBuild.targets" /> | 52 | <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
| 53 | |||
| 54 | <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> | ||
| 55 | <PropertyGroup> | ||
| 56 | <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> | ||
| 57 | </PropertyGroup> | ||
| 58 | <Error Condition="!Exists('..\..\packages\WixToolset.DUtil.4.0.13\build\WixToolset.DUtil.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.DUtil.4.0.13\build\WixToolset.DUtil.props'))" /> | ||
| 59 | <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'))" /> | ||
| 60 | </Target> | ||
| 59 | </Project> | 61 | </Project> |
