Shortcut icon for registered file types in visual studio setup project

Posted by Zenya on Stack Overflow See other posts from Stack Overflow or by Zenya
Published on 2010-05-27T04:35:13Z Indexed on 2010/05/27 4:41 UTC
Read the original article Hit count: 221

Filed under:
|
|
|

It is known that when you create a shortcut and place it in the desktop or program menu directory in a VS setup project, you should also set an icon for it. If not, the default icon will be displayed.

However it is natural to think that icons to the files of the registered type (such as pdf, txt, doc, etc.), should be taken from the OS after installation.

What I want:

Good shortcuts

What I get:

alt text

How to implement this?

PS: Of course, I can get the pdf and txt icons from somewhere, add them to the VS project and set to the shortcuts, but I believe that there should be a better solution.

© Stack Overflow or respective owner

Related posts about visual-studio

Related posts about setup