Verify the order between the AppSearch and the LaunchConditions actions in
the sequence table. You may have to explicitly set one before or after the
other.

-----Original Message-----
From: Sean Farrow [mailto:sean.far...@seanfarrow.co.uk] 
Sent: Sunday, October 03, 2010 10:10 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Issues when evaluating a condition

Hi:
I'm trying to write a launch condition for my installer.
I have the following fragment:
<!--is JAWS installed at all-->
  <Fragment>
    <Property Id="ISJAWSINSTALLED" Value ="JAWSNotInstalled">
      <RegistrySearch Id="JAWSInstallRootSearch" Type="raw" Root="HKLM"
Key="Software\Freedom Scientific\JAWS"/>
    </Property>
  </Fragment>
When the registry search takes place, it should set the value of the
property to ""
I hthen have the following condition:
<Condition Message="This application requires JAWS to be installed.">
      <![CDATA[Installed OR ISJAWSINSTALLED ="JAWSNotInstalled"]]>
    </Condition>
The condition is still evaluated to true, even after the registry search has
happened, I know the product is installed, having checked using regedit.
Anyone got any ideas?
Cheers
Sean.
----------------------------------------------------------------------------
--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to