Solved

Package and Deployment:  Putting an Icon on the Desktop

Posted on 2002-05-30
4
159 Views
Last Modified: 2010-05-02
VB 6.0

I am using the Visual Studio Packaging and Deployment Wizard to create a package for distributing a VB app.  Our marketing people want a shortcut automatically placed on the desktop when people install the app.

How is that accomplished?

As always, any information leading to an answer will be appreciated.

Regards,
Dan Allen
0
Comment
Question by:Danimal
4 Comments
 
LVL 3

Expert Comment

by:Bahnass
ID: 7044689
I think U can take a look on Setup1 Project of Visual studio make changes to it then compile it   to have Ur setup1.exe   to replace    P&D Wizard setup1.exe

in Ur setup1   U should make the shortcut

Hope this help
0
 
LVL 1

Author Comment

by:Danimal
ID: 7044731
Bahnass,  I am sorry, but I have no idea what you are talking about.
0
 

Expert Comment

by:CarlJWhite
ID: 7044780
0
 
LVL 32

Accepted Solution

by:
bhess1 earned 50 total points
ID: 7045019
I have done this with the Package and Deployment Wizard myself.  However, it involves editing the code (provided with VB) for the Setup1.EXE portion of the package.

If all you need is to add an icon, the code shown in the freevbcode link above will do the trick, or the Visual Installer will.  Since we needed to do some other custom items (e.g. disable an old startup item if it existed, modify an existing INI file, if it existed, etc.), we found it easier to modify the Setup1 code instead of using the VS Installer.
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question