Merge
This commit is contained in:
commit
f2bdb13d34
7 changed files with 48 additions and 39 deletions
|
@ -4868,7 +4868,7 @@
|
|||
<value>Web site "{1}" was not found</value>
|
||||
</data>
|
||||
<data name="Warning.WAG_CANNOT_INSTALL_APPLICATION" xml:space="preserve">
|
||||
<value>Selected application cannot be installed.</value>
|
||||
<value>Following dependencies may be missing:</value>
|
||||
</data>
|
||||
<data name="WebAppGallery.AspNet20Required" xml:space="preserve">
|
||||
<value>ASP.NET 2.0</value>
|
||||
|
|
|
@ -223,7 +223,7 @@ namespace WebsitePanel.Portal.ProviderControls
|
|||
wpiEditFeedsList.Value = settings["FeedUrls"];
|
||||
FilteredAppIds = settings["GalleryAppsFilter"];
|
||||
radioFilterAppsList.SelectedIndex = Utils.ParseInt(settings["GalleryAppsFilterMode"], 0);
|
||||
chkGalleryAppsAlwaysIgnoreDependencies.Checked = Utils.ParseBool(settings["GalleryAppsAlwaysIgnoreDependencies"], true);
|
||||
chkGalleryAppsAlwaysIgnoreDependencies.Checked = Utils.ParseBool(settings["GalleryAppsAlwaysIgnoreDependencies"], false);
|
||||
}
|
||||
|
||||
public void SaveSettings(StringDictionary settings)
|
||||
|
|
|
@ -16,7 +16,8 @@
|
|||
<asp:CheckBox ID="chIgnoreDependencies" runat="server"
|
||||
Text="Ignore dependency fail and install selected product anyway." Visible="false" AutoPostBack="True"
|
||||
oncheckedchanged="chIgnoreDependencies_CheckedChanged" />
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<div class="FormFooter">
|
||||
<asp:Button ID="btnInstall" runat="server" meta:resourcekey="btnInstall" Text="Install" CssClass="Button1" OnClick="btnInstall_Click" OnClientClick="ShowProgressDialog('Installing application...');"/>
|
||||
|
|
|
@ -64,9 +64,14 @@ namespace WebsitePanel.Portal
|
|||
if (appResult.ErrorCodes.Count > 0)
|
||||
{
|
||||
// app does not meet requirements
|
||||
if (appResult.ErrorCodes.Count > 1)
|
||||
{
|
||||
// remove "- Your hosting package does not meet..." message
|
||||
appResult.ErrorCodes.RemoveAt(0);
|
||||
}
|
||||
messageBox.ShowMessage(appResult, "WAG_CANNOT_INSTALL_APPLICATION", "WebAppGallery");
|
||||
chIgnoreDependencies.Visible = true;
|
||||
btnInstall.Enabled = false;
|
||||
chIgnoreDependencies.Visible = false;
|
||||
btnInstall.Enabled = true;
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue