Could look at LOOT as inspiration for possible ways of implementing install order for mods: https://github.com/loot
LOOT is used with other tools for fallout and skyrim to optimize load order for plugins and mod files, having separate master lists for each game. Not sure it would directly translate, but might give ideas on how to do something similar with IE and EE games.