Tags "iis" Result

Execute different command in Inno Setup Run section based on Windows version

I need to know if the Windows is XP, 7, 8, 2003, 2008 or 2012, because depends on version I will run a specific command. I tried to install IIS in Windows 2008, but it did not work. I tried in Windows 2012 and it worked normally. Filename: pkgmgr; Parameters: "/iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-Defaul

it1352 0 2020-11-28

Using pkgmgr to install IIS 7

I am using following custom action to install IIS 7 using .msi if its not already installed on targeted system. I am getting following errror and my installation fails. I have used quite a few CA in my msi and all work well. However for this one I am not able to figure out what the problem could be? Executing this command directly on cmd prompt wor

it1352 0 2020-11-26

Install IIS with Inno Setup

I'm trying install IIS with Inno Setup, but I'm getting various errors. I tried command on DOS and works: start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-ManagementService;IIS-CGI;IIS-RequestFiltering;IIS-ASPNET;IIS-HttpLogging;IIS-NetFxExtensibility;IIS-HttpErrors;IIS-DefaultDocument;IIS-ISAPIExtensions;IIS-ISAP

it1352 1 2019-05-21

Better way to install IIS7 programmatically

I have a webapp installer that installs all of its prerequisites, which includes IIS 7 too. Since IIS doesn't come as a prerequisite in a Visual Studio setup project, I came up with the following code to install IIS from code (targeting Windows Vista and 7). private string ConfigureIIS7() { string output = string.Empty; if (Environment.OS

it1352 5 2019-05-06

IIS Express vs Default IIS that comes with Windows 7

I am new to the world of IIS and I wanted to know the following... I have heard about IIS Express. I run Windows 7 Ultimate and have installed the IIS that comes packaged with Windows 7. As a developer, is there any major benefit for me if I install IIS Express over the default IIS that comes with Windows 7 for .Net Web projects? Solution Here

it1352 2 2019-05-21

Programmatically enable (install) IIS

Sometimes there is a PC that doesn't have IIS. Either it disabled or either it not installed. In this case I need to enable it myself according to those steps. I'm trying to create application that will check if IIS is enabled (installed), and if not it will enable (install) it. I tried to install IIS using .msi files from here, but it asking m

it1352 7 2019-05-06

Blazor Client Side Signalr not working when Hosting to IIS

Is there any one who can point me in the right direction? When hosting my Blazor Client Side application to IIS the signalr is not working. In visual studio with IIS express it work as expected. I did setup IIS and deployed the application as indicated in the Microsoft documents. There is no console errors and the hub returns status code 200 whe

it1352 0 2020-09-21

GZip response on IIS Express

I want to compress responses coming from my IIS Express driven web application. We're using IIS Express as local development webserver and IIS on staging and on our build machines. I have found many guides on enabling gzipped responses on IIS but none for IIS Express. Is it even possible? Solution You can enable compression in IIS Express, just li

it1352 0 2020-11-21