|
From: froggie <fro...@to...> - 2014-06-16 09:32:47
|
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"/>
|