Installing a WebService into IIS7 on Vista

Installing a WebService into IIS7 on Vista

am 03.08.2007 12:46:00 von Vilhelm

Using .NET 2.0 and VS2005, I am trying to make a simple WebService
application and an installer for it.
I want to distribute the installer to several customers, so the installation
should run as smooth as possible.

When trying to install it on Vista, I get a generic errormessage:
"Installation incomlete. The installer was interrupted before
WebSetup1 could be installed"
Is it possible to figure out in more details what went wrong in the
installation?

I have figured out that IIS6 compatibility components must be activated in
IIS7 to make my webservice install properly.
How can I (using VS2005) make my WebService application not be dependent on
IIS6 when installed on IIS7?
(I want it to be installable on XP with IIS6 also)

I am using a standard Web Deployment Setup project in VS2005.

Re: Installing a WebService into IIS7 on Vista

am 05.08.2007 07:09:52 von Ken Schaefer

"Vilhelm" wrote in message
news:0CFB537D-1E79-4A6E-AE82-E7B5AE216011@microsoft.com...
> Using .NET 2.0 and VS2005, I am trying to make a simple WebService
> application and an installer for it.
> I want to distribute the installer to several customers, so the
> installation
> should run as smooth as possible.
>
> When trying to install it on Vista, I get a generic errormessage:
> "Installation incomlete. The installer was interrupted before
> WebSetup1 could be installed"
> Is it possible to figure out in more details what went wrong in the
> installation?
>
> I have figured out that IIS6 compatibility components must be activated in
> IIS7 to make my webservice install properly.
> How can I (using VS2005) make my WebService application not be dependent
> on
> IIS6 when installed on IIS7?

Does your installer attempt to configure the IIS metabase? If so, then you
need the IIS 6.0 Compatibility components -or- you need to ensure your
configuration is done to the new IIS 7.0 configuration files (e.g. using WMI
or similar)

> (I want it to be installable on XP with IIS6 also)

Both XP and Windows Server 2003 use the metabase. So your installer will
need to detect the underlying OS (XP/2003 or Vista/2008) and make
configuation changes appropriately (metabase for XP/2003, and
applicationHost.config for Vista/2008)

Cheers
Ken


> I am using a standard Web Deployment Setup project in VS2005.
>
>
>