Archive: Help me to REGISTRATE some files


Help me to REGISTRATE some files
I have made an installer with some files and I want
that the installer automaticly registrate the files
how do I di that please tell me the complete code

THANKZ :D :p


Check out my Archive page on that topic.

Vytautas :p

PS. First link in the list :cool:


Is this the right code????

ReadRegStr $1 HKCR "C:\WINDOWS\System32\blblblblbl" ""

well I have inserted this code and when I run the setup and press "Show Details" it doesnt say Registrated or someting like that


When you say register a file do you mean that you want your program to be automatically opened when a user double clicks on a certain file type.

Or do you want to register a dll file in the windows?

If its the second option I misunderstood your first question. In that case you should either use the RegDLL command or the UpdateDLL macro

Vytautas


where can I find a sample of the RegDLL


NSIS Manual/Readme has an example of the RegDLL usage.

Vytautas


Please copy and past the code because I dont get it
I have this :::

RegDLL $1 HKCR "$PROGRAMFILES\bla\blalba\blavs.exe" ""


Simply use

RegDll "C:\WINDOWS\System32\blblblblbl"
Although you should use the $SYSDIR instead of "C:\windows\system32" as some computers do not have windows installed in the "C:\windows" directory.

Vytautas

Its says ::: Could no find symbol : DLLRegisterServer
?????????????????????????????????????????????
I have ::
;--------------------------------
Section ""

RegDll "$PROGRAMFILES\bla\blalba\blablabla.exe"

SectionEnd


1) Are you sure that the file exists in the users system, have you used the File/CopyFiles command?

2) Are you sure that the file is capable of being registered? Does it need registration?

Vytautas


I Have it THANKZ "Vytautas"