windows-registry-node icon indicating copy to clipboard operation
windows-registry-node copied to clipboard

Read and Write to the Windows registry in-process from Node.js. Easily set application file associations and other goodies.

Results 23 windows-registry-node issues
Sort by recently updated
recently updated
newest added
trafficstars

I'm going to get icon with file type from Window system. I'm not sure about it.

```javascript var ky = new Key(windef.HKEY.HKEY_CURRENT_USER, 'Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings', windef.KEY_ACCESS.KEY_WRITE); ky.setValue('ProxyEnable',windef.REG_VALUE_TYPE.REG_DWORD,1 ); ky.close(); ``` And I got a TypeError: ```bash TypeError: Cannot read property 'deref' of undefined at Object.setValueForKeyObject (C:\Users\askda\git\proxy_mgr\node_modules\windows-registry\lib\registry.js:113:100) at...

utils.elevate(...) seems to translate paths badly if it contains Unicode characters, this is an issue for Electron applications since they are commonly installed in %AppData% and the Windows user folder...

…Updated so that users enter an octet array and that octet array is assumed four characters. Attempted to write a DWORD and there was an exception because byte was not...

Now we can safely import/require this library without crashing under non-Windows environment.

Should just return an array; one line per array item. https://msdn.microsoft.com/en-us/library/windows/desktop/ms724884(v=vs.85).aspx

https://github.com/CatalystCode/windows-registry-node/blob/master/lib/registry.js#L109 ``` case windef.REG_VALUE_TYPE.REG_DWORD: case windef.REG_VALUE_TYPE.REG_DWORD_BIG_ENDIAN: case windef.REG_VALUE_TYPE.REG_DWORD_LITTLE_ENDIAN: buffer = new Buffer(4, value); result = advApi.RegSetValueExA(key.handle.deref(), valueName, null, valueType, byte.deref(), buffer.length); break; ``` byte.deref() fails; 'cannot read property 'deref' of...

bug

``` var regKey=[]; regKey.push( new registry.Key( registry.windef.HKEY.HKEY_CURRENT_USER, '', registry.windef.KEY_ACCESS.KEY_ALL_ACCESS ) ); regKey.push( regKey[regKey.length-1].createSubKey( 'Software', registry.windef.KEY_ACCESS.KEY_ALL_ACCESS) ); regKey.push( regKey[regKey.length-1].createSubKey( 'myCompany', registry.windef.KEY_ACCESS.KEY_ALL_ACCESS) ); regKey.push( regKey[regKey.length-1].createSubKey( 'myProduct', registry.windef.KEY_ACCESS.KEY_ALL_ACCESS) ); ``` creates in 'HKEY_CURRENT_USER'...

bug

When reading registry keys containing special characters "åäö", the characters are converted into "?" Would be great to be able to select encoding, or return the raw buffer from the...

bug