Solved

Package and Deployment:  Putting an Icon on the Desktop

Posted on 2002-05-30
4
158 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

930 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now