Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Scott Hugh Alexandar Petersen 349 posts 164 karma points
    Oct 01, 2009 @ 10:47
    Scott Hugh Alexandar Petersen
    0

    Possible to create a package that depends on another? v4.0.2.1

    Hey everyone,

    I am trying to create a package that should depend on another package. So if the package depended on is not installed it should be installed first.

    Is this possible?

    Thanks.

  • Douglas Robar 3570 posts 4671 karma points MVP ∞ admin c-trib
    Oct 01, 2009 @ 11:03
    Douglas Robar
    0

    Not in the current package format. It's been discussed before and some of the issues raised included:

    • Impolite or improper to put someone else's package in your own package (though this can happen with permission, such as my XSLTsearch in Warren's excellent CWS package)
    • Difficult or impossible to handle new versions of dependent packages (should the new one be used, what if it breaks something you depend on, did the url change, is the old one still available at all, etc.)

    • Difficult to validate the dependencies in any useful way that would work with all packages

    The result was that this might be worth doing in the future but for now, simply note in your package that it depends on another package that should be installed first. That way the end user has full knowledge and control and each package is as clean and focused as possible.

    cheers,
    doug.

  • Scott Hugh Alexandar Petersen 349 posts 164 karma points
    Oct 01, 2009 @ 11:23
    Scott Hugh Alexandar Petersen
    0

    Thanks Doug,

    Not what I hoped for but you know, I had some sort of an idea that it was not possible.

    Scott

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies