I would use bal:Condition instead of Bundle/@Condition.  The bal:Condition 
allows you to specify a message, the Bundle/@Condition feels like it is more 
designed for when your BA requires something for it to run.

Ex:

<bal:Condition Message="Insufficent memory, this install requires a minimum of 
2GB ram.">[PhysicalMemory] > 2048</bal:Condition>

Note, PhysicalMemory is not a burn built in variable, so you would have to 
define it yourself. Also, the Message attribute is localizable.

EvaluateConditions is called by OnDetectComplete if you are using WixStdBA. I 
believe you can use all the applicable *Search elements to dig for data or you 
could roll your own BA or extension which would add these additional variables 
to burn.

-----Original Message-----
From: Rob Mensching [mailto:r...@robmensching.com] 
Sent: Wednesday, April 03, 2013 11:10 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] System Properties?

The first list I sent is for Bundles, the second list is for MSIs.


On Wed, Apr 3, 2013 at 9:01 AM, James Allen <jal...@bidpalnetwork.com>wrote:

> This will compile however the resultant .exe will not run, what am I 
> doing wrong?
>
> <Bundle Name="AppName" Version="1.0.0.0" Manufacturer="AppCompany"
> UpgradeCode="3601032C-27E7-A8C9-4323-88E01967A9C2145E"
> Condition="((VersionNT >= v5.1) AND (ServicePackLevel< 
> http://msdn.microsoft.com/en-us/library/windows/desktop/aa371639(v=vs.
> 85).aspx>
> >=2) AND (PhysicalMemory > 2048) AND (OutOfDiskSpace = 'FALSE'))" >
>
> James Allen
>
>
>
> ----------------------------------------------------------------------
> -------- Minimize network downtime and maximize team effectiveness.
> Reduce network management and security costs.Learn how to hire the 
> most talented Cisco Certified professionals. Visit the Employer 
> Resources Portal 
> http://www.cisco.com/web/learning/employer_resources/index.html
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire the most 
talented Cisco Certified professionals. Visit the Employer Resources Portal 
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to