[wix-users] Custom Bootstrapper Application, command line usage - possible?
Hoover, Jacob
Jacob.Hoover at greenheck.com
Mon Jan 8 13:51:01 PST 2018
Your BA has to handle it...
BootstrapperApplication. Command.Display == Display.Passive ||
BootstrapperApplication.Command.Display == Display.Full
You can see how the Wix BA does this inside of WixBA.cs, in the Run method.
I'm not certain, but you may also need to implement the parsing of args to handle setting variables as well (since WixStdBA has code in it to do so).
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Edwin Castro via wix-users
Sent: Monday, January 8, 2018 3:44 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Edwin Castro <egcastr at gmail.com>
Subject: Re: [wix-users] Custom Bootstrapper Application, command line usage - possible?
What do you mean by "We could run it when using the standard BA"?
I use the standard BA as well and when I run it from the command line the GUI just pops up and the command line returns as expected for a Windows application. If I want to wait until the bootstrapper completes I need to execute it using start /wait.
--
Edwin G. Castro
On Mon, Jan 8, 2018 at 1:39 PM, Jon Earle via wix-users < wix-users at lists.wixtoolset.org> wrote:
> Hey folks,
>
>
> I have concocted a custom bootstrapper application, using the WixWPF
> framework (https://github.com/tpalacino/WixWPF), which is working
> quite well. The problem I am having, is running the installer via commandline.
> We could run it when using the standard BA but, when I issue the same
> commandline now, the GUI just pops up.
>
>
> Commandline:
>
>
> Client.exe /install /quiet /l install.log ADDLOCAL="myFeature"
> INSTALLDIR="c:\client"
>
>
> Is there anything I need to implement in the bootstrapper code to
> enable commandline usage?
>
>
> Cheers!
>
> Jon
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users
mailing list