void AddSolution(Solution sol)
        {
            SolutionAddinData data = sol.GetAddinData();

            if (data != null)
            {
                RegistryInfo reg = new RegistryInfo();
                reg.ApplicationName = data.ApplicationName;
                reg.CachedRegistry  = data.Registry;
                tree.AddChild(reg);
                registries [reg.CachedRegistry] = reg;
                solutions [sol] = reg;
            }
        }