Hi WiX gurus,
  I'm using the "supposed" standard way of detecting multiple SQLServer
instances...

<Property Id="SQLSERVER">
    <RegistrySearch Id="SQLServer" Root="HKLM"
Key="SOFTWARE\Microsoft\Microsoft SQL Server" Type="raw"
Name="InstalledInstances"/>
  </Property>

  <Condition Message="This application requires Microsoft SQL Server.
Please install Microsoft SQL Server then run this installer again.">
    <![CDATA[Installed OR (SQLSERVER><MSSQLSERVER)]]>
  </Condition>

But the Condition...
<![CDATA[Installed OR (SQLSERVER><MSSQLSERVER)]]>

Does not evaluate correctly. 

For instance if the Property SQLSERVER only contains "[~]SQLEXPRESS[~]"
( according to the log )
It still allows the installation to proceed when it should not, so I'm
not convinced that using the >< is the correct way to check if 1 value
exists within a REG_MULTI_SZ variable.

Can anyone enlighten me as to what I may be doing wrong.

Also where can I find the correct documentation/list to find out what
are the correct conditional operatives I can use within a Condition
statement in WiX, preferably with examples. I Googled various sites, but
nothing definitive or helpful.


Thanks.


Dominique.
AMX

AMX UK
Auster Road
Clifton Moor
York, North Yorkshire
United Kingdom
YO30 4GD

+44 (0) 1904 343100     office
+44 (0) 1904 343101     fax

AMX South
6th Floor Salisbury House
London Wall
London
United Kingdom
EC2M 5QQ

+44 (0) 2076 529450     office
+44 (0) 8701 991661     fax

AMX Belgium
Boerenkrijglaan, 96a
B-2260
Westerlo
Belgium


+ 32 (0) 1454 2763      office
+ 32 (0) 1454 2766      fax

######################################################################
Attention: 
This e-mail message is privileged and confidential. If you are not the 
intended recipient please delete the message and notify the sender. 
Any views or opinions presented are solely those of the author.

This email was scanned and cleared by NetIQ MailMarshal.
######################################################################

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to