when the user installs my vb.net application, i would like my icon (a shortcut) to be placed on the user's desktop. i am using vb express 2008, and am using the installer that it comes with. how do i specify an icon for this:?
+2
A:
When you create the setup project include the icon in the desktop folder:
Open Visual Studio
- Create New Project->Project types = setup and deployment -> Setup Project
- Add your application to the setup project (Right click on Application->Add)
- Select "User's Desktop item"
- Right-click the space
- Browse to the applicaiton and add the shortcur.
UPDATE after comment:
You can make a manual installer that simply copies the exe file + a shortcut on the desktop (read this).
Shimmy
2009-08-25 03:17:38
how?????
I__
2009-08-25 03:18:34
whats up shimmy we just returned from nachlaot
I__
2009-08-25 03:20:26
Can we have this convertsation in private please :)
Shimmy
2009-08-25 03:24:52
im unable to do as per your instructinos, vb 2008 express does not have SETUP AND DEPLOYMENT
I__
2009-08-25 03:30:34
+1
A:
Not sure if it's the same in vb 2008 express but in VS2008, you can right click on the setup project and choose View->File System, then in the User's Desktop folder add the shortcut. I believe the shortcut will pick up whatever icon you have specified for the output you select for that shortcut. You can set up the icon by right clicking on your UI project, going to Properties->Application, then selecting the icon in the Icon drop down.
Again this is all VS2008 so not sure if its the same as vb 2008 express but hope it helps.
link664
2009-08-25 05:14:31
You need to add the shortcut into the "User's Desktop" folder like I have specified in the answer above.
link664
2009-08-28 01:46:19