Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating subkeys from other subkeys doesn't work #42

Open
d3x0r opened this issue Feb 19, 2017 · 0 comments
Open

Creating subkeys from other subkeys doesn't work #42

d3x0r opened this issue Feb 19, 2017 · 0 comments
Labels

Comments

@d3x0r
Copy link
Contributor

d3x0r commented Feb 19, 2017

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' 'myCompany' and 'myProduct' next to SOFTWARE.

@ritazh ritazh added the bug label Mar 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants