WPI: Check if the WebDeploy is installed

WPI: Check if download is completed successfully
WPI: LoadUserProfile on Windows 2003
This commit is contained in:
Sergey 2012-10-25 13:10:11 +03:00
parent 47ba8449ad
commit b19350e64d
6 changed files with 103 additions and 76 deletions

View file

@ -156,7 +156,10 @@ namespace WebsitePanel.EnterpriseServer
WebServer webServer = GetAssociatedWebServer(packageId);
if (!webServer.IsMsDeployInstalled())
{
TaskManager.WriteError("MsDeploy is not installed");
return Error<GalleryCategoriesResult>(GalleryErrors.MsDeployIsNotInstalled);
}
// get categories
result = webServer.GetGalleryCategories(SecurityContext.User.UserId);