Wilco Baan Hofman a écrit :
On Wed, 2011-05-18 at 16:01 +0200, denis bonnenfant wrote:
Le mercredi 18 mai 2011 à 15:07 +0200, Wilco Baan Hofman a écrit :
On Wed, 2011-05-18 at 12:33 +0200, Michael Wood wrote:

Then it seems the -F option should be removed from regpatch.  Or
should regpatch be replaced with something similar to the Python script
you included below?
My patch adds a -K option to regpatch for specifying the predef key
where -F registry should be mounted. I will submit it for review soon,
I'm currently experimenting a little bit, and there are still some bugs
in .reg parsing


In fact it doesn't make sense to mount regf files to anything but HKCU , so -K option is not necessary, and HKCU can be hardcoded as mountpoint for files specified by -F option.


I use this quite a bit and I'm aware of two bugs, which is not directly
related to the parsing, but that on windows unicode is implicit for
certain data types even when the data is given in binary format, it's
still converted. The other 'bug' is that unicode .reg files are not yet
supported. I'd be very interested to know what other bugs there are.
I found some problems with value deletion, sometimes values are not deleted, reg_expand_sz data not correctly saved, but i'm not sure that the problem is in parsing. I'm going to experiment a little bit more.

Denis
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to