Skip to content
⌘ NSIS Forum Archive

Howto Associate an extension to a program?

5 posts

ne01982#

Howto Associate an extension to a program?

Hi, I´ve made a new file extension for my program.
Is posible to asociate that extension to my program using NSIS?

How can I do it?

Thanks a lot to everyone
ne01982#
Originally posted by lybra
Look here: nsis.sourceforge.net/wiki/File_Association

edit: trouble with adding a readable url.
Sorry, but it looks a bit complicated, have anyone got any simple sample?

Thanks
Afrow UK#
You just need to copy the first code snippet into one of your install sections and replace "OptionsFile", ".opt" and "execute.exe" with what you want. Then do the same for the uninstall snippet.

It shows you the tokens to replace on that page near the end.

Stu