Web app Gallery: 'ignore dependency fail' checkbox removed, warning message updated
This commit is contained in:
parent
aa3a358e46
commit
934a5a9107
3 changed files with 10 additions and 4 deletions
|
@ -4868,7 +4868,7 @@
|
||||||
<value>Web site "{1}" was not found</value>
|
<value>Web site "{1}" was not found</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Warning.WAG_CANNOT_INSTALL_APPLICATION" xml:space="preserve">
|
<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>
|
||||||
<data name="WebAppGallery.AspNet20Required" xml:space="preserve">
|
<data name="WebAppGallery.AspNet20Required" xml:space="preserve">
|
||||||
<value>ASP.NET 2.0</value>
|
<value>ASP.NET 2.0</value>
|
||||||
|
|
|
@ -16,7 +16,8 @@
|
||||||
<asp:CheckBox ID="chIgnoreDependencies" runat="server"
|
<asp:CheckBox ID="chIgnoreDependencies" runat="server"
|
||||||
Text="Ignore dependency fail and install selected product anyway." Visible="false" AutoPostBack="True"
|
Text="Ignore dependency fail and install selected product anyway." Visible="false" AutoPostBack="True"
|
||||||
oncheckedchanged="chIgnoreDependencies_CheckedChanged" />
|
oncheckedchanged="chIgnoreDependencies_CheckedChanged" />
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="FormFooter">
|
<div class="FormFooter">
|
||||||
<asp:Button ID="btnInstall" runat="server" meta:resourcekey="btnInstall" Text="Install" CssClass="Button1" OnClick="btnInstall_Click" OnClientClick="ShowProgressDialog('Installing application...');"/>
|
<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)
|
if (appResult.ErrorCodes.Count > 0)
|
||||||
{
|
{
|
||||||
// app does not meet requirements
|
// 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");
|
messageBox.ShowMessage(appResult, "WAG_CANNOT_INSTALL_APPLICATION", "WebAppGallery");
|
||||||
chIgnoreDependencies.Visible = true;
|
chIgnoreDependencies.Visible = false;
|
||||||
btnInstall.Enabled = false;
|
btnInstall.Enabled = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue