473,748 Members | 5,230 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 31260
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******@discu ssons.microsoft .com> schreef in bericht
news:A2******** *************** ***********@mic rosoft.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
27026
by: Eskimo Joe | last post by:
I am trying to create a desktop icon using VB6. is this possible? -p
1
1298
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 project for it. When I build the solution. I always receive Error: unable to pacakage Text folde Error: unable to package Audio folde
2
2763
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 those two projects to use that copy of dll from gac. Thank you, Aurimas
0
1279
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 called "database".. so after the instalaltion they have this.. "d:\database\database.mb" How do I do that.. I have in my setupproject right clicked on teh "File System on Target
0
1194
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 setup, I want the admin to have the ability to create a customized setup, containing which ever merge modules he choses to include from the merge module pool. I would like this application to compile into a setup msi file.
2
2756
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 create a web setup project to include crystal report merge assemblies files. The problem I'm having now is Web Setup Project (.msi) will include all source code files, how can I create such project with all source files compiled like "Publish Web...
0
1110
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 seems I can only create shortcuts to the project output which is a dll.
1
13105
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 Deployment Projects) 2) Add all your components and fully test your setup project using default setup dialogue especially selecting "All users" option in Application Location dialogue. 3) In Visual Studio 2003, highlight your setup project and right mouse...
2
2517
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( "WScript.Shell" ); strDesktop = WshShell.SpecialFolders("Desktop"); oShellLink = WshShell.CreateShortcut(strDesktop + "\\My Shortcut.lnk");
1
7794
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"); var oUrlLink = WshShell.CreateShortcut(strDesktop + "\Link to Help Page.url"); oUrlLink.TargetPath = "http://www.someurl.com"; oUrlLink.Save();
0
8991
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8830
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9324
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8243
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6796
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6074
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4606
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3313
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2783
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.