[wix-users] WIX Condition that should be firing but is not

harald goci harald.goci at panagenda.com
Thu Mar 22 01:40:10 PDT 2018

Just guessing ...
If the right side of the "AND" is correct, then the left side might not
I checked some installation logs of mine and could not find a property
If REMOVE="" is not the same as [REMOVE not existing] then the Condition
would be false.

How about some tests?

Harald Goci
Senior Software Engineer

Email: harald.goci at panagenda.com - Web: www.panagenda.com
Phone: +43 1 890 12 89-44 - Fax: +43 1 890 12 89-15

(Embedded image moved to file: pic15350.jpg)

panagenda GmbH - Schreyvogelgasse 3/10 - 1010 Vienna - Austria
Registered Office: Vienna - HG Wien - FN 293516t - VAT-ID: ATU63362738
Executive Directors: Florian Vogler (CEO & CTO), Felix Vogler (CFO & COO)

(Embedded image moved to file: pic15006.jpg)

The information in this E-Mail is confidential and privileged. It is
intended solely for the addressee. Access to this E-Mail by anyone else is
unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken in reliance on it is prohibited
and will be unlawful. If you receive this message in error, please notify
the sender immediately and delete all copies of this message.

From:	Anthony LaMark via wix-users <wix-users at lists.wixtoolset.org>
To:	<wix-users at lists.wixtoolset.org>
Cc:	Anthony LaMark <anthony at squadratechnologies.com>
Date:	22.03.2018 05:12
Subject:	[wix-users] WIX Condition that should be firing but is not
Sent by:	"wix-users" <wix-users-bounces at lists.wixtoolset.org>


I have this WIX XML snippet of code that on a W7 SP1 x64 system is not
matched by either <Condition>.

The system is a W7 SP1 system (i.e. a VersionNT value of 601).

So the first condition should fire but I saw that the dll did not get

Unfortunately, this is at a customer site and I did not get an opportunity
to capture a msiexec log.

I am posting in case I am overlooking something obvious (something I
regularly do! ☹ ).

Thanks in advance!

            <Component Id='MMCSnapInDotNet35' Guid='xx'>


                <![CDATA[REMOVE="" AND ((NOT


              <File Id='MMCSnapInDotNet35.dll' Name='MMCSnapIn.dll'

(var.BuildMode)\MMCSnapIn.dll' KeyPath='yes'>



            <Component Id='MMMCSnapInDotNet40' Guid='yy'>


                <![CDATA[REMOVE="" AND


              <File Id='MMCSnapInDotNet40.dll' Name='MMCSnapIn.dll'

(var.BuildMode)\MMCSnapIn.dll' KeyPath='yes'>



Anthony LaMark

squadra technologies

http://www.squadratechnologies.com <http://www.squadratechnologies.com/>


WiX Toolset Users Mailing List provided by FireGiant

More information about the wix-users mailing list