Deploying an optional desktop shortcut

How do I provide the option to add a desktop shortcut in a deployment project

I added a Checkboxes UI in the Start group before Installation Folder.
I created a shortcut and moved it to the User's Desktop folder.
I set the Condition property of User's Desktop to CHECKBOXA1, CHECKBOXA1=1, CHECKBOXA1=Checked but none of these work.
 
There is no Condition property on the shortcut itself, or am I missing something.



Answer this question

Deploying an optional desktop shortcut

  • vispper

    Could you solve that problem Because I'm having the same problem (Visual Studio .NET 2005 Professional Beta 2)
  • Olaf Neuendorf

    Unfortunately, Windows Installer doesn't natively support Conditions on Shortcuts. I think if the target they point to isn't installed, then the shorcut won't be as well. Otherwise, it becomes a somewhat advanced Windows Installer authoring scenario to make it work the way you'd like.

     

     



  • Deploying an optional desktop shortcut