Enabling IIS with Advanced Installer - iis

I've created install-shield using Advance Installer. One of the features that my install-shield enabling is IIS.
I'm using this shield on customer's servers to check if required software is installed. If the software is not installed install-shield will install it.
IIS is among those software.
I'm not shure how this IIS enabling is working. When no IIS is present on the machine install-shield enables it flawesly. But when it already enabled what happens then? Does install-shield will pass through without any action or it will enable the basic IIS features (features that would be enabled if the IIS were not existed).
I'm afraid to use this install-shield on customer server (where IIS is already installed) because I don't know what it will do. I'm afraid it will disable some IIS features that will affect the current server working state. I don't want to take any chances, I have to know if the install-shield just skips the IIS installation when it already installed or doing something else.
Thank you.

You should use the predefined support to install Windows Feature Bundles.
Using this support you can easily select which OS feature should be enabled and also set custom conditions. On our YouTube channel you can find examples/tutorials:
in the following example you see exactly how IIS is configured for enabling
here is also a more generic video, with a walkthrough over the built-in support from Advanced Installer for enabling Windows Features
Also, here is related topic on StackOverflow that might interest you.

Related

Missing inetmgr.exe file

I'm a newbie here and have found some of the material really useful. However, I can't seem to resolve this issue: I'm running Windows 7 Professional and don't have an inetmgr.exe file in C:\Windows\System32\inetsrv. I have a number of iis... files but no inetmgr.exe file.
The bigger picture is that I'm trying to get Apache and PHP working on my laptop and am going round in circles trying to get Localhost to work. I keep getting "Webpage cannot be found" and searching the net has led me to believe the inetmgr.exe file might be key to resolving the problem. That and port 80 might be involved somewhere....
In case you haven't already picked this detail up, I am way, way, way out of my comfort zone with this but I really need to get this working for a course I'm taking.
Thank in advance for any light you may be able to shed.
Install IIS:
Control Panel -> Programs and Features -> Turn Windows Features on or off -> Check "Internet Information Services". Select next and follow prompts to Install IIS.
For more info, see this Q&A to check for and install IIS, Check whether IIS is installed or not?
Since this question is the first Google search result for inetmgr not found, and since it can be quite puzzling to not be able to find inetmgr even if the web service seems to be working correctly, I thought I'd annotate it with the most obvious answer for those who actually need the IIS Manager: you have to install the Manager separately from WWW service (it is a separate option to installing IIS WWW service itself).
[Windows 8.x]
First, type IIS in the Start page: if you see Internet Information
(IIS) Manager, you are good to go. If not...
Go to Control Panel, "Programs and Features", then click "Turn
Windows features on or off" in the left pane.
In the "Windows Features" dialog that pops up, make sure that under
"Internet Information Services" you have "Web Management Features"
checked in addition to "World Wide Web Services". (Technically, you
just need "IIS Management Console" under "Web Management Features"
to be checked).
Don't forget to click OK in the "Windows Features" dialog. :-)
Now go to Step #1 and you should see Internet Information (IIS)
Manager as an available icon.
Inetmgr.exe is the executable for IIS. If you are trying to just have Apache and PHP work, you can use WAMP server - this will give you everything you need to start developing with PHP. The site is: http://www.wampserver.com/en/
IIS is a web server and Apache is a webserver too. If you want to use Apache, you donèt need to have IIS installed.
You need to install iis first.
http://www.iis.net/learn/install/installing-iis-7/installing-iis-on-windows-vista-and-windows-7
In windows server 2008 R2 I found IIS Server under Roles, not features

ColdFusion10 Developer and Windows7 (IIS7.5)

I am trying to learn ColdFusion and have installed the developer edition (CF10) on my Win7 computer and this brings up the localhost administrator page correctly but I have a test helloworld.cfm file in inetpub/wwwroot and when I try & access this with localhost/helloworld.cfm windows opens a dialogue box saying what program should open this .cfm file?
(in IIS Mime type there is none for .cfm & when I tried to add one it didn't work...).
Several posts on the internet say ensure IIS has CGI enabled and ISAPI Extensions
IIS Metabase and IIS 6 configuration compatibility which I have.
I'm not sure what is wrong here-can anyone advise me clearly & simply if I can view and use .cfm in IIS & how?
We know IIS is the problem because your administrator works, so CF is running correctly.
What I do is the following
create a site in IIS, just basic. no setting changes
install coldfusion 10
During install coldfusion will ask me if it has to configure all current IIS sites
if you let it do that, it should all work like a charm.
Did you do it like this?
I would uninstall and re-install as something must have gone wrong connecting IIS to COldFusion
CF10 does not require the IIS 6 compatibility. If you don't need that for any other web technology connections, then remove that. You do need CGI, .Net Extensibility, ASP.NET, ISAPI Extensions and ISAPI Filters. I believe the connector configurator for ColdFusion especially uses the .Net Extensibilty to "wire things up".

Detect whether certain IIS features are present from InstallScript

I have an InstallScript project written in InstallShield 2010, which, amongst other things, shells out to several .NET MSI installers that install web apps. If any of these web apps are selected for installation by the end user, I need to check for the following optional IIS features from InstallScript code before allowing the install to proceed:
ASP.NET (IIS 6+)
WCF HTTP Activation (IIS 7+)
IIS Metabase and IIS 6 configuration compatibility (IIS 7+)
Can anyone point me in the right direction please? Ideally I'm looking for registry values that I can check directly from InstallScript code, but I guess some kind of WMI or COM check would be OK as well.
PS: In case it's relevant, we need to support all versions of IIS from 5.1 onwards at this time. If 5.1 support is a problem, we may consider dropping it if we have to.
Microsoft provides Powershell cmdlets for IIS 7,
http://technet.microsoft.com/en-us/library/cc732757.aspx
But for IIS 5.* and IIS 6, you are almost on your own (have to scan registry keys or %windir%\system32\inetsrv folder).

How to develop a snap-in for IIS 6.0 manager in MMC 2.0

I have some IIS 6.0 filters and extensions that I need to create a configuration panel for in IIS Manager. I need to create something similar to the ASP.NET tab, for instance.
I need to support versions of Windows Server 2003 prior to R2, and can't assume that they will have the MMC 3.0 update installed, so I guess I have to do it with unmanaged C++.
I've read up on MMC snap-ins, and I have a very basic idea of how they work, but I'm not sure about how to get one that is loaded as a tab in the IIS Manager. I'm thinking that maybe an "extension snap-in" is what I need, but I'm not positive.
So, I'm looking for any kind of documentation, literature, tutorials, examples, etc on how to do something like this. Any ideas?
There isn't much out there on how to do this....
Here's a link to the MMC 2.0 guides:
http://msdn.microsoft.com/en-us/library/aa815085(v=VS.85).aspx
Here's a link on extending IIS via snap-ins:
http://msdn.microsoft.com/en-us/library/aa814685(VS.85).aspx
About the only tutorial out there from what I could find but it is not specific to IIS....
http://msdn.microsoft.com/en-us/magazine/cc301779.aspx
This isn't the answer you're looking for, but it's the answer you need to hear:
MMC 2.0 is no longer supported by Microsoft.
MMC 3.0 is included with Windows Server 2003 Service Pack 2, which is the only remaining service pack release supported by Microsoft. Do you really have customers that refuse to upgrade to Server 2003 Service Pack 2? It came out 3.5 years ago and represents the best the Server 2003 platform has to offer in terms of security, performance, and software compatibility. It's also the only release that continues to receive security updates for IIS.
And if there are people out there that refuse to upgrade to 2003 SP2 due to specific compatibility concerns, do you really think they're going to jump at the opportunity to pay you and install your snap-in on their servers?
Probably not.
So save yourself a lot of grief, and position yourself well for the future -- do your development in MMC 3.0.
Unfortunately, there is no way to do what you are asking. You can create a snap-in/extension for MMC, but you will not be able to extend the IIS snap-in.

Configuring IIS on Windows Vista Home Edition

My friend accidentally bought a laptop with Windows Vista Home Basic Edition. He figured out how to install IIS on it, but it doesn't seem to have either the management console or the admin tools. Is there any way for him to configure a site or import an IIS 6 config file?
EDIT: "Windows Vista Home Edition" --> "Windows Vista Home Basic Edition".
Not entirely certain here, but start the IIS console on another machine and tell it to connect to the laptop? The normal management console snap-ins all support remote operation.
Yu need to go back into Windows Component Setup and choose to install the Managemnet console(s).
Control Panel>Programs->Turn Windows Feature on and off.
You will see Internet Information Services in there, go under there and you will find the management console(s).
And yes, they are available to be installed on Vista Home. Once installed you can setup by opening Control Panel->Adminstrative Tools and you will see the IIS manager in there.
Per Microsoft Technet, IIS Management Console is unavailable on Windows Vista Home Basic and Starter Editions though it is available on Home Premium and above. And I can confirm it doesn't appear in the list of options when I install IIS.
Okay, not being on Vista I don't know for sure, but on XP the application which controls IIS is %SystemRoot%\system32\inetsrv\iis.msc. Perhaps hunting around for iis.msc would be a first step.
You should be able to do an upgrade to home premium. I'm pretty sure it's available at quite a low cost. My Home Basic laptop came with a CD that had all the necessary stuff for upgrading to a different version of Windows (I upgraded to Linux). If you really want IIS to do development work, you should really upgrade. Or if you just want .Net, you can install VS.Net Express and use the development server.

Resources