Re: [WiX-users] Boolean paramaters

2009-07-03 Thread John Ludlow
Well, under MSI evaluation logic, if you just use MYFLAG as your condition, that will evaluate to true as long as MYFLAG has any value at all. If you wanted to support MYFLAG=false on the command line and have the condition evaluate to false, then you would need to check MYFLAG against a value (in

Re: [WiX-users] Boolean paramaters

2009-07-02 Thread Richard
In article <01c9fa0f$da2a52b0$8e7ef8...@com>, "Sebastian Brand \(Instyler Software\)" writes: > All values except 0 and "" (empty string) are interpreted as TRUE. Good point. I forgot about 0. But I generally use empty string for false. > So you > may use the condition > MYFLAG AND

Re: [WiX-users] Boolean paramaters

2009-07-02 Thread Sebastian Brand (Instyler Software)
er Setup - Creating WiX-based MSI installations, elegantly. http://www.instyler.com -Original Message- From: sandun css [mailto:sandun...@gmail.com] Sent: Wednesday, July 01, 2009 6:21 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Boolean paramaters Hi, I have some conditi

Re: [WiX-users] Boolean paramaters

2009-07-01 Thread sandun css
Thanks for the replies. I was able to get it done with 'MYFLAG~="true"' approach. -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists

Re: [WiX-users] Boolean paramaters

2009-07-01 Thread Richard
Think of "boolean" properties acting the same way that properties act when you connect them to a checkbox. The property is empty if the checkbox is cleared and set to some value when the checkbox is checked. If you follow this convention with your own properties then MyProperty will evaluate to

Re: [WiX-users] Boolean paramaters

2009-07-01 Thread Wilson, Phil
lson -Original Message- From: Buddell, James [mailto:james.budd...@dkib.com] Sent: Wednesday, July 01, 2009 6:04 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Boolean paramaters >From memory so this may not be 100% - Windows Installer evaluate

Re: [WiX-users] Boolean paramaters

2009-07-01 Thread Buddell, James
ginal Message- From: Christopher Karper [mailto:christopher.kar...@gmail.com] Sent: 01 July 2009 12:25 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Boolean paramaters You have a boolean operator right in that very example... I'm just winging this,

Re: [WiX-users] Boolean paramaters

2009-07-01 Thread Christopher Karper
You have a boolean operator right in that very example... I'm just winging this, but try: On Wed, Jul 1, 2009 at 12:21 AM, sandun css wrote: > Hi, > > I have some conditions in my msi, like the following, > > > > > > > > > But I need to run these conditions only if a certain parameter

[WiX-users] Boolean paramaters

2009-06-30 Thread sandun css
Hi, I have some conditions in my msi, like the following, But I need to run these conditions only if a certain parameter is set to 'true'. (i.e. msiexec /i installer.msi MYFLAG=true) Are there boolean parameters, or do I need to treat 'true' and 'false' valuse as strings? Thanks, Sandun