Beispiel #1
0
        public override void Install(System.Collections.IDictionary stateSaver)
        {
            base.Install(stateSaver);

            var assembly               = Assembly.GetExecutingAssembly();
            var assemblyName           = assembly.GetName();
            var assemblyFullName       = assemblyName.FullName;
            var clientAssemblyFullName = assemblyFullName.Replace(assemblyName.Name, "Web.Management.PHP");

            InstallUtil.RemoveUIModuleProvider("PHP"); // This is necessary for the upgrade scenario
            InstallUtil.AddUIModuleProvider("PHP", "Web.Management.PHP.PHPProvider, " + clientAssemblyFullName);
        }
Beispiel #2
0
        public override void Uninstall(System.Collections.IDictionary savedState)
        {
            base.Uninstall(savedState);

            InstallUtil.RemoveUIModuleProvider("PHP");
        }