Thanks for the response.
I added your code but now when I run the install it modifies the extension and
only puts one "ad" entry in so all the others like asp, aspx, ascx are gone so
nothing works!
How do you get around that problem?
Thanks
Dan
________________________________
From: david adams [mailto:[EMAIL PROTECTED]
Sent: 21 August 2007 19:19
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Change IIS asp.net version
We use the following to set the ASP.NET version to 2.0.
The property identifies the 2.0 framework location from the system
registry and the <WebApplicationExtension> sets the 2.0 ASPNET_ISAPI assembly
for the particular web application.
<Property Id="FRAMEWORKROOT">
<RegistrySearch Id="FrameworkRootDir" Root="HKLM"
Key="SOFTWARE\Microsoft\.NETFramework" Type="directory" Name="InstallRoot" />
</Property>
...
<WebApplication Id="TemplateWebApplicationDev" AllowSessions="yes"
Buffer="yes" ClientDebugging="no" DefaultScript="VBScript"
Name="[WEBAPPLICATIONNAME]" ServerDebugging="no" SessionTimeout="20"
WebAppPool="TemplateAppPool">
<WebApplicationExtension Extension="ad" CheckPath="yes"
Script="yes" Executable="[FRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll"
Verbs="GET,HEAD,POST" />
...
</WebApplication>
David Adams, MCSD
MSN MessengerID: [EMAIL PROTECTED]
________________________________
Date: Tue, 21 Aug 2007 16:35:38 +0100
From: [EMAIL PROTECTED]
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Change IIS asp.net version
Hi,
I'm using wix v2.0.5206.0. Is there anyway I can change the
asp.net version for an IIS application either using built in command or custom
action? I've been looking around but can't find much on this.
Thanks
Dan
This e-mail is confidential and may well also be legally
privileged. If you have received it in error, you are on notice of its status.
Please notify us immediately by reply e-mail and then delete this message from
your system. Please do not copy it or use it for any purposes, or disclose its
contents to any other person: to do so could be a breach of confidence. Thank
you for your co-operation. Please contact our IT Helpdesk on +44 (0) 20 7785
2000 or email [EMAIL PROTECTED] if you need assistance.
Please refer to http://www.freshfields.com/legalnotice/uk.asp
for regulatory information relating to the provision of insurance mediation
services.
________________________________
New home for Mom, no cleanup required. All starts here.
<http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us>
This e-mail is confidential and may well also be legally privileged. If you
have received it in error, you are on notice of its status. Please notify us
immediately by reply e-mail and then delete this message from your system.
Please do not copy it or use it for any purposes, or disclose its contents to
any other person: to do so could be a breach of confidence. Thank you for your
co-operation. Please contact our IT Helpdesk on +44 (0) 20 7785 2000 or email
[EMAIL PROTECTED] if you need assistance.
Please refer to http://www.freshfields.com/legalnotice/uk.asp for regulatory
information relating to the provision of insurance mediation services.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users