checkbox - IgnoreDependencies for Application
This commit is contained in:
parent
7d10a750a0
commit
8242d5e8d3
1 changed files with 8 additions and 2 deletions
|
@ -251,7 +251,13 @@ namespace WebsitePanel.Providers.Web.WPIWebApplicationGallery
|
||||||
public GalleryWebAppStatus DownloadAppAndGetStatus(int UserId, string id)
|
public GalleryWebAppStatus DownloadAppAndGetStatus(int UserId, string id)
|
||||||
{
|
{
|
||||||
WpiHelper wpi = GetWpiHelper(UserId);
|
WpiHelper wpi = GetWpiHelper(UserId);
|
||||||
wpi.InstallProducts(new[] { id }, null, null, null);
|
wpi.InstallProducts(
|
||||||
|
new[] { id },
|
||||||
|
false, // do not install dependencies
|
||||||
|
null,
|
||||||
|
null,
|
||||||
|
null
|
||||||
|
);
|
||||||
|
|
||||||
return GalleryWebAppStatus.Downloaded;
|
return GalleryWebAppStatus.Downloaded;
|
||||||
}
|
}
|
||||||
|
@ -387,7 +393,7 @@ namespace WebsitePanel.Providers.Web.WPIWebApplicationGallery
|
||||||
Summary = product.Summary,
|
Summary = product.Summary,
|
||||||
LastUpdated = product.Published,
|
LastUpdated = product.Published,
|
||||||
Published = product.Published,
|
Published = product.Published,
|
||||||
Link = (null == product.Link) ? "" : product.Link.ToString(),
|
Link = (null==product.Link) ? "" :product.Link.ToString(),
|
||||||
InstallerFileSize = size
|
InstallerFileSize = size
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue