[wix-users] Burn Bootstrapper Console Output

Sean Hall r.sean.hall at gmail.com
Thu Dec 21 09:09:59 PST 2017


I would ignore the quiet flag with the Help LaunchAction since there is no
reason to non-interactively use the Help action.

On Thu, Dec 21, 2017 at 10:20 AM, Artur Ampilogov via wix-users <
wix-users at lists.wixtoolset.org> wrote:

> Hi,
> I want to show help page when the bundle runs with `/?` or `-?` argument.
> Burn passes LaunchAction.Help to the LaunchAction property, which is great.
> The problem is to write the message to the console when a user runs the
> setup.exe in the silent mode, e.g. `setup.exe -q’. Silent mode actually
> runs out immediately, i.e. returns console command and runs setup in the
> background process. It’s possible to run ‘start /wait setup.exe -q` without
> immediate return.
> Two answers are mentioned about these feature:
> http://lists.wixtoolset.org/pipermail/wix-users-
> wixtoolset.org/2015-November/000861.html
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.
> com/Burn-Console-Output-td7585792.html
> At the same time it is possible to attach .NET managed app to the parent
> console window via AttachConsole(-1).
> Example: https://stackoverflow.com/questions/807998/how-do-i-
> create-a-c-sharp-app-that-decides-itself-whether-to-show-as-a-console-o
> Burn setup.exe is a special project and I cannot attach to the window or
> path the handle of the new console back to burn, then write to it.
> Is there any other convenient way to show the users in quite mode possible
> arguments, maybe even log output to stdout?
> Thanks,
> Artur
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/

More information about the wix-users mailing list