You have a boolean operator right in that very example...   I'm just winging
this, but try:
<Condition Message="Required prerequisite (PowerShell 1.0) is not found.">

<![CDATA[Installed OR ((POWERSHELL >= "1.0") And (MYFLAG))]]>

</Condition>

On Wed, Jul 1, 2009 at 12:21 AM, sandun css <sandun...@gmail.com> wrote:

> Hi,
>
> I have some conditions in my msi, like the following,
>
>
> <Condition Message="Required prerequisite (PowerShell 1.0) is not found.">
>
> <![CDATA[Installed OR (POWERSHELL >= "1.0")]]>
>
> </Condition>
>
> 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
>
> ------------------------------------------------------------------------------
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to