smile999
12th February 2003 08:16 UTC
About Registry..
It is very difficult that insert registry infomation one by one
with WriteRegStr Command
For Example..
WriteRegStr HKLM SOFTWARE\Example1 "Install_Dir" "$INSTDIR"
:
:
Can I use *.reg file without confirm message in NSIS ??
( last night, I tried to excute *.reg file with Exec command..
But It dose't work.. ^^;; )
or Is there any efficient method??
Joost Verburg
12th February 2003 08:53 UTC
There is an application that converts .reg files. Please search the forum.
Sunjammer
12th February 2003 09:21 UTC
IRegistrar COM interface implements the mechanism for loading the BNF form .reg files into the registry. Any code making use of the FileRegister or StringRegister functions of this interface will be to do what you ask.
I've said this in case anyone knows of an existing way of calling a COM object from within NSIS, and also if anyone knows when the object implementing that interface started being distributed with Windows (i.e. does 98 support it?).
Hmm I wonder if a COM object could be created and used with the System plugin... that would be cool.
kichik
12th February 2003 14:25 UTC
You can also use:
SearchPath
$0regedit.exe
ExecWait'"$0"/sregfile.reg'
Sunjammer
12th February 2003 14:54 UTC
Didn't know that :)