如何使用VS2008的安装设置将图标设置为安装文件 [英] How to set a icon to Setup file by using install setup of VS2008

查看:210
本文介绍了如何使用VS2008的安装设置将图标设置为安装文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个小项目,并通过在VS2008中使用安装程序项目为其安装了一个安装程序.
我可以在用户的​​桌面,用户的程序"菜单和应用程序文件夹上制作图标.
但是我无法制作安装文件(EXE文件)的图标.

如果您知道,请帮助我!

I had a small project and i made a installer for it by using Setup project in VS2008.
I can make icon on User''s desktop,User''s Program Menu and application folder.
But I can not make icon for setup file(EXE file).

If you known , Please help me !

thanks.

推荐答案

1.建立您的安装项目.
2.在Visual Studio中,转到文件|开启|文件...
3.选择刚构建的Setup.exe.您会看到一棵文件夹树.
4.右键单击Icon文件夹,然后选择添加资源...
5.单击导入... 按钮,找到要使用的图标.
6.保存.

要注意的事情:
-导入时,请确保底部的文件类型设置为显示正确的文件类型.
-确保导入的图标具有该文件夹中所有其他图标中的最低ID,以确保它被显示.
1. Build your setup project.
2. In visual studio, go to File | Open | File...
3. Select the Setup.exe you just built. You will see a tree of folders.
4. Right click the Icon folder and select Add Resource...
5. Click on the Import... button and find the icon you want to use.
6. Save.

Things to look out for:
- When importing, make sure the file type on the bottom is set to display the correct file type.
- Make sure that the icon you import has the lowest ID of any others that are already in the folder to ensure that it is the one that gets displayed.


这篇关于如何使用VS2008的安装设置将图标设置为安装文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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