aboutsummaryrefslogtreecommitdiff
path: root/src/wixstdba
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2018-12-31 23:57:35 -0600
committerSean Hall <r.sean.hall@gmail.com>2018-12-31 23:58:29 -0600
commitea864b56d115e4f7a7205827ecaaba0e1db81d41 (patch)
tree2dc92ce2a53295a99f482e1226398ffd97f7b5d2 /src/wixstdba
parent2c568de11510b453f499827919964badef22304e (diff)
downloadwix-ea864b56d115e4f7a7205827ecaaba0e1db81d41.tar.gz
wix-ea864b56d115e4f7a7205827ecaaba0e1db81d41.tar.bz2
wix-ea864b56d115e4f7a7205827ecaaba0e1db81d41.zip
Integrate into latest v4.
Diffstat (limited to 'src/wixstdba')
-rw-r--r--src/wixstdba/packages.config7
-rw-r--r--src/wixstdba/precomp.cpp3
-rw-r--r--src/wixstdba/precomp.h5
-rw-r--r--src/wixstdba/wixstdba.vcxproj41
4 files changed, 40 insertions, 16 deletions
diff --git a/src/wixstdba/packages.config b/src/wixstdba/packages.config
new file mode 100644
index 00000000..41ba2f12
--- /dev/null
+++ b/src/wixstdba/packages.config
@@ -0,0 +1,7 @@
1<?xml version="1.0" encoding="utf-8"?>
2<packages>
3 <package id="Nerdbank.GitVersioning" version="2.1.65" targetFramework="native" developmentDependency="true" />
4 <package id="WixToolset.BootstrapperCore" version="4.0.3" targetFramework="native" />
5 <package id="WixToolset.BalUtil" version="4.0.4" targetFramework="native" />
6 <package id="WixToolset.DUtil" version="4.0.13" targetFramework="native" />
7</packages> \ No newline at end of file
diff --git a/src/wixstdba/precomp.cpp b/src/wixstdba/precomp.cpp
new file mode 100644
index 00000000..37664a1c
--- /dev/null
+++ b/src/wixstdba/precomp.cpp
@@ -0,0 +1,3 @@
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
3#include "precomp.h"
diff --git a/src/wixstdba/precomp.h b/src/wixstdba/precomp.h
index a0390fe2..925a80ce 100644
--- a/src/wixstdba/precomp.h
+++ b/src/wixstdba/precomp.h
@@ -3,7 +3,12 @@
3 3
4 4
5#include <windows.h> 5#include <windows.h>
6
7#pragma warning(push)
8#pragma warning(disable:4458) // declaration of 'xxx' hides class member
6#include <gdiplus.h> 9#include <gdiplus.h>
10#pragma warning(pop)
11
7#include <msiquery.h> 12#include <msiquery.h>
8#include <objbase.h> 13#include <objbase.h>
9#include <shlobj.h> 14#include <shlobj.h>
diff --git a/src/wixstdba/wixstdba.vcxproj b/src/wixstdba/wixstdba.vcxproj
index ddc0bc57..8ee9ace9 100644
--- a/src/wixstdba/wixstdba.vcxproj
+++ b/src/wixstdba/wixstdba.vcxproj
@@ -1,8 +1,11 @@
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.BalUtil.4.0.4\build\WixToolset.BalUtil.props" Condition="Exists('..\..\packages\WixToolset.BalUtil.4.0.4\build\WixToolset.BalUtil.props')" />
6 <Import Project="..\..\packages\WixToolset.BootstrapperCore.4.0.3\build\WixToolset.BootstrapperCore.props" Condition="Exists('..\..\packages\WixToolset.BootstrapperCore.4.0.1\build\WixToolset.BootstrapperCore.props')" />
7 <Import Project="..\..\packages\WixToolset.DUtil.4.0.13\build\WixToolset.DUtil.props" Condition="Exists('..\..\packages\WixToolset.DUtil.4.0.13\build\WixToolset.DUtil.props')" />
4 8
5<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
6 <ItemGroup Label="ProjectConfigurations"> 9 <ItemGroup Label="ProjectConfigurations">
7 <ProjectConfiguration Include="Debug|Win32"> 10 <ProjectConfiguration Include="Debug|Win32">
8 <Configuration>Debug</Configuration> 11 <Configuration>Debug</Configuration>
@@ -13,33 +16,27 @@
13 <Platform>Win32</Platform> 16 <Platform>Win32</Platform>
14 </ProjectConfiguration> 17 </ProjectConfiguration>
15 </ItemGroup> 18 </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 19
27 <PropertyGroup Label="Globals"> 20 <PropertyGroup Label="Globals">
28 <ProjectGuid>{41085A22-E6AA-4E8B-AB1B-DDEE0DC89DFA}</ProjectGuid> 21 <ProjectGuid>{41085A22-E6AA-4E8B-AB1B-DDEE0DC89DFA}</ProjectGuid>
29 <ConfigurationType>DynamicLibrary</ConfigurationType> 22 <ConfigurationType>DynamicLibrary</ConfigurationType>
23 <PlatformToolset>v141</PlatformToolset>
30 <CharacterSet>Unicode</CharacterSet> 24 <CharacterSet>Unicode</CharacterSet>
31 <TargetName>WixStdBA</TargetName> 25 <TargetName>WixStdBA</TargetName>
32 <ProjectModuleDefinitionFile>wixstdba.def</ProjectModuleDefinitionFile> 26 <ProjectModuleDefinitionFile>wixstdba.def</ProjectModuleDefinitionFile>
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\burn\inc;$(WixRoot)src\libs\balutil\inc</ProjectAdditionalIncludeDirectories> 33 <ProjectAdditionalLinkLibraries>comctl32.lib;gdiplus.lib;msimg32.lib;shlwapi.lib;wininet.lib;wixstdba.res</ProjectAdditionalLinkLibraries>
39 <ProjectAdditionalLinkLibraries>comctl32.lib;gdiplus.lib;msimg32.lib;shlwapi.lib;wininet.lib;dutil.lib;balutil.lib;wixstdba.res</ProjectAdditionalLinkLibraries>
40 </PropertyGroup> 34 </PropertyGroup>
41 35
42 <ItemGroup> 36 <ItemGroup>
37 <ClCompile Include="precomp.cpp">
38 <PrecompiledHeader>Create</PrecompiledHeader>
39 </ClCompile>
43 <ClCompile Include="WixStandardBootstrapperApplication.cpp" /> 40 <ClCompile Include="WixStandardBootstrapperApplication.cpp" />
44 <ClCompile Include="wixstdba.cpp" /> 41 <ClCompile Include="wixstdba.cpp" />
45 </ItemGroup> 42 </ItemGroup>
@@ -93,7 +90,9 @@
93 <None Include="wixstdba.def" /> 90 <None Include="wixstdba.def" />
94 </ItemGroup> 91 </ItemGroup>
95 <ItemGroup> 92 <ItemGroup>
96 <ResourceCompile Include="wixstdba.rc" /> 93 <None Include="packages.config" />
94 </ItemGroup>
95 <ItemGroup>
97 <CustomBuild Include="wixstdba.mc"> 96 <CustomBuild Include="wixstdba.mc">
98 <Message>Compiling message file...</Message> 97 <Message>Compiling message file...</Message>
99 <Command>mc.exe -h "$(IntDir)." -r "$(IntDir)." -A -c -z wixstdba.messages "$(InputDir)wixstdba.mc" 98 <Command>mc.exe -h "$(IntDir)." -r "$(IntDir)." -A -c -z wixstdba.messages "$(InputDir)wixstdba.mc"
@@ -102,5 +101,15 @@ rc.exe -fo "$(OutDir)wixstdba.res" "$(IntDir)wixstdba.messages.rc"</Command>
102 </CustomBuild> 101 </CustomBuild>
103 </ItemGroup> 102 </ItemGroup>
104 103
105 <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), wix.proj))\tools\WixBuild.targets" /> 104 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
105 <Import Project="..\..\packages\Nerdbank.GitVersioning.2.1.65\build\Nerdbank.GitVersioning.targets" Condition="Exists('..\..\packages\Nerdbank.GitVersioning.2.1.65\build\Nerdbank.GitVersioning.targets')" />
106 <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
107 <PropertyGroup>
108 <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>
109 </PropertyGroup>
110 <Error Condition="!Exists('..\..\packages\WixToolset.BalUtil.4.0.4\build\WixToolset.BalUtil.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.BalUtil.4.0.4\build\WixToolset.BalUtil.props'))" />
111 <Error Condition="!Exists('..\..\packages\WixToolset.BootstrapperCore.4.0.3\build\WixToolset.BootstrapperCore.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.BootstrapperCore.4.0.3\build\WixToolset.BootstrapperCore.props'))" />
112 <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'))" />
113 <Error Condition="!Exists('..\..\packages\Nerdbank.GitVersioning.2.1.65\build\Nerdbank.GitVersioning.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Nerdbank.GitVersioning.2.1.65\build\Nerdbank.GitVersioning.targets'))" />
114 </Target>
106</Project> 115</Project>