wix3.8 - RegistrySearch in WiX is not returning true for a value that is in the registry -


i have following commands in wix bundle:

    <variable name="instancename" value= "sqlexpress" />      <util:registrysearch id="sqlinstancekeyfound" root="hklm"         key="software\microsoft\microsoft sql server\instance names\sql"         value ="[instancename]" result="exists" variable="sqlinstancekeyfound" /> 

i can see sql server express instance in regedit on machine, log file reporting me:

registry key not found. key = 'software\microsoft\microsoft sql server\instance names\sql' setting numeric variable 'sqlinstancekeyfound' value 0 condition 'sqlinstancekeyfound' evaluates false. 

why not returning true when can see value in regedit? add little more information, supposed check sql express 2014 instance.

<util:registrysearch> defaults searching 32-bit registry. search 64-bit registry, set win64="yes".


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -