I tried setting a condition:
/Bundle Name=My Software
Condition=VersionNT = 500
.../
But it always evaluates as false.
/Condition 'VersionNT = 500' evaluates to false.
Bundle global condition check didn't succeed - aborting without loading
application./
A Windows 7 machine
is an
integer. For example, to use this variable in a Bundle condition try:
VersionNT v6.1
-Original Message-
From: Nick Ramirez [mailto:nickra...@hotmail.com]
Sent: Wednesday, September 26, 2012 9:51 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Burn conditions
I tried
Based on Neil Sleightholm's blog,
http://neilsleightholm.blogspot.com/2012/05/wix-burn-tipstricks.html, it
seems that the VersionNT is a value like v6.1. Strange that it's not the
same format as the Windows Installer property, but now the condition
evaluates as expected.
/Condition=VersionNT =
Thanks Jacob. Looks like I did gloss over that part in the documentation.
Interesting that the VersionNT value was changed though.
--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-conditions-tp7580784p7580875.html
Sent from the wix-users
Burn has native support for versions. It works immensely better than the
MSI string based versions. That's why we chose to use it. It works so much
better. The doc explicitly calls out the differences.
On Wed, Sep 26, 2012 at 8:24 PM, Nick Ramirez nickra...@hotmail.com wrote:
Thanks Jacob.
I noticed that there's Bundle/@Condition and there's also
bal:Condition Message=some message
/bal:Condition
Is the element Condition preferred over the attribute since it can have a
descriptive message? Also, are the only properties we can use here the ones
that are available at this early
The Bundle/@Condition is intended to be used when the Bundle cannot run at
all. You'll get the This operating system is not supported error message
or something similar. The BA really should put up it's own message.
wixstdba supports the bal:Condition.
On Mon, Sep 24, 2012 at 11:21 AM, Nick
7 matches
Mail list logo