Results 1 to 2 of 2

Thread: Visual Studio Installer - Optional Icons.

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2003
    Location
    South Florida
    Posts
    3

    Visual Studio Installer - Optional Icons.

    Hi,

    Does anyone know a way to make a desktop or start menu icon optional in the VS Installer? I have the shortcuts in their appropriate locations in the File System Editor, but it seems that because the shortcuts themselves don't have a "Conditional" property, the custom dialog (radio buttons) I have in the UI editor to give the user an choice as to whether they want a desktop/start menu icon or not...doesn't work.

    The radio buttons, either 2 screens of 2, or 1 screen of 4 (if it's 2 dialogs, the first gives the choice for a desktop icon, second for a start menu icon...and if it's 4 radio buttons on the one dialog, then it's along the lines of: "Both Desktop and Start Menu", "Only on Desktop", "Only on Start Menu", or "No Desktop or Start Menu Icon") uses a property such as DESKICON and MENUICON or ICONS. In the File System Editor, the only Conditional property I can set is on the "User's Desktop" folder itself. So, for example, if I have just one dialog for the choices, I have the Conditional property of the folder (not the shortcut, because it doesn't have a Conditional property) as "[ICONS]=1 OR [ICONS]=2" (just without the quotes, and 1 is for both, 2 for just desktop, 3 for just start menu, 4 for neither). I've tried encapsulating it a number of ways in parentheses and without brackets, but that doesn't change anything, and I've even tried just "[ICONS]=1" but no matter what I do, it always puts an icon on the desktop and on the start menu.

    If anyone has any suggestions, they are most welcome,
    Thank you.

  2. #2
    Hyperactive Member
    Join Date
    Mar 2002
    Location
    Dublin (Ireland)
    Posts
    304
    I'm having the exact opposite problem. I create a shortcut in the installer and drag it to the desktop becuase that's what I want however when I try tioadd an icon to that shortcut, although I can select the icon file, it greys out the OK button and I can't update that property on the shortcut.

    Any ideas as to what I am doing wrong?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width