Community Forums
Results 1 to 5 of 5

Thread: Adding release flags to an upgrade: how do I make it work?

  1. #1
    Join Date
    May 2004
    Posts
    32

    Adding release flags to an upgrade: how do I make it work?

    Hi all,

    My question is: has anyone out there ever made the conditional inclusion of upgrade items in a build, using release flags, work?

    Here's my experience so far.

    I'm adding a minor upgrade to the latest release in a basic MSI project.

    The upgrade is only valid with the latest release, because it patches a file introduced in that release.

    Previous releases have one release flag, MAIN

    The latest release has two release flags: MAIN,UPGRADE1

    In the right hand panel of the minor upgrade designer, there's a panel 'Release Flags', which claims: "Associating a Release Flag with this item will allow you to optionally exclude it from the build."

    So I enter the flag UPGRADE1, expecting that that will only include the upgrade on the latest release.

    If I try to build a prior release, though, I get a patch validation error about the file introduced in the latest release.

    If I remove the upgrade item altogether, the validation error goes away. This suggests to me that my release flags are being ignored, and that the upgrade item is being included in all builds.

    Thanks,
    Tim

  2. #2
    Join Date
    Jun 2006
    Posts
    52
    Hi Tim,

    I am having a very similar problem where it seems that all features a being included despite release flags. Did you ever get to the bottom of this?

    Gerard

  3. #3
    Join Date
    Oct 2001
    Location
    Chicago, IL
    Posts
    81
    I have also found the same behavior to be true. This seems as if it should function the same as the Release Flags property at the Feature level, but the behavior exhibited is that it completely ignores the release flag property in the Upgrades view for any upgrade item.

    Any help from anyone at Macrovision?

  4. #4
    Join Date
    May 2002
    Location
    Chicago, IL
    Posts
    731
    This is a known issue, issue #1-DYE9O, that should be fixed in a future release.

  5. #5
    Join Date
    Sep 2009
    Posts
    194
    was this issue fixed ? I could still see the issue in IS 2014

Posting Permissions

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