Archive: Howto Associate an extension to a program?


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


Look here: nsis.sourceforge.net/wiki/File_Association

edit: trouble with adding a readable url.


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

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


I already told you here . This is a simple as you can get.