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