Hi!
I'm trying to do a string compare in a DetectCondition. According to the 
log the syntax is wrong.
But what is the correct syntax?

What I want: Check wether a registry value is exact a given value (string).

Log-message:
Error 0. Failed to parse condition GOTO_ASSISTEXISTS = My Company name. 
Unexpected symbol at position (null)

My code:

<?define GoToAssistExpertName = "My Company name" ?>

  <util:RegistrySearch
       Id="Goto_AssistExists"
       Variable="GOTO_ASSISTEXISTS"
       Root="HKLM"
       Key="Software\Citrix\GoToAssist Express Customer\User"
       Value="ExpertName"
       Format="raw"
       Result="value" />

       <ExePackage Id="Goto_Assist"
                   DisplayName="Remote help"
SourceFile="..\..\..\data\g2a_rs_installer_my_company_name.exe"
                   DetectCondition="GOTO_ASSISTEXISTS = 
$(var.GoToAssistExpertName)"
                   Compressed="yes"/>

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to