I have this code:
var key = new Key(windef.HKEY.HKEY_CURRENT_USER, 'Software', windef.KEY_ACCESS.KEY_ALL_ACCESS);
var createdKey = key.createSubKey('Custom', windef.KEY_ACCESS.KEY_ALL_ACCESS);
key.setValue('test_value_name', windef.REG_VALUE_TYPE.REG_SZ, 'test_value');
I can see in the Registry editor that the key gets created in Software/Custom.
But setValue doesn't do anything.
Anything I'm doing wrong here?
I have this code:
I can see in the Registry editor that the key gets created in Software/Custom.
But
setValuedoesn't do anything.Anything I'm doing wrong here?