Skip to content
⌘ NSIS Forum Archive

Copying registry values from pre-existing installer

6 posts

grahama#

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#
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
kichik#
There's this:

mctt#


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

👍