In article <000001c9fa0f$da2a52b0$8e7ef8...@com>,
    "Sebastian Brand \(Instyler Software\)" <wix+us...@instyler.com>  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 (Installed OR (POWERSHELL >= "1.0"))

Note that POWERSHELL >= "1.0" doesn't really do version comparisons, its
a string compare.  This can fail in weird ways if you're not careful.
-- 
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
      <http://www.xmission.com/~legalize/book/download/index.html>

      Legalize Adulthood! <http://legalizeadulthood.wordpress.com>

------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to