Iâ??m trying to create an installer for an application. The installer has a
custom dialog with two checkboxes determining if shortcuts should get created
on the desktop and in the Start menu. Regardless what I do, and what I check
the shortcuts always get created in both.

In the User interface Setup I have:
Checkboxes (A):
Checkbox1Label Desktop
Checkbox1Property CHECKBOXA1
Checkbox1Value Unchecked
Checkbox1Visible True

In the FileSystem/Userâ??s Desktop I have the shortcut defined and the
properties are:
AlwaysCreate False
Condition CHECKBOXA1=Checked
Transitive True

I have tried all permutations of the condition I can think of (Checked, 1,
0, nothing) even named the checkboxes differently. Nothing helps. Can
somebody help?

Re: Installer Dialog problem by Bryan

Bryan
Sat Oct 28 12:45:05 CDT 2006

To test if the checkbox is checked, enclose 1 in quotes:

CHECKBOXA1 = "1"

Bryan Phillips
MCSD, MCDBA, MCSE
Blog: http://bphillips76.spaces.live.com




"cnickl" <cnickl@discussions.microsoft.com> wrote in message
news:FC5A3605-A213-43A9-9ABA-D992F0D0D5AD@microsoft.com:

> I'm trying to create an installer for an application. The installer has a
> custom dialog with two checkboxes determining if shortcuts should get created
> on the desktop and in the Start menu. Regardless what I do, and what I check
> the shortcuts always get created in both.
>
> In the User interface Setup I have:
> Checkboxes (A):
> Checkbox1Label Desktop
> Checkbox1Property CHECKBOXA1
> Checkbox1Value Unchecked
> Checkbox1Visible True
>
> In the FileSystem/User's Desktop I have the shortcut defined and the
> properties are:
> AlwaysCreate False
> Condition CHECKBOXA1=Checked
> Transitive True
>
> I have tried all permutations of the condition I can think of (Checked, 1,
> 0, nothing) even named the checkboxes differently. Nothing helps. Can
> somebody help?


Re: Installer Dialog problem by cnickl

cnickl
Thu Nov 09 10:22:02 CST 2006

i enclosed it i n quotes and it still installes the shortcuts regardless of
the checkbox.

"Bryan Phillips" wrote:

> To test if the checkbox is checked, enclose 1 in quotes:
>
> CHECKBOXA1 = "1"
>
> Bryan Phillips
> MCSD, MCDBA, MCSE
> Blog: http://bphillips76.spaces.live.com
>
>
>
>
> "cnickl" <cnickl@discussions.microsoft.com> wrote in message
> news:FC5A3605-A213-43A9-9ABA-D992F0D0D5AD@microsoft.com:
>
> > I'm trying to create an installer for an application. The installer has a
> > custom dialog with two checkboxes determining if shortcuts should get created
> > on the desktop and in the Start menu. Regardless what I do, and what I check
> > the shortcuts always get created in both.
> >
> > In the User interface Setup I have:
> > Checkboxes (A):
> > Checkbox1Label Desktop
> > Checkbox1Property CHECKBOXA1
> > Checkbox1Value Unchecked
> > Checkbox1Visible True
> >
> > In the FileSystem/User's Desktop I have the shortcut defined and the
> > properties are:
> > AlwaysCreate False
> > Condition CHECKBOXA1=Checked
> > Transitive True
> >
> > I have tried all permutations of the condition I can think of (Checked, 1,
> > 0, nothing) even named the checkboxes differently. Nothing helps. Can
> > somebody help?
>
>