Archive: Copying registry values from pre-existing installer


Copying registry values from pre-existing installer
I have a pre-existing 3rd party installer I would like to rewrite in NSIS. And, this installer has a quite a few registry key and values.
What is the best way to 'copy' these registry values into NSIS?
Or is there some kind of utility that will copy all the keys and values ? Do not really want to do it all by hand one at a time :(
many thanks
g


ok... :)
export the registry from regedit...
I'll start there


is this still the best way?
GetTempFileName $R0
File /oname=$R0 myreg.reg
ExecWait 'RegEdit.exe /S "$R0"'
Delete $R0

or, is there some kind of utility...some of the posts recommended INI2REG...that will convert a .reg to a nsis script


There's this:

http://nsis.sourceforge.net/wiki/ind..._NSIS_commands


yep :)

that saved a lot of time


http://nsis.sourceforge.net/Reg2Nsis..._NSIS_commands

Hi,
Just what I was looking for too. The link has changed (no index.php anymore).

:up: