Solved

Package and Deployment:  Putting an Icon on the Desktop

Posted on 2002-05-30
4
162 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
 
LVL 32

Accepted Solution

by:
Brendt Hess 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses
Course of the Month8 days, 17 hours left to enroll

615 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