Installer Dialog problem

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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?
 
i enclosed it i n quotes and it still installes the shortcuts regardless of
the checkbox.
 
As a workaround, you could write a custom action to remove the shortcuts
if the checkbox is not checked. Still, I can't see anything wrong with
what you are doing.

I would suggest downloading Orca (it's a part of the Windows Installer
SDK) and opening your MSI file to see if the data matches your
selections in the setup project.

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