具有正确的快捷方式图标的Visual Studio安装项目. [英] Visual Studio setup project with correct shortcut icons.

查看:101
本文介绍了具有正确的快捷方式图标的Visual Studio安装项目.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将.pdf文件打包在我的应用程序中.我使用Microsoft Visual Studio 8.0创建了安装项目,并将文件添加到应用程序"文件夹中.我创建文件的快捷方式,并将其添加到用户程序"菜单中.我的问题是图标无法正确显示. pdf文件可以正确打开,但是图标不会显示.是否还可以将图标添加到安装程序包中?

I am trying to package .pdf files in my application. I created a Setup Project using Microsoft Visual Studio 8.0 and added the files to the Application folder. I create shortcuts to the files and add them to the User''s Program Menu. My problem is the icon does not appear correctly. The pdf files open correctly, but the icon does not show up. Is there a way around adding the icon to the setup package as well?

推荐答案

您可以通过更改ICON属性来更改快捷方式的图标.它是默认值(无).如果需要这样做,必须将图标文件添加到应用程序文件夹中.然后您可以选择该文件作为快捷方式图标.

如果要更改Setup.exe文件图标,则需要使用第三方,例如 http://www.exeicon.com/program-icon-changer/ [^ ].否则,据我所知,您无法在VS 2008中进行更改.

希望对您有所帮助.
You can change the icon of the shortcut by changing the ICON property. It is default (None). If you need to do so you must add icon file to the application folder. then you can choose that file as your shortcut Icon.

If you want to change Setup.exe file Icon you need to use third party like http://www.exeicon.com/program-icon-changer/[^]. Otherwise as i know you can''t change inside the VS 2008.

I hope this will help you.


这篇关于具有正确的快捷方式图标的Visual Studio安装项目.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆