Archive: Reading Reg value when Reg type=REG_MULTI_SZ


Reading Reg value when Reg type=REG_MULTI_SZ
Hi, I'm trying to read the registry value using ReadRegStr but no data is returned. I'm successfully reading other registry values but not this one. It seams that ReadRegStr will not read the registry value if its type is REG_MULTI_SZ.

Here is the code that I'm using to read that particular registry value:

ReadRegStr $instances HKLM "SOFTWARE\Microsoft\Microsoft SQL Server" "InstalledInstances"

I olso tried ReadRegDWORD but no success.

Can anyone help please. Thanks


See How to Read REG_MULTI_SZ Values.