I am writing some source code, that is required to make a file type assoication, in the installation of my project onto the current machine. I am working with FRM, PAS, DIR and MOD files. How am I able to make a patch file that is able to work with these file extensions into my project.

Also I wish to make the DIR file extension to work when the user clicks on a file with that extension to automatically load the project with that current file in hand.

What should I do, to work with the problem that I have stated???

!! Thanks in advance !!