Skip to content
⌘ NSIS Forum Archive

Parse .reg file

3 posts

ChocJunkie#

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
Panarchy#
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;


Good Luck!

Panarchy
MSG#
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.