|
|
#1 |
|
Member
Join Date: Sep 2002
Location: Luxembourg
Posts: 81
|
Reg_multi_sz
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 |
|
|
|
|
|
#2 |
|
Member
Join Date: Sep 2002
Location: Luxembourg
Posts: 81
|
Please help ... PLEASE
|
|
|
|
|
|
#3 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,336
|
What part of the script are you having problems with?
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#4 |
|
Member
Join Date: Sep 2002
Location: Luxembourg
Posts: 81
|
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 ? |
|
|
|
|
|
#5 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,336
|
I don't have one ready. I'll try to write one tomorrow.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#6 | |
|
Member
Join Date: Sep 2002
Location: Luxembourg
Posts: 81
|
Quote:
|
|
|
|
|
|
|
#7 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,336
|
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#8 | |
|
Member
Join Date: Sep 2002
Location: Luxembourg
Posts: 81
|
Quote:
|
|
|
|
|
|
|
#9 | |
|
Junior Member
Join Date: Jul 2011
Posts: 47
|
Crashes?
Quote:
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. |
|
|
|
|
|
|
#10 |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 2,775
|
IntOp $PostCount $PostCount + 1 |
|
|
|
|
|
#11 | |
|
Junior Member
Join Date: Jul 2011
Posts: 47
|
Quote:
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.. |
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|