Archive: Parse .reg file


Parse .reg file
Hey :)

Is it possible to parse .reg file with NSIS without stumble over the null byte thats between the most characters?
For now I'm using a loop to concatenate the lines on my own...


Thanks :)

CJ


Hi ChocJunkie,

I usually use the native NSIS registry changer instead of importing the .reg files.

Easiest way to do this is through this tool;
http://nsis.sourceforge.net/Reg2Nsis..._NSIS_commands

Good Luck!

Panarchy


Re: Parse .reg file

Originally posted by ChocJunkie
Hey :)

Is it possible to parse .reg file with NSIS without stumble over the null byte thats between the most characters?
For now I'm using a loop to concatenate the lines on my own...


Thanks :)

CJ
If there are functions for that, they will most likely do the exact same thing as you're doing manually: Loop, skip, concatenate. So just stick to your own code and make a macro of it for convenience.