By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,905 Members | 902 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,905 IT Pros & Developers. It's quick & easy.

Create a desktop shortcut in a Setup project

P: n/a
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
Share this Question
Share on Google+
7 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
>
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.