registry search for multistring registry values not working.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

registry search for multistring registry values not working.

ritu
This post has NOT been accepted by the mailing list yet.
<RegistryValue Id="LDAPREG_SERVER_REG1"
                    Root="HKLM"
                    Key="SOFTWARE\Nll\Login\Local\Servers"
                    Name="Server1"
                    Type="multiString">

          <MultiStringValue>[LADDRESS]</MultiStringValue>
          <MultiStringValue>[LPORT]</MultiStringValue>

          <Permission User="[USERGROUP_USERS]" Read="yes" Write="yes" CreateSubkeys="yes" EnumerateSubkeys="yes" Notify="yes" CreateLink="yes" Delete="yes" ReadPermission="yes" ChangePermission="yes" TakeOwnership="yes" />

        </RegistryValue>
 
A registry entry was created using the above code. And this entry was tried to be read using registrySearch as follows:

<Property Id="LADDRESS" Secure="yes">
 
      <RegistrySearch Id="AppSearchLDAPSERVERADDRESS" Root="HKLM"    Key="SOFTWARE\Nll\Login\Local\Servers" Name="Server1" Type="raw" Win64="$(var.IsWin64)" />
    </Property>

The LADRESS property does not read the key value since it is multi string. This seems to work only for normal strings.