Skip to content
⌘ NSIS Forum Archive

How to copy registry keys recursively

7 posts

Thalion77#

How to copy registry keys recursively

I need a code sample which shows how to copy a registry key with all its sub entries to another position

e.g. HKLM/Software/Test copy to HKLM/Software/Test2

Has anyone a sample for me?
Thalion77#
Where can I find in your amounts of files the spot how to copy the entries recursively. I only find a kind of object-oriented way of registry access with NSIS.
Red Wine#
I don't understand your question, the registry plugin is the best plugin that I know to manage registry within NSIS.

It has included documentation and examples explaining plugin's usage, if you decided it's useless for you, please ignore my suggestion.
Thalion77#
No, it's a good pattern for me. But if I want to copy a registry key with your code, does it copy its sub keys too?
Red Wine#
Actually it's not my code, plugin's author is Instructor, I just wanted to offer some help, if you have specific questions about this plugin, I think best is to post them on the corresponding thread so Instructor would know about.

Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.