473,396 Members | 1,990 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,396 software developers and data experts.

Deployment Project - Creating Desktop Shortcut

I can't seem to get my head around the Visual Studio's Deployment Projects:

I want the user, at install-time, to be able to specify if they want a icon
placed on the desktop or not (I'm trying to use Checkboxes(A)). Seemingly
you can just place the Checkbox1Property Name into the User's Desktop
Condition but that does not work. I actually saw an article that highlighted
this process as "the way to do it", so I downloaded the source and it didn't
work (it didn't conditionally add the shortcut...it always added the
shortcut). I created an Installer Class and I'm writing data back into it
through the use of Custom Actions, but I don't want to create shortcuts
programmatically if I can avoid it. Isn't there an easier way? Is there a
way to create a Custom Property so I can write a value to it? It doesn't
seem like the Condition property of the User's Desktop even works properly
(is this a bug?)...

(I'm running ms devenv 2003 ver 7.1.3088)

Thanks!!!
Nov 22 '05 #1
4 3810
I think you trying to create something like Installshield.
Unfortunately VS.NET deployment looks nowehere close to that and does
not have those features either but we dont have to shell out a large
chunk of our wallet for that. I think you might find this link helpful

http://www.vbdotnetheaven.com/Code/Jun2003/2006.asp

Nov 22 '05 #2
Why then is there a Condition Property under the Properties for User's
Desktop?

"am*********@gmail.com" wrote:
I think you trying to create something like Installshield.
Unfortunately VS.NET deployment looks nowehere close to that and does
not have those features either but we dont have to shell out a large
chunk of our wallet for that. I think you might find this link helpful

http://www.vbdotnetheaven.com/Code/Jun2003/2006.asp

Nov 22 '05 #3
The condition property may be used for what you are attempting, only if, the condition is evaluated before the shortcut is created.
I'm not sure if it's occuring in that order and I'm almost positive that you don't have control over that in VS.NET.

Are you creating the shortcut in the file editor? Is the checkbox form you've added before the installation begins?

When defining the name of your checkbox, as PropName1, use it in the condition as [PropName1]. Note, it's case sensitive.

Hope it helps ;)

--
Dave Sexton
dave@www..jwaonline..com
-----------------------------------------------------------------------
"NaterPotater" <Na**********@discussions.microsoft.com> wrote in message news:58**********************************@microsof t.com...
Why then is there a Condition Property under the Properties for User's
Desktop?

"am*********@gmail.com" wrote:
I think you trying to create something like Installshield.
Unfortunately VS.NET deployment looks nowehere close to that and does
not have those features either but we dont have to shell out a large
chunk of our wallet for that. I think you might find this link helpful

http://www.vbdotnetheaven.com/Code/Jun2003/2006.asp

Nov 22 '05 #4
I couldn't ever get it to work. So, I gave up. The user gets the shortcut
no matter what, I've noticed several "newer" installs have decided to do the
same thing; kinda makes you wonder...

Thanks!

"Dave" wrote:
The condition property may be used for what you are attempting, only if, the condition is evaluated before the shortcut is created.
I'm not sure if it's occuring in that order and I'm almost positive that you don't have control over that in VS.NET.

Are you creating the shortcut in the file editor? Is the checkbox form you've added before the installation begins?

When defining the name of your checkbox, as PropName1, use it in the condition as [PropName1]. Note, it's case sensitive.

Hope it helps ;)

--
Dave Sexton
dave@www..jwaonline..com
-----------------------------------------------------------------------
"NaterPotater" <Na**********@discussions.microsoft.com> wrote in message news:58**********************************@microsof t.com...
Why then is there a Condition Property under the Properties for User's
Desktop?

"am*********@gmail.com" wrote:
I think you trying to create something like Installshield.
Unfortunately VS.NET deployment looks nowehere close to that and does
not have those features either but we dont have to shell out a large
chunk of our wallet for that. I think you might find this link helpful

http://www.vbdotnetheaven.com/Code/Jun2003/2006.asp


Nov 22 '05 #5

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

Similar topics

0
by: Jony Joe | last post by:
Dear All; I am now making a deployment package using the .net deployment setup project. It is a desktop application that its solution contains 7 projects that generate DLLs and EXEs...
4
by: NaterPotater | last post by:
I can't seem to get my head around the Visual Studio's Deployment Projects: I want the user, at install-time, to be able to specify if they want a icon placed on the desktop or not (I'm trying to...
2
by: Steve Long | last post by:
Not sure if this is the correct group to post this in, but here goes anyway. I'm creating a setup package for my vb.net desktop application (2003 version) and I'm having trouble with a couple of...
3
by: TC | last post by:
I've written an application using VB.NET 2003 and packaged it with a deployment project. When I use the setup program to install the application, however, it doesn't work. More specifically, the...
7
by: GrandpaB | last post by:
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...
1
by: ComputerGuyCJ | last post by:
I have an application that I've used click-once deployment to publish out to a shared network path. From there I installed the app on a few client machines, including my own. Since then I published...
0
by: peter.bittner | last post by:
I have developed a Windows application in Visual Studio .NET 2003 and created a Setup project for it. In the File System Editor I have added a shortcut to the User's Desktop folder to point to the...
0
by: Michael7taylor | last post by:
Hi All, This one is doing me in. I have a deployment project that install my app just fine, creating a shortcut the points to the Primary Output and places it on the the desktop of all users. ...
11
by: JFB | last post by:
Hi All, I have done my little vb.net 2005 app, it includes a dll as reference. How can I deploy my app? How can I include my dll? Thanks JFB
3
by: KennethLundin | last post by:
Hi, i'm developing a solution in VS9/CSharp. Now I'm constructing a deployment project for my appliation (thick, database driven, winforms, standard, good old type of application). During...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: 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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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...

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.