Use your favorite image editor to create an image file with 16x16, preferebly PNG format.
And save the image file into the server folder %COMMONPROGRAMFILES%\Microsoft Shared\Web Server Extensions\14\TEMPLATE\IMAGES
2. Edit the DOCICON.XML file (backup the file first ;-))
Next open, using your favorite text editor, the docicon.xml file located in the server folder %COMMONPROGRAMFILES%\Microsoft Shared\Web Server Extensions\14\TEMPLATE\XML.
Add one line for each file type like this:
<Mapping Key="pdf" Value="pdf.png" EditText="PDF-XChange Viewer" OpenControl="SharePoint.OpenDocuments"/>
- Key="pdf" to Key="your_file_extension"
- Value="pdf.png" to Key="image_file_name" (created in first step)
- EditText="PDF-XChange Viewer" to Edit="name_of_the_native_application" (this is the name that will appear in the context menu (ECB)
3. Reset server and try
All done, just iisreset your server and try it.
If you want to keep in touch, feel free to Subscribe to How I did it - Sharepoint Foundation 2010