I'm having some problems with getting a condition I've defined to work
properly. I have the following condition defined and I'm trying to have the
installer search the GAC for the existence of the assembly. If the assembly
isn't present I don't want to proceed with the installation, because it's a
pre-requisite that it must already exist.

<Property Id="CSLA">
    <DirectorySearch Id="GACPath" Path="%systemroot%\assembly\" Depth="0"
AssignToProperty="no">
      <FileSearch Id="CslaFileSearch" Name="Csla.dll" />
    </DirectorySearch>
</Property>
<Condition Message="CSLA 3.6.2 must be installed before you can continue
with the installation.">Installed OR CSLA</Condition>

Can anyone see what the problem might be? Each time I start the installer,
it comes up saying that CSLA must be installed, even on a machine that does
have it installed under C:\Windows\assembly\GAC_MSIL\Csla\...
------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and publish 
your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to