Forum Discussion

Philip_Eve's avatar
Philip_Eve
Copper Contributor
Oct 19, 2021
Solved

Combining optional packages and modification packages

Hi. I've a question that relates to both optional packages and modification packages.   I have created a "related set" consisting of an .msixbundle (the main package) and an .msix (the optional pac...
  • JDHIntercede's avatar
    JDHIntercede
    May 26, 2022

    In case anyone is interested, and just so I don't leave another dangling thread, this is the redesign we've ended up going with:

    * All apps are included in the main package, but only the config tool has an entry point (ergo only one with a Start entry).
    * Optional packages add simple exes that launch the existing applications from the main container. The exes are registered as entry points, effectively allowing us to add Start entries for the apps that are already installed in the main package.
    * Since all the apps are actually in the main package, even though they are only enabled when the optional package is installed, they can all see any DLLs and whatnot that have been overlaid by modification packages relative to their assemblies - this means we can ship our separately licensed components without any problems.

    This works for us since there isn't any licensing issues with the apps themselves, just the components we want to ship in modification packages, and we really just wanted the admin to be able to choose what they add to the Start menu. The apps themselves aren't very big either, so including them all in the main package isn't a problem.

    Hopefully this is useful to anyone trying to do something similar. I'll also link here from the other thread for anyone getting here from a web search.

Resources