IIS7 on Vista, which components do I need to install.
am 03.08.2007 12:20:02 von Vilhelm
I have made a simple WebService Application and a Windows Installer for it
using VS 2005.
When installing it on IIS7 on Vista, which IIS components to I need to turn
on to make the installer work?
With default components (and ASP.NET & .NET ) turned on, I get an installer
error "Installation incomlete. The installer was interrupted before
WebSetup1 could be installed".
With all components turned on, I get successful installation.
But I don't want to turn on more than I have to.
I want to distribute this installer to many users, so the installation
should run as smoothly as possible.
Thanks for any advice
Re: IIS7 on Vista, which components do I need to install.
am 04.08.2007 07:44:50 von Steve Schofield
Try uninstalling IIS7.0 using Server Manager and reinstalling the components
you want. Server Manager will make sure all the requirements are selected.
Best regards,
Steve Schofield
Windows Server MVP - IIS
http://weblogs.asp.net/steveschofield
"Vilhelm" wrote in message
news:4E9A0AE2-B9EB-43CE-BFE7-5789DDFFFCCE@microsoft.com...
>I have made a simple WebService Application and a Windows Installer for it
> using VS 2005.
> When installing it on IIS7 on Vista, which IIS components to I need to
> turn
> on to make the installer work?
>
> With default components (and ASP.NET & .NET ) turned on, I get an
> installer
> error "Installation incomlete. The installer was interrupted before
> WebSetup1 could be installed".
>
> With all components turned on, I get successful installation.
> But I don't want to turn on more than I have to.
>
> I want to distribute this installer to many users, so the installation
> should run as smoothly as possible.
>
> Thanks for any advice
Re: IIS7 on Vista, which components do I need to install.
am 04.08.2007 10:08:01 von Vilhelm
Thanks, but that didn't really answer my question.
What do you mean by "Server Manager"?
I am trying my installation on a Vista Business computer.
Using the "Windows Features" dialog, I experimented with turning components
of IIS on and off, and finally figured out that I had to turn on IIS 6
compatibility to make my WebService install.
So now I am left with two other questions:
1.
Why do I have to enable IIS6 compatibility in IIS7 on Vista to be able to
install a WebService that was built with VS2005 on XP?
Is it supposed to be this way, or is there something I could do when
building my WebService to make it IIS7 compatible?
2.
I want to make an installer for my webservice so my customers can install my
client-server application with as little hassle as possible.
What can I do when configuring and building my installer to make the
installation as smooth as possible?
I don't want them to get the not-so-intuitive message "Installation
incomlete. The installer was interrupted before ExorServer could be
installed"
-- Vilhelm Heiberg
"Steve Schofield" wrote:
> Try uninstalling IIS7.0 using Server Manager and reinstalling the components
> you want. Server Manager will make sure all the requirements are selected.
>
> Best regards,
>
> Steve Schofield
> Windows Server MVP - IIS
> http://weblogs.asp.net/steveschofield
>
>
> "Vilhelm" wrote in message
> news:4E9A0AE2-B9EB-43CE-BFE7-5789DDFFFCCE@microsoft.com...
> >I have made a simple WebService Application and a Windows Installer for it
> > using VS 2005.
> > When installing it on IIS7 on Vista, which IIS components to I need to
> > turn
> > on to make the installer work?
> >
> > With default components (and ASP.NET & .NET ) turned on, I get an
> > installer
> > error "Installation incomlete. The installer was interrupted before
> > WebSetup1 could be installed".
> >
> > With all components turned on, I get successful installation.
> > But I don't want to turn on more than I have to.
> >
> > I want to distribute this installer to many users, so the installation
> > should run as smoothly as possible.
> >
> > Thanks for any advice
>
>
Re: IIS7 on Vista, which components do I need to install.
am 05.08.2007 05:13:22 von David Wang
I'm writing a blog entry about it and will post a link to it later.
Short summary:
1. IIS7 on Vista uses a completely new configuration system which is
not supported by all existing applications that configure IIS. The
only way for existing legacy applications that configure IIS to work
is to install some/all of the "IIS6 Management Compatibility"
component. VS2005 was released two years before IIS7 released, so it
has no idea about IIS7 configuration system and therefore only creates
setup applications that require the IIS6 Compatibility Component.
I am not yet aware of any company nor codebase that uses the IIS7
configuration system natively, so I expect end-users to require the
compatibility shim to be installed for at least the next 10 years as
IIS7 becomes more mainstream and applications written for IIS6 and
earlier are migrated to take advantage of IIS7 and no longer require
the IIS6 Compatibility Component. This transition is similar to the
move from Win16 to Win32 that was finally deprecated by introduction
of Win64 over the span of a decade.
2. This is not going to be easy for you since VS2005 Web Setup Project
is quite limited in its capabilities to create a kosher setup MSI, not
to mention its inability to deal with IIS7 configuration. You'll
either have to write custom code that detects Vista and forces
installation of IIS6 Compatibility Component as a pre-requisite, or
you will have to write custom code that detects Vista and natively
uses the IIS7 Configuration system to do the installation.
I suspect neither option sounds pleasing to you as a Web Service
developer since you just want to deploy a web service and is not
really interested in the details and requirements of the underlying
system that affect how your Web Service deploys. Unfortunately, the
IIS team does not have the resources to make this transition smooth,
either, and I don't see it happening on the horizon anytime soon.
Sorry. :-(
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
On Aug 4, 1:08 am, Vilhelm wrote:
> Thanks, but that didn't really answer my question.
> What do you mean by "Server Manager"?
> I am trying my installation on a Vista Business computer.
>
> Using the "Windows Features" dialog, I experimented with turning components
> of IIS on and off, and finally figured out that I had to turn on IIS 6
> compatibility to make my WebService install.
>
> So now I am left with two other questions:
>
> 1.
> Why do I have to enable IIS6 compatibility in IIS7 on Vista to be able to
> install a WebService that was built with VS2005 on XP?
> Is it supposed to be this way, or is there something I could do when
> building my WebService to make it IIS7 compatible?
>
> 2.
> I want to make an installer for my webservice so my customers can install my
> client-server application with as little hassle as possible.
> What can I do when configuring and building my installer to make the
> installation as smooth as possible?
> I don't want them to get the not-so-intuitive message "Installation
> incomlete. The installer was interrupted before ExorServer could be
> installed"
>
> -- Vilhelm Heiberg
>
>
>
> "Steve Schofield" wrote:
> > Try uninstalling IIS7.0 using Server Manager and reinstalling the components
> > you want. Server Manager will make sure all the requirements are selected.
>
> > Best regards,
>
> > Steve Schofield
> > Windows Server MVP - IIS
> >http://weblogs.asp.net/steveschofield
>
> > "Vilhelm" wrote in message
> >news:4E9A0AE2-B9EB-43CE-BFE7-5789DDFFFCCE@microsoft.com...
> > >I have made a simple WebService Application and a Windows Installer for it
> > > using VS 2005.
> > > When installing it on IIS7 on Vista, which IIS components to I need to
> > > turn
> > > on to make the installer work?
>
> > > With default components (and ASP.NET & .NET ) turned on, I get an
> > > installer
> > > error "Installation incomlete. The installer was interrupted before
> > > WebSetup1 could be installed".
>
> > > With all components turned on, I get successful installation.
> > > But I don't want to turn on more than I have to.
>
> > > I want to distribute this installer to many users, so the installation
> > > should run as smoothly as possible.
>
> > > Thanks for any advice- Hide quoted text -
>
> - Show quoted text -