Closed ctrotsky closed 1 year ago
@ctrotsky sorry for the prolonged delay. Going to take a look at this asap.
@ctrotsky it might be a problem in the communication between node and the vb script. did you manage to deduce the problematic size?
no activity
This only seems to occur when "HKCU\TestKey"'s value is a large block of binary data that is written in the same call to putValues() where another error is raised. I haven't yet narrowed down on the exact data size where this starts occurring. This occurs when the registry value causing any kind of error comes after the large value in the input to putValue().
Sample code to cause this:
Output:
In this example,
File used for C:\Registry.json: https://github.com/ctrotsky/files/blob/master/Registry.json
You can see that in addition to the "registry path does not exist" error being raised in the callback, there's also a "Error: write EOF". This EOF error seems to be coming out of nowhere, and is not caught by the try/catch block.