any body can learn me how Merge or mix two or three setting.regs in one?( HKCU+HKLM+..to SETTING .REG)
for example.
${registry::SaveKey} "HKEY_LOCAL_MACHINE\SOFTWARE\App" "$SETTINGSDIRECTORY\setting1.reg" "" $R0
${registry::SaveKey} "HKEY_CURRENT_USER\Software\App" "$SETTINGSDIRECTORY\setting2.reg" "" $R0
and...
setting1.reg+setting2.reg+... JUST mix to one SETTING.reg and save to settingdirectory
Thanks
If you export registry settings to .reg files, you can open them in notepad and edit them.
Your setting1.reg will have something like:
Your setting2.reg will have something like:
Copy the text from the first and paste into notepad.
Copy everything except the first two lines from the second and add it to the same new file. It should look like this:
Save as setting.reg
I made this half-pony, half-monkey monster to please you.
Yes, but I think he means with NSIS. I've never tried it. never even thought about it. I don't think NSIS provides for it though.
Too many lonely hearts in the real world
Too many bridges you can burn
Too many tables you can't turn
Don't wanna live my life in the real world
The question is not so much does NSIS support it as does RegEdit support it: and the answer is no.
If you like, you could merge the files, chucking away the first two lines. But you'll need to make your own NSIS code to do that (it's not all that hard, just FileRead from one and and FileWrite to the other (appending) after the first two lines).
I really can't see any point in it though. And with a unified launcher it will be entirely unsupported.
I am a Christian and a developer and moderator here.
“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1
Perhaps I am misunderstanding the question but here goes...
Backup your registry keys...
On exit, save them...
Note the difference between the end of the first line and the end of all subsequent ones. Where the first one is blank (""), all the others contain "/A=1" (append). Now all three keys are saved to one file ("NAME.reg").
Restore your registry keys...
I just posted these. Process Explorer and Process Monitor both do this. If you want a more elaborate example, take a look at REAPER here.
Again, apologies if this isn't what you mean
:-)