Merge
This commit is contained in:
commit
c76521c75a
1 changed files with 5 additions and 1 deletions
|
@ -323,10 +323,14 @@ namespace WebsitePanel.Setup.Actions
|
||||||
serviceInfo.Comments = string.Empty;
|
serviceInfo.Comments = string.Empty;
|
||||||
|
|
||||||
//check IIS version
|
//check IIS version
|
||||||
if (ServerSetup.IISVersion.Major >= 7)
|
if (ServerSetup.IISVersion.Major == 7)
|
||||||
{
|
{
|
||||||
serviceInfo.ProviderId = 101;
|
serviceInfo.ProviderId = 101;
|
||||||
}
|
}
|
||||||
|
else if (ServerSetup.IISVersion.Major == 8)
|
||||||
|
{
|
||||||
|
serviceInfo.ProviderId = 105;
|
||||||
|
}
|
||||||
else if (ServerSetup.IISVersion.Major == 6)
|
else if (ServerSetup.IISVersion.Major == 6)
|
||||||
{
|
{
|
||||||
serviceInfo.ProviderId = 2;
|
serviceInfo.ProviderId = 2;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue