diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2020-03-30 18:51:48 +1000 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2020-03-30 21:43:47 +1000 |
commit | 83e4e5d759903e70a9bbf75d4d084bfda49e5877 (patch) | |
tree | 11704ed8308ebbc1692281e4db23efd91e39f989 | |
parent | 3c9eb7218686ffe40d841e7669d8fcf670f3c32b (diff) | |
download | wix-83e4e5d759903e70a9bbf75d4d084bfda49e5877.tar.gz wix-83e4e5d759903e70a9bbf75d4d084bfda49e5877.tar.bz2 wix-83e4e5d759903e70a9bbf75d4d084bfda49e5877.zip |
Upgrade to latest BootstrapperCore.
-rw-r--r-- | src/WixToolset.Mba.Core/BootstrapperApplicationData.cs | 2 | ||||
-rw-r--r-- | src/WixToolset.Mba.Core/BootstrapperCommand.cs | 10 | ||||
-rw-r--r-- | src/WixToolset.Mba.Core/IBootstrapperApplicationFactory.cs | 6 | ||||
-rw-r--r-- | src/WixToolset.Mba.Core/IBootstrapperCommand.cs | 10 | ||||
-rw-r--r-- | src/balutil/balutil.vcxproj | 4 | ||||
-rw-r--r-- | src/balutil/packages.config | 2 | ||||
-rw-r--r-- | src/balutil/precomp.h | 5 | ||||
-rw-r--r-- | src/mbanative/mbanative.vcxproj | 4 | ||||
-rw-r--r-- | src/mbanative/packages.config | 2 | ||||
-rw-r--r-- | src/mbanative/precomp.h | 10 |
10 files changed, 39 insertions, 16 deletions
diff --git a/src/WixToolset.Mba.Core/BootstrapperApplicationData.cs b/src/WixToolset.Mba.Core/BootstrapperApplicationData.cs index d6d590ba..05672f1b 100644 --- a/src/WixToolset.Mba.Core/BootstrapperApplicationData.cs +++ b/src/WixToolset.Mba.Core/BootstrapperApplicationData.cs | |||
@@ -9,7 +9,7 @@ namespace WixToolset.Mba.Core | |||
9 | public class BootstrapperApplicationData : IBootstrapperApplicationData | 9 | public class BootstrapperApplicationData : IBootstrapperApplicationData |
10 | { | 10 | { |
11 | public const string DefaultFileName = "BootstrapperApplicationData.xml"; | 11 | public const string DefaultFileName = "BootstrapperApplicationData.xml"; |
12 | public const string XMLNamespace = "http://wixtoolset.org/schemas/v4/2010/BootstrapperApplicationData"; | 12 | public const string XMLNamespace = "http://wixtoolset.org/schemas/v4/BootstrapperApplicationData"; |
13 | 13 | ||
14 | public static readonly DirectoryInfo DefaultFolder; | 14 | public static readonly DirectoryInfo DefaultFolder; |
15 | public static readonly FileInfo DefaultFile; | 15 | public static readonly FileInfo DefaultFile; |
diff --git a/src/WixToolset.Mba.Core/BootstrapperCommand.cs b/src/WixToolset.Mba.Core/BootstrapperCommand.cs index 6854e9ae..42d19bf9 100644 --- a/src/WixToolset.Mba.Core/BootstrapperCommand.cs +++ b/src/WixToolset.Mba.Core/BootstrapperCommand.cs | |||
@@ -20,7 +20,9 @@ namespace WixToolset.Mba.Core | |||
20 | IntPtr splashScreen, | 20 | IntPtr splashScreen, |
21 | RelationType relation, | 21 | RelationType relation, |
22 | bool passthrough, | 22 | bool passthrough, |
23 | string layoutDirectory) | 23 | string layoutDirectory, |
24 | string bootstrapperWorkingFolder, | ||
25 | string bootstrapperApplicationDataPath) | ||
24 | { | 26 | { |
25 | this.Action = action; | 27 | this.Action = action; |
26 | this.Display = display; | 28 | this.Display = display; |
@@ -32,6 +34,8 @@ namespace WixToolset.Mba.Core | |||
32 | this.Relation = relation; | 34 | this.Relation = relation; |
33 | this.Passthrough = passthrough; | 35 | this.Passthrough = passthrough; |
34 | this.LayoutDirectory = layoutDirectory; | 36 | this.LayoutDirectory = layoutDirectory; |
37 | this.BootstrapperWorkingFolder = bootstrapperWorkingFolder; | ||
38 | this.BootstrapperApplicationDataPath = bootstrapperApplicationDataPath; | ||
35 | } | 39 | } |
36 | 40 | ||
37 | public LaunchAction Action { get; } | 41 | public LaunchAction Action { get; } |
@@ -54,6 +58,10 @@ namespace WixToolset.Mba.Core | |||
54 | 58 | ||
55 | public string LayoutDirectory { get; } | 59 | public string LayoutDirectory { get; } |
56 | 60 | ||
61 | public string BootstrapperWorkingFolder { get; } | ||
62 | |||
63 | public string BootstrapperApplicationDataPath { get; } | ||
64 | |||
57 | /// <summary> | 65 | /// <summary> |
58 | /// Gets the command line arguments as a string array. | 66 | /// Gets the command line arguments as a string array. |
59 | /// </summary> | 67 | /// </summary> |
diff --git a/src/WixToolset.Mba.Core/IBootstrapperApplicationFactory.cs b/src/WixToolset.Mba.Core/IBootstrapperApplicationFactory.cs index 700f0888..d3087717 100644 --- a/src/WixToolset.Mba.Core/IBootstrapperApplicationFactory.cs +++ b/src/WixToolset.Mba.Core/IBootstrapperApplicationFactory.cs | |||
@@ -34,6 +34,8 @@ namespace WixToolset.Mba.Core | |||
34 | [MarshalAs(UnmanagedType.I4)] private readonly RelationType relation; | 34 | [MarshalAs(UnmanagedType.I4)] private readonly RelationType relation; |
35 | [MarshalAs(UnmanagedType.Bool)] private readonly bool passthrough; | 35 | [MarshalAs(UnmanagedType.Bool)] private readonly bool passthrough; |
36 | [MarshalAs(UnmanagedType.LPWStr)] private readonly string wzLayoutDirectory; | 36 | [MarshalAs(UnmanagedType.LPWStr)] private readonly string wzLayoutDirectory; |
37 | [MarshalAs(UnmanagedType.LPWStr)] private readonly string wzBootstrapperWorkingFolder; | ||
38 | [MarshalAs(UnmanagedType.LPWStr)] private readonly string wzBootstrapperApplicationDataPath; | ||
37 | 39 | ||
38 | public IBootstrapperCommand GetBootstrapperCommand() | 40 | public IBootstrapperCommand GetBootstrapperCommand() |
39 | { | 41 | { |
@@ -47,7 +49,9 @@ namespace WixToolset.Mba.Core | |||
47 | this.hwndSplashScreen, | 49 | this.hwndSplashScreen, |
48 | this.relation, | 50 | this.relation, |
49 | this.passthrough, | 51 | this.passthrough, |
50 | this.wzLayoutDirectory); | 52 | this.wzLayoutDirectory, |
53 | this.wzBootstrapperWorkingFolder, | ||
54 | this.wzBootstrapperApplicationDataPath); | ||
51 | } | 55 | } |
52 | } | 56 | } |
53 | 57 | ||
diff --git a/src/WixToolset.Mba.Core/IBootstrapperCommand.cs b/src/WixToolset.Mba.Core/IBootstrapperCommand.cs index 675abdf9..889db529 100644 --- a/src/WixToolset.Mba.Core/IBootstrapperCommand.cs +++ b/src/WixToolset.Mba.Core/IBootstrapperCommand.cs | |||
@@ -59,5 +59,15 @@ namespace WixToolset.Mba.Core | |||
59 | /// Gets layout directory. | 59 | /// Gets layout directory. |
60 | /// </summary> | 60 | /// </summary> |
61 | string LayoutDirectory { get; } | 61 | string LayoutDirectory { get; } |
62 | |||
63 | /// <summary> | ||
64 | /// Gets bootstrapper working folder. | ||
65 | /// </summary> | ||
66 | string BootstrapperWorkingFolder { get; } | ||
67 | |||
68 | /// <summary> | ||
69 | /// Gets path to BootstrapperApplicationData.xml. | ||
70 | /// </summary> | ||
71 | string BootstrapperApplicationDataPath { get; } | ||
62 | } | 72 | } |
63 | } | 73 | } |
diff --git a/src/balutil/balutil.vcxproj b/src/balutil/balutil.vcxproj index 134bc2f6..ce109d36 100644 --- a/src/balutil/balutil.vcxproj +++ b/src/balutil/balutil.vcxproj | |||
@@ -2,7 +2,7 @@ | |||
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"> | 4 | <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
5 | <Import Project="..\..\packages\WixToolset.BootstrapperCore.Native.4.0.12\build\WixToolset.BootstrapperCore.Native.props" Condition="Exists('..\..\packages\WixToolset.BootstrapperCore.Native.4.0.12\build\WixToolset.BootstrapperCore.Native.props')" /> | 5 | <Import Project="..\..\packages\WixToolset.BootstrapperCore.Native.4.0.13\build\WixToolset.BootstrapperCore.Native.props" Condition="Exists('..\..\packages\WixToolset.BootstrapperCore.Native.4.0.13\build\WixToolset.BootstrapperCore.Native.props')" /> |
6 | <Import Project="..\..\packages\WixToolset.DUtil.4.0.18\build\WixToolset.DUtil.props" Condition="Exists('..\..\packages\WixToolset.DUtil.4.0.18\build\WixToolset.DUtil.props')" /> | 6 | <Import Project="..\..\packages\WixToolset.DUtil.4.0.18\build\WixToolset.DUtil.props" Condition="Exists('..\..\packages\WixToolset.DUtil.4.0.18\build\WixToolset.DUtil.props')" /> |
7 | 7 | ||
8 | <ItemGroup Label="ProjectConfigurations"> | 8 | <ItemGroup Label="ProjectConfigurations"> |
@@ -90,7 +90,7 @@ | |||
90 | <PropertyGroup> | 90 | <PropertyGroup> |
91 | <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> | 91 | <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> |
92 | </PropertyGroup> | 92 | </PropertyGroup> |
93 | <Error Condition="!Exists('..\..\packages\WixToolset.BootstrapperCore.Native.4.0.12\build\WixToolset.BootstrapperCore.Native.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.BootstrapperCore.Native.4.0.12\build\WixToolset.BootstrapperCore.Native.props'))" /> | 93 | <Error Condition="!Exists('..\..\packages\WixToolset.BootstrapperCore.Native.4.0.13\build\WixToolset.BootstrapperCore.Native.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.BootstrapperCore.Native.4.0.13\build\WixToolset.BootstrapperCore.Native.props'))" /> |
94 | <Error Condition="!Exists('..\..\packages\WixToolset.DUtil.4.0.18\build\WixToolset.DUtil.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.DUtil.4.0.18\build\WixToolset.DUtil.props'))" /> | 94 | <Error Condition="!Exists('..\..\packages\WixToolset.DUtil.4.0.18\build\WixToolset.DUtil.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.DUtil.4.0.18\build\WixToolset.DUtil.props'))" /> |
95 | <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'))" /> | 95 | <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'))" /> |
96 | </Target> | 96 | </Target> |
diff --git a/src/balutil/packages.config b/src/balutil/packages.config index 01a9390c..75a6476b 100644 --- a/src/balutil/packages.config +++ b/src/balutil/packages.config | |||
@@ -1,6 +1,6 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <packages> | 2 | <packages> |
3 | <package id="Nerdbank.GitVersioning" version="2.1.65" targetFramework="native" developmentDependency="true" /> | 3 | <package id="Nerdbank.GitVersioning" version="2.1.65" targetFramework="native" developmentDependency="true" /> |
4 | <package id="WixToolset.BootstrapperCore.Native" version="4.0.12" targetFramework="native" /> | 4 | <package id="WixToolset.BootstrapperCore.Native" version="4.0.13" targetFramework="native" /> |
5 | <package id="WixToolset.DUtil" version="4.0.18" targetFramework="native" /> | 5 | <package id="WixToolset.DUtil" version="4.0.18" targetFramework="native" /> |
6 | </packages> \ No newline at end of file | 6 | </packages> \ No newline at end of file |
diff --git a/src/balutil/precomp.h b/src/balutil/precomp.h index 89607416..c500060a 100644 --- a/src/balutil/precomp.h +++ b/src/balutil/precomp.h | |||
@@ -16,8 +16,9 @@ | |||
16 | #include <thmutil.h> | 16 | #include <thmutil.h> |
17 | #include <xmlutil.h> | 17 | #include <xmlutil.h> |
18 | 18 | ||
19 | #include "BootstrapperEngine.h" | 19 | #include <BootstrapperEngine.h> |
20 | #include "BootstrapperApplication.h" | 20 | #include <BootstrapperApplication.h> |
21 | |||
21 | #include "IBootstrapperEngine.h" | 22 | #include "IBootstrapperEngine.h" |
22 | #include "IBootstrapperApplication.h" | 23 | #include "IBootstrapperApplication.h" |
23 | 24 | ||
diff --git a/src/mbanative/mbanative.vcxproj b/src/mbanative/mbanative.vcxproj index 4a9b91f6..605cc535 100644 --- a/src/mbanative/mbanative.vcxproj +++ b/src/mbanative/mbanative.vcxproj | |||
@@ -2,7 +2,7 @@ | |||
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"> | 4 | <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
5 | <Import Project="..\..\packages\WixToolset.BootstrapperCore.Native.4.0.12\build\WixToolset.BootstrapperCore.Native.props" Condition="Exists('..\..\packages\WixToolset.BootstrapperCore.Native.4.0.12\build\WixToolset.BootstrapperCore.Native.props')" /> | 5 | <Import Project="..\..\packages\WixToolset.BootstrapperCore.Native.4.0.13\build\WixToolset.BootstrapperCore.Native.props" Condition="Exists('..\..\packages\WixToolset.BootstrapperCore.Native.4.0.13\build\WixToolset.BootstrapperCore.Native.props')" /> |
6 | <Import Project="..\..\packages\WixToolset.DUtil.4.0.18\build\WixToolset.DUtil.props" Condition="Exists('..\..\packages\WixToolset.DUtil.4.0.18\build\WixToolset.DUtil.props')" /> | 6 | <Import Project="..\..\packages\WixToolset.DUtil.4.0.18\build\WixToolset.DUtil.props" Condition="Exists('..\..\packages\WixToolset.DUtil.4.0.18\build\WixToolset.DUtil.props')" /> |
7 | 7 | ||
8 | <ItemGroup Label="ProjectConfigurations"> | 8 | <ItemGroup Label="ProjectConfigurations"> |
@@ -69,7 +69,7 @@ | |||
69 | <PropertyGroup> | 69 | <PropertyGroup> |
70 | <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> | 70 | <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> |
71 | </PropertyGroup> | 71 | </PropertyGroup> |
72 | <Error Condition="!Exists('..\..\packages\WixToolset.BootstrapperCore.Native.4.0.12\build\WixToolset.BootstrapperCore.Native.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.BootstrapperCore.Native.4.0.12\build\WixToolset.BootstrapperCore.Native.props'))" /> | 72 | <Error Condition="!Exists('..\..\packages\WixToolset.BootstrapperCore.Native.4.0.13\build\WixToolset.BootstrapperCore.Native.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.BootstrapperCore.Native.4.0.13\build\WixToolset.BootstrapperCore.Native.props'))" /> |
73 | <Error Condition="!Exists('..\..\packages\WixToolset.DUtil.4.0.18\build\WixToolset.DUtil.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.DUtil.4.0.18\build\WixToolset.DUtil.props'))" /> | 73 | <Error Condition="!Exists('..\..\packages\WixToolset.DUtil.4.0.18\build\WixToolset.DUtil.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\WixToolset.DUtil.4.0.18\build\WixToolset.DUtil.props'))" /> |
74 | <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'))" /> | 74 | <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'))" /> |
75 | </Target> | 75 | </Target> |
diff --git a/src/mbanative/packages.config b/src/mbanative/packages.config index 01a9390c..75a6476b 100644 --- a/src/mbanative/packages.config +++ b/src/mbanative/packages.config | |||
@@ -1,6 +1,6 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <packages> | 2 | <packages> |
3 | <package id="Nerdbank.GitVersioning" version="2.1.65" targetFramework="native" developmentDependency="true" /> | 3 | <package id="Nerdbank.GitVersioning" version="2.1.65" targetFramework="native" developmentDependency="true" /> |
4 | <package id="WixToolset.BootstrapperCore.Native" version="4.0.12" targetFramework="native" /> | 4 | <package id="WixToolset.BootstrapperCore.Native" version="4.0.13" targetFramework="native" /> |
5 | <package id="WixToolset.DUtil" version="4.0.18" targetFramework="native" /> | 5 | <package id="WixToolset.DUtil" version="4.0.18" targetFramework="native" /> |
6 | </packages> \ No newline at end of file | 6 | </packages> \ No newline at end of file |
diff --git a/src/mbanative/precomp.h b/src/mbanative/precomp.h index 54d8cb08..d19b4695 100644 --- a/src/mbanative/precomp.h +++ b/src/mbanative/precomp.h | |||
@@ -7,9 +7,9 @@ | |||
7 | 7 | ||
8 | #include <dutil.h> | 8 | #include <dutil.h> |
9 | 9 | ||
10 | #include "BootstrapperEngine.h" | 10 | #include <BootstrapperEngine.h> |
11 | #include "BootstrapperApplication.h" | 11 | #include <BootstrapperApplication.h> |
12 | #include "IBootstrapperEngine.h" | ||
13 | #include "IBootstrapperApplication.h" | ||
14 | 12 | ||
15 | #include "balutil.h" | 13 | #include <IBootstrapperEngine.h> |
14 | #include <IBootstrapperApplication.h> | ||
15 | #include <balutil.h> | ||