Creating File Types

There are situations in which you need to associate a custom file extension to your executable. Visual Studio enables putting this information into Windows Installer packages in a convenient way. You provide custom extensions to be associated to the executable and actions to be executed over the extension via the File Types editor. You add an extension by right-clicking the File Types on Target Machine item and then selecting Add File Type. When the new file type is added to the editor, you customize its properties via the Properties window. Figure 54.10 shows an example of this kind of customization.

Figure 54.10 Adding and customizing a new file type.

Get Visual Basic® 2010 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.