Hi,
I need to read a REG_MULTI_SZ registry key and it appears that NSIS doesn't handle this apart using the System plugin.
Can anybody give me a piece of code on how to do this using the System plugin ?
Many thanks in advance
Reg_multi_sz
11 posts
Please help ... PLEASE
What part of the script are you having problems with?
Don't simply know how to use the System plugin to retrieve a REG_MULTI_SZ value.
Do you have some code snippet on how to use to plugin for retrieving a REG_MULTI_SZ type ?
Do you have some code snippet on how to use to plugin for retrieving a REG_MULTI_SZ type ?
I don't have one ready. I'll try to write one tomorrow.
I don't have one ready. I'll try to write one tomorrow.That would be really great ! 👍
Here it is:Thank you very much ... I'll give it try.
http://nsis.sourceforge.net/archive/...ances=0,32,135
Crashes?
but i can't seem to get this to run.
i've tried implementing the code in my section, in a fuction then calling it in .oninit, etc.
I have the 3 defines pointing to a Multi_SZ value.
but everytime it reaches the script.. it crashes.
im using Unicode .. i can see you have Unicode support in the script.
thank you for sharing this..Originally Posted by kichik View Post
but i can't seem to get this to run.
i've tried implementing the code in my section, in a fuction then calling it in .oninit, etc.
I have the 3 defines pointing to a Multi_SZ value.
but everytime it reaches the script.. it crashes.
im using Unicode .. i can see you have Unicode support in the script.
Originally Posted by Anders View Post
thank you Anders,
i found a simpler solution to my problem and it's the good ol' MS-DOS.
My problem was MaxLength.. it caused the buffer to overflow..