2

i would like the installer to put an icon shortcut to my app created in vb.net. how do i do this?

i am using click once

edit:

i am using visual basic express 2008. perhaps it is not possible to add the icon to desktop using the built in installer?

abatishchev
  • 98,240
  • 88
  • 296
  • 433
Alex Gordon
  • 57,446
  • 287
  • 670
  • 1,062

3 Answers3

2

Do you mean change the icon of the program so it is not a generic box thing? If that is the case, open your project, click the project menu, and select <project name> properties. Then, under the application tab, there is a place to browse for your icon: alt text

Hope this helps.

Anders
  • 12,088
  • 34
  • 98
  • 146
2

This is about embedded in VS Deployment Project

http://img36.imageshack.us/img36/1424/setupico.png full size

So add an icon file to Application Folder, name it properly. After add a shortcut to Desktop (choose a project output as target) and setup icon (your ico file as target)

abatishchev
  • 98,240
  • 88
  • 296
  • 433
  • im sorry where do i find this screen? im using vb.net express 08 – Alex Gordon Aug 14 '09 at 19:13
  • add new project to you solution: Add Project -> Other project types -> Setup and Deployment -> Setup Project – abatishchev Aug 14 '09 at 19:23
  • i dont have those options, i have add-->new project-> winform, class lib, wpf, console, – Alex Gordon Aug 14 '09 at 19:39
  • do you have a tree to the left of Add Project dialog with a list of project categories? http://img268.imageshack.us/img268/4222/addprojectsetup.png – abatishchev Aug 14 '09 at 20:14
  • Also I found this: http://bytes.com/topic/visual-basic-net/answers/437573-no-setup-project-2005-express-edition it seems that there is no Setup Projects in Express, only in Pro+ editions of VS, unfortunately.. but try Publish menu! – abatishchev Aug 14 '09 at 20:15
  • publish doesnt do it i just checked – Alex Gordon Aug 14 '09 at 20:59
0

Every installer does that differently, depending on what you are using you should be able to find a feature to add the icon to the desktop.

What installer are you using? .Net Deployment wizard?

Cyril Gupta
  • 13,505
  • 11
  • 64
  • 87