Closed zariweyo closed 7 years ago
@zariweyo could you please provide some code that will help me recreate the problem? thanks
It still fails for me after making changes suggested by zariweyo
let valuesToPut = {};
valuesToPut[s3] = {
'FolderValueFlags': {
value: 0x28,
type: 'REG_DWORD'
},
'Attributes': {
value: 0xF080004D,
type: 'REG_DWORD'
}
};
regedit.putValue(valuesToPut, function(err) {
if(typeof err !== "undefined")
console.log(err);
else{
}
})
@juanjo75es currently very busy... so it will take time to get to this. However, if you run into a solution in the meanwhile, please don't hesitate to send a PR
CLng
overflows at 0x80000000
. CDbl
for writing Long to ULong
for readingSetQWORDValue
accepts a String
9007199254740993
PrecisionI dont see a way to overcome the precision limit on writing :cry:
@kessler Well ... I solved my problem using:
var exec = require('child_process').exec;
exec( "reg add (...)" , function(error, stdout, stderr){});
But I guess it won't help you.
@juanjo75es thanks for sharing the solution :)
To solve this, please, in file regUtil.vbs replace CInt to CLng. (lines 37 and 43).
Thanks