Skip to content
⌘ NSIS Forum Archive

Help me to REGISTRATE some files

11 posts

VegetaSan#

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 😁 😛
VegetaSan#
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
Vytautas#
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
VegetaSan#
Please copy and past the code because I dont get it
I have this :::

RegDLL $1 HKCR "$PROGRAMFILES\bla\blalba\blavs.exe" ""
Vytautas#
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
VegetaSan#
Its says ::: Could no find symbol : DLLRegisterServer
******************************************???
I have ::
;--------------------------------
Section ""

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

SectionEnd
Vytautas#
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