If your application uses special file extensions, you might want to register them so that the application gets started when the icon associated with the file gets double-clicked.
There are special tables for this in the MSI structure (Extension and ProgId). The contents of these tables are used for advertising. You can also make your own registry entries to create application-to-file-extension relations. This example shows how to register the .dvi extensions to be opened with the yap.exe program.
Link the extension .dvi to the DVI.Document class:
Value: <default> = “DVI.Document”
Describe the DVI.Document class:
Value: <default> = “DVI Document”
Select Icon #0 from yap.exe which is in the MSI:
Value: <default> = “[!yap.exe],0”
How to open the .dvi file if it is double clicked in the Explorer:
Value: <default> = “[!yap.exe]” “%1”