This topic contains 3 replies, has 0 voices, and was last updated by pcutler 8 years, 6 months ago.

  • Author
    Posts
  • #4173

    ironside

    I’m new to bundles, but not new to packaging software on other platforms.

    My question: Is it possible to declare/enforce inter-bundle dependencies?

    For example, if I have two bundles, 1 and 2, and bundle 2 requires bundle 1 to be installed. When the user installs bundle 2, it should automatically install bundle 1.

    Can I declare that dependency somehow?

    What about if I want it to be an optional dependency (i.e. can an install script detect the presence of a particular bundle?)
    This is a cached copy. Click here to see the original post.

  • #4174

    mcelosa

    Currently, there’s no functionality that allows bundle dependencies. This would be an enhancement. Why would you need to declare dependencies though?

  • #4175

    ironside

    Imagine a set of bundle solutions that depend upon some core functionality. Then several bundles that require the core functionality. All of these would follow their own SDLC and are installable independently from the customer’s perspective.

    This is similar to dependency management in green-field programming environments, with pros and cons of course, but I’d like the option.

  • #4176

    pcutler

    While NetSuite doesn’t have this feature, it would be simple to script yourself:

    1. Create some customization object in bundle A to track that it is installed.

    2. In the before install method of the bundle installation script for bundle B, check for that customization object and throw an error if it is not present.

You must be logged in to reply to this topic.