From edccb203c421d2bd820062024088c6698424d9ee Mon Sep 17 00:00:00 2001 From: Bob Arnson Date: Wed, 4 Feb 2026 20:47:04 -0500 Subject: Support dual-purpose packages in Burn. Fixes https://github.com/wixtoolset/issues/issues/8958 --- .../WixToolset.BootstrapperApplicationApi/BootstrapperCommand.cs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/api/burn/WixToolset.BootstrapperApplicationApi/BootstrapperCommand.cs') diff --git a/src/api/burn/WixToolset.BootstrapperApplicationApi/BootstrapperCommand.cs b/src/api/burn/WixToolset.BootstrapperApplicationApi/BootstrapperCommand.cs index 612e8ce9..795a40d4 100644 --- a/src/api/burn/WixToolset.BootstrapperApplicationApi/BootstrapperCommand.cs +++ b/src/api/burn/WixToolset.BootstrapperApplicationApi/BootstrapperCommand.cs @@ -20,6 +20,7 @@ namespace WixToolset.BootstrapperApplicationApi [MarshalAs(UnmanagedType.I4)] internal int cbSize; [MarshalAs(UnmanagedType.U4)] private readonly LaunchAction action; [MarshalAs(UnmanagedType.U4)] private readonly Display display; + [MarshalAs(UnmanagedType.U4)] private readonly BundleScope scope; private readonly IntPtr wzCommandLine; [MarshalAs(UnmanagedType.I4)] private readonly int nCmdShow; [MarshalAs(UnmanagedType.U4)] private readonly ResumeType resume; @@ -39,6 +40,7 @@ namespace WixToolset.BootstrapperApplicationApi return new BootstrapperCommand( this.action, this.display, + this.scope, Marshal.PtrToStringUni(this.wzCommandLine), this.nCmdShow, this.resume, @@ -62,6 +64,7 @@ namespace WixToolset.BootstrapperApplicationApi public BootstrapperCommand( LaunchAction action, Display display, + BundleScope scope, string commandLine, int cmdShow, ResumeType resume, @@ -74,6 +77,7 @@ namespace WixToolset.BootstrapperApplicationApi { this.Action = action; this.Display = display; + this.Scope = scope; this.CommandLine = commandLine; this.CmdShow = cmdShow; this.Resume = resume; @@ -91,6 +95,9 @@ namespace WixToolset.BootstrapperApplicationApi /// public Display Display { get; } + /// + public BundleScope Scope { get; } + /// public string CommandLine { get; } -- cgit v1.2.3-55-g6feb