WPI: Check if the WebDeploy is installed
WPI: Check if download is completed successfully WPI: LoadUserProfile on Windows 2003
This commit is contained in:
parent
47ba8449ad
commit
b19350e64d
6 changed files with 103 additions and 76 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue