在VS2010安装项目设置正确的图标快捷方式 [英] Setting correct icon for Shortcut in VS2010 Setup Project

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

问题描述

我有一个小的应用程序与安装项目。
。如果我创建一个快捷方式到我的主输出,那么这得到我的exe文件的应用程序图标中指定的标准Win7的图标,而不是图标?

I have a small app with a setup project. If I create a shortcut to my Primary Output, then this gets a standard Win7 icon and not the icon specified in my exe's Application Icon?

最新最好的方式,以确保我的桌面快捷方式图标都是一样的图标,我的exe文件?
例如如果我改变了exe文件的图标,然后我想设置图标来改变。

Whats the best way to make sure my desktop shortcut icon is the same icon as my exe? e.g. If I change the exe's icon then I'd like the Setup icon to change as well.

推荐答案

如果您设置的图标快捷键你可以设置一个主输出源。在设置项目的文件系统编辑器,点击(图标)组合框中的快捷方式的属性面板,然后选择(浏览...),按钮浏览...。你会看到这一点:

If you set the icon for the shortcut you can set a primary output as source. In the file system editor of the setup project, click on the "(Icon)" combobox in the properties pane of the shortcut, then option "(Browse...)", button "Browse...". You'll see this:

然后加入输出,选择EXE的主输出。

Then add output and select the primary output of the exe.

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

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