Set existing Web Service Extension to "Allow" using WiX

Posted by Friend Of George on Stack Overflow See other posts from Stack Overflow or by Friend Of George
Published on 2008-11-06T19:42:05Z Indexed on 2010/04/20 10:23 UTC
Read the original article Hit count: 224

Filed under:
|
|

In IIS Manager under Web Service Extensions, ASP.NET v2.0.50727 is set to "Prohibited" by default. I would like to set this to Allow during the install.

I am currently using WiX Version 2.

I have tried using:

<Component Id="Allow_WebServiceExtension_ASP.NET_2.0" DiskId="1" Guid="02247363-E423-41E1-AC15-BEF589B65A4D">
    <WebServiceExtension Id="WebServiceExtension_ASP.NET_2.0" Allow="yes" File="%SystemRoot%\Microsoft.NET\Framework\[DOTNETFRAMEWORKVER]\aspnet_isapi.dll" Description="ASP.NET v2.0.50727" UIDeletable="no" />
</Component>

This adds a second ASP.NET 2.0.50727 entry and does not enable the first.

© Stack Overflow or respective owner

Related posts about wix

Related posts about iis