[wix-users] Bundle: How to stop evaluating a condition at Uninstall?

Phill Hogland phill.hogland at rimage.com
Thu Oct 8 06:17:00 PDT 2015


I have not used bal:Condition for some time, since I have a mba, but I think you want to add AND NOT REMOVE to your CDATA statement.
http://www.symantec.com/connect/blogs/conditions-custom-actions-used-msi


-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Farrukh Waheed
Sent: Thursday, October 08, 2015 8:03 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Subject: [wix-users] Bundle: How to stop evaluating a condition at Uninstall?

Hello mates,
I have a situation where in my Bundle, a condition evaluating at install time, Must Not Be  evaluated at uninstall time.

Scenario is, a pre-requisite application is uninstalled before removing my Bundle. Now when my Bundle would be uninstalled, it will try to evaluate bal:Condition to check that pre-req application, and would go false and refused to uninstal.

I feel, I'm just missing something here... Here is my Condition xml
    <bal:Condition Message="[WixBundleName] requires the PreReq. "  >
      <![CDATA[Installed AND ((PreReq_161_Maj_Ver = 16) AND (PreReq_161_Min_Ver >= 1))]]>
    </bal:Condition>


Thanks a bunch.
Farrukh

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/


More information about the wix-users mailing list