Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Package and Deployment:  Putting an Icon on the Desktop

Posted on 2002-05-30
4
Medium Priority
?
164 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
 
LVL 32

Accepted Solution

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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

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…
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…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…
Suggested Courses
Course of the Month11 days, 11 hours left to enroll

916 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