The conditions in VS don't really apply to files. Strictly speaking they apply
to MSI components, and it turns out that VS has the shortcut to a file and the
file itself in the same MSI component, which is fine, except that it means you
can't separate installing the shortcut from installing its target. You probably
need a custom action (it can be VBScript using the WSHShell object. Article
244677 would be useful.

Signature
Phil Wilson [MVP Windows Installer]
----
> Hi
>
[quoted text clipped - 8 lines]
>
> John
John O'Neill - 25 Feb 2004 09:00 GMT
Thanks for your help Phil. You've given me enough information to resolve my
problem.
> The conditions in VS don't really apply to files. Strictly speaking they apply
> to MSI components, and it turns out that VS has the shortcut to a file and the
[quoted text clipped - 14 lines]
> >
> > John
Mike Wade [MSFT] - 27 Feb 2004 00:54 GMT
An alternative is to do something along the lines of what John did to begin with. Except you should add two copies
of the file to your setup project. Create a shortcut to one of the files. Set the condition for that FILE to "CHECKBOXA1
= 1", and the condition to the other file as "CHECKBOXA1 = 0"

Signature
Mike Wade, VB Team
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: "Phil Wilson" <phil.wilson@unisys.spamcom>
>Subject: Re: MSI optionally creating shortcuts during installation
[quoted text clipped - 18 lines]
>>
>> John