Solved

Package and Deployment:  Putting an Icon on the Desktop

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

757 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

18 Experts available now in Live!

Get 1:1 Help Now