IIS 8 support in installer
This commit is contained in:
parent
74d82950d3
commit
0200086e6f
13 changed files with 29 additions and 32 deletions
|
@ -561,7 +561,7 @@ namespace WebsitePanel.Setup
|
|||
// By default we fallback to the corresponding tool version based on the platform bitness
|
||||
var util = Environment.Is64BitOperatingSystem ? AspNet40RegistrationToolx64 : AspNet40RegistrationToolx86;
|
||||
// Choose appropriate tool version for IIS 7
|
||||
if (setupVariables.IISVersion.Major == 7 && setupVariables.SetupAction == SetupActions.Update)
|
||||
if (setupVariables.IISVersion.Major >= 7 && setupVariables.SetupAction == SetupActions.Update)
|
||||
{
|
||||
// Evaluate app pool settings on x64 platform only when update is running
|
||||
if (Environment.Is64BitOperatingSystem == true)
|
||||
|
@ -747,7 +747,7 @@ namespace WebsitePanel.Setup
|
|||
|
||||
public static void OpenFirewallPort(string name, string port, Version iisVersion)
|
||||
{
|
||||
bool iis7 = (iisVersion.Major == 7);
|
||||
bool iis7 = (iisVersion.Major >= 7);
|
||||
if (iis7)
|
||||
{
|
||||
//TODO: Add IIS7 support
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue