I need to register a file type (e.g. .exex files) when my application is installed because I want that when the user double clicks a .exex file to be automatically opened with my application. How can I do this using Visual Studio 2010 installer project?
+1
A:
It's quite straight-forward to do:
- Right-click the setup project in Solution Explorer and select View -> File Types from the context menu.
- Right-click the File Types on Target Machine node to add a new file type
- In the Properties window you may specify the properties of the file type: Enter the extension, a description and the command to open a file of this type.
0xA3
2010-08-27 09:46:35