Possible Duplicate:
How to associate a file extension to the current executable in C#
I have made a text editor in C#. I'm able to open text files from my program. I want to be able to open text files with this program when double-clicking on it from Windows Explorer. How can I do this?
Note: I have created a .msi file for my whole project and am trying to run the file from the installed directory.