Пример #1
0
        public override void Setup()
        {
            base.Setup();

            WebAdministration.SetupApplicationPool(ServerName, ApplicationPoolName, ManagedRuntimeVersion, ManagedPipelineMode, ApplicationPoolUser, ApplicationPoolUserPassword);
            WebAdministration.SetupApplication(ServerName, SiteName, VirtualDirectoryPath, ApplicationPoolName, InstallationPath);
        }
 private void SetupAdditionalApplications()
 {
     WebAdministration.SetupApplication(ServerName, SiteName, VirtualDirectoryPath + "/Client", ApplicationPoolName, Path.Combine(InstallationPath, "Client"));
     ConfigureInnovatorIISWebApplication(SiteName + VirtualDirectoryPath + "/Client");
     WebAdministration.SetupApplication(ServerName, SiteName, VirtualDirectoryPath + "/NotificationServer", ApplicationPoolName, Path.Combine(InstallationPath, "Server"));
     ConfigureInnovatorIISWebApplication(SiteName + VirtualDirectoryPath + "/NotificationServer");
     WebAdministration.SetupApplication(ServerName, SiteName, VirtualDirectoryPath + "/Server", ApplicationPoolName, Path.Combine(InstallationPath, "Server"));
     ConfigureInnovatorIISWebApplication(SiteName + VirtualDirectoryPath + "/Server");
 }