aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Mba.Core
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2020-03-30 18:51:48 +1000
committerSean Hall <r.sean.hall@gmail.com>2020-03-30 21:43:47 +1000
commit83e4e5d759903e70a9bbf75d4d084bfda49e5877 (patch)
tree11704ed8308ebbc1692281e4db23efd91e39f989 /src/WixToolset.Mba.Core
parent3c9eb7218686ffe40d841e7669d8fcf670f3c32b (diff)
downloadwix-83e4e5d759903e70a9bbf75d4d084bfda49e5877.tar.gz
wix-83e4e5d759903e70a9bbf75d4d084bfda49e5877.tar.bz2
wix-83e4e5d759903e70a9bbf75d4d084bfda49e5877.zip
Upgrade to latest BootstrapperCore.
Diffstat (limited to 'src/WixToolset.Mba.Core')
-rw-r--r--src/WixToolset.Mba.Core/BootstrapperApplicationData.cs2
-rw-r--r--src/WixToolset.Mba.Core/BootstrapperCommand.cs10
-rw-r--r--src/WixToolset.Mba.Core/IBootstrapperApplicationFactory.cs6
-rw-r--r--src/WixToolset.Mba.Core/IBootstrapperCommand.cs10
4 files changed, 25 insertions, 3 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}