Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Setup / July 2006

Tip: Looking for answers? Try searching our database.

Setup & Deployment projects - Custom dialogs

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Alec MacLean - 06 Jul 2006 12:18 GMT
Hi,

My config is: VS2005 Pro.

I've got a small Winform project, to which I've added a setup project.  I've
used these before in their most basic form, and I decided it was time to
learn what the customisation features allow, so I decided I'd add the option
for the user to choose to have a shortcut set on the desktop - a common
feature in many setup programs.

In the User Interface Editor, I've added a "Checkboxes" dialog.  This sits
between Welcome and Installation. (Although you can create it at any
position, the Studio gives an error warning that "All custom dialogs must
precede the Installation Folder dialog".)  This new Checkboxes (A) dialog
contains just the one visible checkbox, Checkbox1.

The Checkbox1Property is the default of "CHECKBOXA1", which is set as
unchecked (again the default state).

In the File System Editor I've created a shortcut in the "User's Desktop"
container, pointing to the application's primary output.

So I should be able to set the Condition for the "User's Desktop", so that
the shortcut is only installed if the checkbox is checked, am I right?
There doesn't seem to be a conditional for the individual shortcut item,
just the container it's in (User's Desktop).

This is where I need help - it seems that no matter what Condition logic I
set, I always get the shortcut on the desktop, regardless of the state of
the checkbox.

The help files for this aspect of VS2005 are a little obtuse on the subject
and thin on examples of this (seemingly simple) task.

I've tried the following conditions:

CHECKBOXA1
=CHECKBOXA1
CHECKBOXA1=TRUE

Am I missing something obvious?

Thanks for any help.

Alec
Phil Wilson - 06 Jul 2006 16:23 GMT
See vstudio.setup.
Signature

Phil Wilson
[Microsoft MVP-Windows Installer]

> Hi,
>
[quoted text clipped - 44 lines]
>
> Alec

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.