Conditional Installation feature in Setup project does not work .N

From: John K (JohnK_at_discussions.microsoft.com)
Date: 11/05/04

  • Next message: Manuel: "'multipart/form-data' post"
    Date: Fri, 5 Nov 2004 13:07:02 -0800
    
    

    Hello.

    It appears that the "condition" feature does not always work in a "Setup and
    Deployment Project" (e.g. Setup program) created by VS.NET 2003. It seems to
    work for files in the "Application Folder" (e.g. "File System (Setup)" part
    of deployment project), but not for folders I have created in the "User's
    Programs Menu". It seems to ignore the condition setting and always install.
     Specifically, I have added a custom dialog box to my installer, per the
    article:

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsintro7/html/vxconRadioButtonsUserInterfaceDialogBox.asp

    I then refer to the Radiobuttons in the "Condition" part of the "File
    Installation Properties". Again, when I do this for a file in the
    "Application Folder", it works properly. When I set the same Condition
    property to the same setting for a folder underneath the "User's Programs
    Menu", it ignores the setting and always installs the folder and shortcuts
    within the folder.

    I need to selectively install shortcuts to the application program, based on
    what the operator chooses in a RadioButton dialog box. Each shortcut uses
    different command line parameters to my application, that's why I need
    different shortcuts.

    Also, how do I selectively install shortcuts on the "User's Desktop"? There
    isn't a "Condition" property for an application shortcut in the "User's
    Desktop" folder.

    Thank you


  • Next message: Manuel: "'multipart/form-data' post"
    Loading