// 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. namespace WixToolset.Mba.Core { using System; /// /// Command information passed from the engine for the BA to perform. /// public interface IBootstrapperCommand { /// /// Gets the action for the BA to perform. /// LaunchAction Action { get; } /// /// Gets the display level for the BA. /// Display Display { get; } /// /// Gets the command line arguments. /// /// /// Command line arguments not handled by the engine. /// string CommandLine { get; } /// /// Hint for the initial visibility of the window. /// int CmdShow { get; } /// /// Gets the method of how the engine was resumed from a previous installation step. /// ResumeType Resume { get; } /// /// Gets the handle to the splash screen window. If no splash screen was displayed this value will be IntPtr.Zero. /// IntPtr SplashScreen { get; } /// /// If this was run from a related bundle, specifies the relation type. /// RelationType Relation { get; } /// /// If this was run from a backward compatible bundle. /// bool Passthrough { get; } /// /// Gets layout directory. /// string LayoutDirectory { get; } /// /// Gets bootstrapper working folder. /// string BootstrapperWorkingFolder { get; } /// /// Gets path to BootstrapperApplicationData.xml. /// string BootstrapperApplicationDataPath { get; } /// /// Parses the command line arguments into an . /// /// /// The parsed information. /// /// The command line could not be parsed. IMbaCommand ParseCommandLine(); } }