![]() |
#1 |
Junior Member
Join Date: Feb 2003
Posts: 1
|
![]()
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?? |
![]() |
![]() |
![]() |
#2 |
NSIS MUI Dev
Join Date: Nov 2001
Posts: 3,717
|
There is an application that converts .reg files. Please search the forum.
|
![]() |
![]() |
![]() |
#3 |
Major Dude
Join Date: Jun 2002
Location: Swindon, UK
Posts: 559
|
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. |
![]() |
![]() |
![]() |
#4 |
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
You can also use:
PHP Code:
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
![]() |
![]() |
![]() |
#5 |
Major Dude
Join Date: Jun 2002
Location: Swindon, UK
Posts: 559
|
Didn't know that
![]() |
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|