473,407 Members | 2,676 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Create a desktop shortcut in a Setup project

I would appreciate assistance learning how to create a Desktop shortcut in my
setup project.

In the left pane of the Setup/File System window I right-clicked User's
Desktop. From the contex menu I clicked Create Shortcut to User's Desktop.
In the right pane of the setup/File System window the object Shortcut to
User's Desktop appeared. When I selected the object and checked it's
properties the Target and WorkingFolder are User's Desktop. When I install
the application the desktop shortcut is a shortcut to the desktop and not to
the application. When I attempt to modify the Tartet and WorkingFolder
properties my only choices are the three folders Application Folder, User's
Desktop and User's Program Menu.

I'm sure that these two properties must point to the application, but how is
this done?

Thanks

--
GrandpaB
Dec 3 '05 #1
7 31180
Grandpa,

I am always fighting with it to. However, I first to create two shortcuts
using the rightclick on the application and than in those set the properties
of those and than drag it to the ones where they should be on the left.

That is the way I do it, obviously there will be more.

Cor
Dec 4 '05 #2
create the shortcut ( right click on the executable ) and then drag this to
the required place
hth

Michel
"GrandpaB" <Gr******@discussons.microsoft.com> schreef in bericht
news:A2**********************************@microsof t.com...
I would appreciate assistance learning how to create a Desktop shortcut in
my
setup project.

In the left pane of the Setup/File System window I right-clicked User's
Desktop. From the contex menu I clicked Create Shortcut to User's
Desktop.
In the right pane of the setup/File System window the object Shortcut to
User's Desktop appeared. When I selected the object and checked it's
properties the Target and WorkingFolder are User's Desktop. When I
install
the application the desktop shortcut is a shortcut to the desktop and not
to
the application. When I attempt to modify the Tartet and WorkingFolder
properties my only choices are the three folders Application Folder,
User's
Desktop and User's Program Menu.

I'm sure that these two properties must point to the application, but how
is
this done?

Thanks

--
GrandpaB

Dec 4 '05 #3
Michel,

Thanks for your reply. I'm sorry to be so dense, but I do not understand
you reply. I created a shortcut in the Art Project by right-clicking on the
executable Art.exe in in the bin folder. The properties of the shortcut
appeared to be correct for running the application on my system. I made
several attempts to add this shortcut to my ArtSetup project but they were
all unsuccessful.

1.) I could not drag the shortcut from the bin folder of the Art Project to
the File System window of the ArtSetup Project.

2.) I created the shortcut in the ArtSetup Project as I had in the past, but
I could not copy the properties of the shortcut in the Art Project bin folder
to the shortcut in the ArtSetup Project File System window.

3.) Instead of creating a shortcut in the ArtSetup Project, I added the
shortcut file from the Art Project bin folder to the User's Desktop folder in
the File System Window of the ArtSetup Project. This put Art.exe, an
Assembly, in the User's Desktop folder, not a shortcut.

I would appreciate some clarification on how include the shortcut in my
ArtSetup Project and how to set the properties of the shortcut.

Thanks
--
GrandpaB
Dec 4 '05 #4
Cor,

Thanks for your reply. I'm sorry to be so dense, but I do not understand
you reply. I created a shortcut in the Art Project by right-clicking on the
executable Art.exe in in the bin folder. The properties of the shortcut
appeared to be correct for running the application on my system. I made
several attempts to add this shortcut to my ArtSetup project but they were
all unsuccessful.

1.) I could not drag the shortcut from the bin folder of the Art Project to
the File System window of the ArtSetup Project.

2.) I created the shortcut in the ArtSetup Project as I had in the past, but
I could not copy the properties of the shortcut in the Art Project bin folder
to the shortcut in the ArtSetup Project File System window.

3.) Instead of creating a shortcut in the ArtSetup Project, I added the
shortcut file from the Art Project bin folder to the User's Desktop folder in
the File System Window of the ArtSetup Project. This put Art.exe, an
Assembly, in the User's Desktop folder, not a shortcut.

I would appreciate some clarification on how include the shortcut in my
ArtSetup Project and how to set the properties of the shortcut.

Thanks
--
GrandpaB

Dec 4 '05 #5
Granpa,

Assuming that you have added an setup project to your application. (That you
have done Action Add Project output),

Than in the left frame the *application folder* is the selected one and in
that folder is the "Primary Output", (Don't ask me why here is chosen
"Primary Output", I absolutely don't understand that).

Than you right click on the created "primary output" in the pane and tell to
create a shortcut
From that you change the name to your program name, you set the
properties and drag that one to the window that normally is by default open
File Stystem on the left "User Desktop". (In advance you can set an icon and
set other properties of that shortcut).
You do this again however than drag it to the folder User's Program menu
in the left.

Don't forget without selecting anything to open the properties (if you
select something you get the wrong properties)

More confusing are some other properties select the setup project (header)
in the solution explorer *do not right click*, choose the properties
windows. Than you find one of the best hidden properties of VS2002/2003

I hope this helps,

Cor

Dec 4 '05 #6
>
Assuming that you have added an setup project to your application. (That
you have done Action Add Project output),

And after that than you have done...........................

Cor
Dec 4 '05 #7
Cor,

Thanks, that did it! I am glad to learn that someone besides me was
confused by this. Your help has been greatly appreciated!

Thanks
--
GrandpaB
Dec 4 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Eskimo Joe | last post by:
I am trying to create a desktop icon using VB6. is this possible? -p
1
by: haiwen | last post by:
Hello, everyone I have a asp.net project that includes couple aspx files and Lesson1 and Lesson2 folders Both Lesson1 and Lesson2 include Text folder and Audio folder After I add a web setup...
2
by: Aurimas Norkevicius | last post by:
I have two web projects and a class library in the same solution. Both web projects uses class library dll. How to create a web setup project to install class library into client computers gac and...
0
by: Lars Netzel | last post by:
I'm creating a setup project for my application so that users will have a proper installation. In the installation I need to copy a database over to the clients D:\ partition and create a folder...
0
by: segal.aviad | last post by:
Hi, I'm trying to create a customized setup project for my application. I want to write a setup project which will install several merge modules (- this I know how to do). Before running the...
2
by: Rabbit | last post by:
I like the feature of "Publish Web Site", because it can deploy a compiled version of my web solution. But currently I need to deploy Crystal report onto IIS with only .Net 2.0, so I'm trying to...
0
by: Philip Wagenaar | last post by:
I have developed a solutution for excel. Now I created a setup project to install everything which works fine. Only thing is that I want to create a shortcut the excel sheet. How can I do this? It...
1
by: goose28 | last post by:
Instructions for creating a silent install project in Visual Studio.NET 2003 for "All Users". 1) Create a default setup project for your application using Visual Studio (File/New/Setup and...
2
by: urrahul | last post by:
Hi All, Iam using the following JavaScript to create desktop shortcut function createShortcut() { if (ActiveXObject) { // Create desktop shortcut WshShell = new ActiveXObject(...
1
by: Mosa | last post by:
Dear all, I want to create a desktop shortcut using this code function MakeShortcut() { var WshShell = new ActiveXObject("WScript.Shell"); strDesktop = WshShell.SpecialFolders("Desktop");...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.