david

david

  • NA
  • 1
  • 0

Conditional deploy of shortcuts using C#/Visual Studio 2005 Beta

Jul 17 2005 1:33 PM
Hello - I am new to C# and have run into what seems to be a trivial issue - however i can't seem to find a solution. I am creating an installer for an application I built and I want the installer to prompt the user if he/she would like the installer to create a shortcut to the application 1) in the Start Up folder, 2) The programs menu 3) on the Desktop. I've added a Checkbox dialog with the previously mentioned checkbox items. My problem is I cannot addion conditional statements to the shortcuts to Primary Output (there is no conditional field in the Properties View). I try to add the conditionals to the refereces to the "Desktop Folder", "Startup Folder", and "Program Menu Folder" that contain the shortcut objects - however the shortcuts are always installed. I tried testing out my conditional by adding a JPG file with CheckBoxA1 = 1 and it worked. I just don't know how to add conditionals to Shortcut file that doesn't have a CONDITION field. thanks!