Archive: Other ways to Reg Merge a set of keys


Other ways to Reg Merge a set of keys
Trying to work out the fastest way to insert some Reg Connection strings on an installer I am writing at work. We are redoing the entire program from scratch in 4 months but I need to get this down to make life easier now.

Client runs the Install script and everything is automated, all windows are silent, except this one.
I have 4 connection strings that need to be dropped in the Registry on Windows boxes. The keys reside in a Merge File, the installer grabs the merge file and opens it to be merged in, but its asking for permission to run, and I need to get that "Yes No" dialog window closed


Section "ConnectionReg" SEC015
SetOutPath "${Code_Loc}\Omega_ConnectionStrings.reg"
ExecShell "open" "${Code_Loc}\ConnectionStrings.reg" SectionEnd


Any suggestions?

http://forums.winamp.com/showthread....hreadid=305154


As the last post on that topic suggests, use Reg2Nsis:
http://nsis.sourceforge.net/Reg2Nsis..._NSIS_commands

Relying on a .reg file is undesirable as domain administrators can block access to Regedit via group policy.

Stu