Burn doesn't resolve environment variables today.  A verbose log file should
show you the condition being evaluated to true or false.

On Tue, Oct 11, 2011 at 11:57 AM, Sheehan, Andrew <
andrew.shee...@childrens.harvard.edu> wrote:

> Hi All,
>
> I've tried so many ways to get this to work but have come up empty-handed.
>
> Apparently I don't understand how the InstallCondition attribute works.  I
> am thinking that it will evaluate to either true or false, based on its
> expression; but, I haven't wrote it correctly.
>
> I have:
>
> <Bundle>
>    ....
>    <Chain>
>      <MsiPackage Id="MsiPackage1" SourceFile="c:\targets\target.msi"
>  InstallCondition="%USERDOMAIN ~= 'DOMAIN A'"    Vital="yes">
>        <MsiProperty Name="type" Value="1"/>
>      </MsiPackage>
>        ...
> ....
>
> %USERPROFILE is an environmental property that I need evaluated at
> installation time, not compile time.
>
> I've tried using <?define?>, too.
>
> <?define targetDomain = $(env.USERDOMAIN)?>
>
> Looking for help or pointers on what I'm doing wrong.
>
> Thanks,
>
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2d-oct
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>


-- 
virtually, Rob Mensching - http://RobMensching.com LLC
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to