[WiX-users] WiX Burn Command Line Options

2015-03-02 Thread Marco Tognacci
I have a Burn setup package, using a custom WPF interface.I need to pass some 
arguments using command line:
For example I want to set to 10 the value for the variable option and run the 
setup in silent mode.The /s option is processed by Burn system, but not the 
variable, I need to parse the command line by myself inside the Burn 
application.Is there a way for precessing it by the Burn Engine? Is there a 
best practice for doing this?
myinstaller.exe /S option=10
I want even report in the help page all the command lines arguments supported 
for my Setup application.Is there a list or a translated document or string to 
describe the base command line arguments that are processed by the Burn Engine?
Thanks
  
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WiX Burn Command Line Options

2015-03-02 Thread Phill Hogland
This thread
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Running-Burn-driven-installer-in-quiet-mode-command-line-parameters-td5913001.html#a5913628
 
details the switches (without digging in the source).  Your mba can use the
Command object (Command.Display) to determine if Burn detected -quiet mode. 
I added methods to my mba to parse the command line for my custom switches
and create localized help strings to display when Command.Action ==
LaunchAction.Help.




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WiX-Burn-Command-Line-Options-tp7599420p7599424.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WiX Burn Command Line Options

2015-03-02 Thread Marco Tognacci
Is there a built in way for passing the value of a Burn Variable as command 
line options in managed custom Burn setup?Or I need to parse manualli the 
command lines args and then read the properties and the write them manually?
Thanks.


 Date: Mon, 2 Mar 2015 15:44:49 -0700
 From: phogl...@rimage.com
 To: wix-users@lists.sourceforge.net
 Subject: Re: [WiX-users] WiX Burn Command Line Options
 
 This thread
 http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Running-Burn-driven-installer-in-quiet-mode-command-line-parameters-td5913001.html#a5913628
  
 details the switches (without digging in the source).  Your mba can use the
 Command object (Command.Display) to determine if Burn detected -quiet mode. 
 I added methods to my mba to parse the command line for my custom switches
 and create localized help strings to display when Command.Action ==
 LaunchAction.Help.
 
 
 
 
 --
 View this message in context: 
 http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WiX-Burn-Command-Line-Options-tp7599420p7599424.html
 Sent from the wix-users mailing list archive at Nabble.com.
 
 --
 Dive into the World of Parallel Programming The Go Parallel Website, sponsored
 by Intel and developed in partnership with Slashdot Media, is your hub for all
 things parallel software development, from weekly thought leadership blogs to
 news, videos, case studies, tutorials and more. Take a look and join the 
 conversation now. http://goparallel.sourceforge.net/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
  
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WiX Burn Command Line Options

2015-03-02 Thread Rob Mensching
They are there. Off the top of my head, /h maps to InstallAction.Help and 
/s maps to Display.Quiet. You can ignore the standard and make them mean 
whatever you want them to mean... although that's awfully weird and not at all 
recommended.

_
 Short replies here. Complete answers over there: http://www.firegiant.com/

-Original Message-
From: Marco Tognacci [mailto:mark...@live.it] 
Sent: Monday, March 2, 2015 3:53 PM
To: WiX - users
Subject: Re: [WiX-users] WiX Burn Command Line Options

But the commands like /h or /s don't arrive in the Command parse function 
available in the BurnApplication as they are processed from the Base class and 
update the State of the application, for the variables defined in the Burn 
Bundle there is not a way or a special syntax for let the base class processing 
and updating the variables without the need for parsing the command lines 
(using the function of the Command object) For the variables the only way is to 
use the Command objects functions to parse each variable and set them, could 
you add a way for doing this by the Engine and Base class in the next version? 
(perhaps adding a parameter in the Burn Bundle variable)?

Thanks

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WiX Burn Command Line Options

2015-03-02 Thread Sean Hall
They aren't exactly there, Burn strips off the parts of the command line
that it recognizes so the Command doesn't have /s it has Display.None
which has other aliases.

Marco, are you asking for the ability to get /h or /s?   Or are you using
those as examples of Burn automatically handling command line parameters?
If they're just examples and you want builtin support for the managed
BootstrapperApplication class to automatically parse the variables from the
command line and set them, then file a feature request at
http://wixtoolset.org/issues.

On Mon, Mar 2, 2015 at 6:08 PM, Rob Mensching r...@firegiant.com wrote:

 They are there. Off the top of my head, /h maps to InstallAction.Help
 and /s maps to Display.Quiet. You can ignore the standard and make them
 mean whatever you want them to mean... although that's awfully weird and
 not at all recommended.

 _
  Short replies here. Complete answers over there:
 http://www.firegiant.com/

 -Original Message-
 From: Marco Tognacci [mailto:mark...@live.it]
 Sent: Monday, March 2, 2015 3:53 PM
 To: WiX - users
 Subject: Re: [WiX-users] WiX Burn Command Line Options

 But the commands like /h or /s don't arrive in the Command parse function
 available in the BurnApplication as they are processed from the Base class
 and update the State of the application, for the variables defined in the
 Burn Bundle there is not a way or a special syntax for let the base class
 processing and updating the variables without the need for parsing the
 command lines (using the function of the Command object) For the variables
 the only way is to use the Command objects functions to parse each variable
 and set them, could you add a way for doing this by the Engine and Base
 class in the next version? (perhaps adding a parameter in the Burn Bundle
 variable)?

 Thanks


 --
 Dive into the World of Parallel Programming The Go Parallel Website,
 sponsored
 by Intel and developed in partnership with Slashdot Media, is your hub for
 all
 things parallel software development, from weekly thought leadership blogs
 to
 news, videos, case studies, tutorials and more. Take a look and join the
 conversation now. http://goparallel.sourceforge.net/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WiX Burn Command Line Options

2015-03-02 Thread Rob Mensching
The Command object is all parsed for you, ready to go. Just use it.

_
 Short replies here. Complete answers over there: http://www.firegiant.com/


-Original Message-
From: Marco Tognacci [mailto:mark...@live.it] 
Sent: Monday, March 2, 2015 3:09 PM
To: WiX - users
Subject: Re: [WiX-users] WiX Burn Command Line Options

Is there a built in way for passing the value of a Burn Variable as command 
line options in managed custom Burn setup?Or I need to parse manualli the 
command lines args and then read the properties and the write them manually?
Thanks.

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WiX Burn Command Line Options

2015-03-02 Thread Marco Tognacci
But the commands like /h or /s don't arrive in the Command parse function 
available in the BurnApplication as they are processed from the Base class and 
update the State of the application, for the variables defined in the Burn 
Bundle there is not a way or a special syntax for let the base class processing 
and updating the variables without the need for parsing the command lines 
(using the function of the Command object)
For the variables the only way is to use the Command objects functions to parse 
each variable and set them, could you add a way for doing this by the Engine 
and Base class in the next version? (perhaps adding a parameter in the Burn 
Bundle variable)?

Thanks

 From: r...@firegiant.com
 To: wix-users@lists.sourceforge.net
 Date: Mon, 2 Mar 2015 23:37:18 +
 Subject: Re: [WiX-users] WiX Burn Command Line Options
 
 The Command object is all parsed for you, ready to go. Just use it.
 
 _
  Short replies here. Complete answers over there: http://www.firegiant.com/
 
 
 -Original Message-
 From: Marco Tognacci [mailto:mark...@live.it] 
 Sent: Monday, March 2, 2015 3:09 PM
 To: WiX - users
 Subject: Re: [WiX-users] WiX Burn Command Line Options
 
 Is there a built in way for passing the value of a Burn Variable as command 
 line options in managed custom Burn setup?Or I need to parse manualli the 
 command lines args and then read the properties and the write them manually?
 Thanks.
 
 --
 Dive into the World of Parallel Programming The Go Parallel Website, sponsored
 by Intel and developed in partnership with Slashdot Media, is your hub for all
 things parallel software development, from weekly thought leadership blogs to
 news, videos, case studies, tutorials and more. Take a look and join the 
 conversation now. http://goparallel.sourceforge.net/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
  
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users