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
Copying registry values from pre-existing installer
6 posts
ok... 🙂
export the registry from regedit...
I'll start there
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
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
yep 🙂
that saved a lot of time
that saved a lot of time
Hi,
Just what I was looking for too. The link has changed (no index.php anymore).
👍