diff options
Diffstat (limited to 'src/test/burn/WixToolset.WixBA/WixBA.cs')
-rw-r--r-- | src/test/burn/WixToolset.WixBA/WixBA.cs | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/src/test/burn/WixToolset.WixBA/WixBA.cs b/src/test/burn/WixToolset.WixBA/WixBA.cs index 60426ca8..5b7444c4 100644 --- a/src/test/burn/WixToolset.WixBA/WixBA.cs +++ b/src/test/burn/WixToolset.WixBA/WixBA.cs | |||
@@ -18,17 +18,9 @@ namespace WixToolset.WixBA | |||
18 | /// </summary> | 18 | /// </summary> |
19 | public class WixBA : BootstrapperApplication | 19 | public class WixBA : BootstrapperApplication |
20 | { | 20 | { |
21 | public WixBA(IEngine engine, IBootstrapperCommand command) | 21 | internal IBootstrapperApplicationData BAManifest { get; private set; } |
22 | : base(engine) | ||
23 | { | ||
24 | this.Command = command; | ||
25 | |||
26 | this.BAManifest = new BootstrapperApplicationData(); | ||
27 | } | ||
28 | |||
29 | internal IBootstrapperApplicationData BAManifest { get; } | ||
30 | 22 | ||
31 | internal IBootstrapperCommand Command { get; } | 23 | internal IBootstrapperCommand Command { get; private set; } |
32 | 24 | ||
33 | internal IEngine Engine => this.engine; | 25 | internal IEngine Engine => this.engine; |
34 | 26 | ||
@@ -189,6 +181,13 @@ namespace WixToolset.WixBA | |||
189 | this.Engine.Quit(exitCode); | 181 | this.Engine.Quit(exitCode); |
190 | } | 182 | } |
191 | 183 | ||
184 | protected override void OnCreate(CreateEventArgs args) | ||
185 | { | ||
186 | base.OnCreate(args); | ||
187 | this.Command = args.Command; | ||
188 | this.BAManifest = new BootstrapperApplicationData(); | ||
189 | } | ||
190 | |||
192 | private void PostTelemetry() | 191 | private void PostTelemetry() |
193 | { | 192 | { |
194 | string result = String.Concat("0x", WixBA.Model.Result.ToString("x")); | 193 | string result = String.Concat("0x", WixBA.Model.Result.ToString("x")); |