Comments (7)
@zariweyo could you please provide some code that will help me recreate the problem? thanks
from node-regedit.
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{
}
})
from node-regedit.
@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
from node-regedit.
REG_DWORD
CLng
overflows at0x80000000
.- Need to use
CDbl
for writing - Need to conver
Long to ULong
for reading
from node-regedit.
REG_QWORD
- No conversion needed -
SetQWORDValue
accepts aString
- writing is limited to values below
9007199254740993
Precision - reading is unaffected by precision limit
I dont see a way to overcome the precision limit on writing 😢
from node-regedit.
@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.
from node-regedit.
@juanjo75es thanks for sharing the solution :)
from node-regedit.
Related Issues (20)
- need to move arch.promisified into promisified
- unsupported hive HOT 3
- Missing types for stream and listUnexpandedValues
- Error: vbscript process reported unknown error code 161 HOT 2
- Command failed HOT 2
- Changelog? HOT 1
- regedit.putValue():error:unsupported hive HOT 7
- Unsupported Hive HOT 6
- Set External VBS Location HOT 1
- Undefined childProcess.execFile HOT 1
- Cannot read properties of undefined (reading 'list32')
- How do I use ES6 syntax? HOT 5
- regedit is either undefined or returns unknown error code 1 for electron HOT 1
- regList.wsf(0, 2) (null): 0x80041002 HOT 3
- Can't find wsf files in development mode HOT 3
- use nodebyte compiled: putValue Error
- any way to send hex values instead of binary? HOT 1
- Version published on NPM is missing the type definitions HOT 3
- regedit
- update TS types with new feature HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-regedit.