Export (0) Print
Expand All
Expand Minimize

How to: Add and Remove Icons

Icons can be installed and associated with your application on a target computer during installation. You can choose icons to appear in Windows Explorer on the target computer; you can also choose an icon to be displayed in the Add/Remove Programs dialog box. You do this by setting the Icon or AddRemoveProgramsIcon properties.

Icons can either be icon files (.ico) or icons contained as a resource in an .exe or .dll file.

NoteNote

The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Working with Settings.

To add an icon for your application

  1. Create a shortcut for the primary output of your application in the File System Editor. For more information, see How to: Add and Remove Shortcuts in the File System Editor.

  2. Select the shortcut in the File System Editor.

  3. In the Properties window, select the Icon property and choose (Browse...) from the drop-down list.

    The Icon dialog box will be displayed.

  4. In the Icon dialog box, click the Browse button.

    The Select item in project dialog box will be displayed.

  5. In the Select item in project dialog box, select a folder and select the file that contains the icon.

    NoteNote

    To add an icon that has not already been added to your deployment project, click the Add File button and select the file. The file containing the icon will be added to the project.

To add an Add/Remove Programs icon

  1. In Solution Explorer, select your Setup or Web Setup project.

  2. In the Properties window, select the AddRemoveProgramsIcon property, and choose (Browse...) from the drop-down list.

    The Icon dialog box will be displayed.

  3. In the Icon dialog box, click the Browse button.

    The Select item in project dialog box will be displayed.

  4. In the Select item in project dialog box, select a folder and select the file that contains the icon.

    NoteNote

    To add an icon that has not already been added to your deployment project, click the Add File button and select the file. The file containing the icon will be added to the project.

To remove an icon

  • In the Properties window, select the Icon or AddRemoveProgramsIcon property, and choose (None) from the drop-down list.

Community Additions

ADD
Show:
© 2014 Microsoft