Fixed standalone installer to correctly detect IIS 8
This commit is contained in:
parent
285ad0499f
commit
4f1d23d310
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