ShakerWD
31st August 2005 11:03 UTC
readable size REG_EXPAND_SZ??
hi,
whats the readable size of an REG_EXPAND_SZ with ReadRegStr?
need to read and write HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ DevicePath
on my system there are 2062 characters in this string.
ReadRegString fails and returns "". Adding a test Key with the same type and 15 characters works fine.
solutions for this?
cheers
Daniel
ShakerWD
31st August 2005 12:34 UTC
ok, thought its the plugin deliverd with nsis distribution.
will give it a try.
thx a lot!
cheers
Daniel
Instructor
31st August 2005 13:46 UTC
For read such string you need to use NSIS special build with max string length 8192:
http://sourceforge.net/project/showf...ckage_id=15374
And if you want to use registry plugin with this special build for read strings more then 1024 you need to recompile it with line:
#define MAX_STRLEN 8192
ShakerWD
31st August 2005 13:58 UTC
thy a lot Instuctor!