Wrong shortcut icons on the desktop and in the programs menu

Posted by Zenya on Stack Overflow See other posts from Stack Overflow or by Zenya
Published on 2010-06-02T08:29:06Z Indexed on 2010/06/02 8:33 UTC
Read the original article Hit count: 172

When creating a program setup, I also put some documentation or readme files in it. However after the program is installed, I get wrong icons on the desktop and in the programs menu, as below:

Bad shortcuts

What I expected:

Good shortcuts

I thought that for the registered file types (such as pdf, txt, doc, etc.) I don't need to set icons manually in the setup project. Am i wrong?

As far as I know some other installers doesn't have such problem. Does anybody know how to fix this for Visual Studio?

My environment is: Visual Studio 2005, C#, Windows XP Pro SP3

© Stack Overflow or respective owner

Related posts about visual-studio

Related posts about Icons