grahama
2nd June 2005 18:38 UTC
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
grahama
2nd June 2005 18:43 UTC
ok... :)
export the registry from regedit...
I'll start there
grahama
2nd June 2005 19:35 UTC
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
grahama
3rd June 2005 01:08 UTC
yep :)
that saved a lot of time
mctt
7th June 2006 16:43 UTC
http://nsis.sourceforge.net/Reg2Nsis..._NSIS_commands
Hi,
Just what I was looking for too. The link has changed (no index.php anymore).
:up: