Skip to content
⌘ NSIS Forum Archive

Other ways to Reg Merge a set of keys

3 posts

Sennex#

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?
jpderuiter#
Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.
Afrow UK#
As the last post on that topic suggests, use Reg2Nsis:


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

Stu