I'll throw this out as an option I have been using since we converted to .NET 2.0. No calls on it, so I have to assumje it is working great. All it does is set ASPNET 2.0 as the version on the ASP.NET tab in IIS. We require 2.0 to be installed prior to running our installer. I gather the [SITE_ID] during the UI sequence.
<CustomAction Id="ASPNET_REGIIS_PATH" Property="ASPNET_REGIIS_PATH" Value="[DOTNET20PATH]v2.0.50727"/> <CustomAction Id="ASPNET_REGIIS_SET" Property="ASPNET_REGIIS_SET" Value=""[ASPNET_REGIIS_PATH]\ASPNET_REGIIS.exe" -sn W3SVC/[SITE_ID]/Root/E3Container" HideTarget="yes"/> <CustomAction Id="caASPNET_REGIIS_SET" Execute="deferred" Return="check" ExeCommand="[ASPNET_REGIIS_SET]" Directory="TARGETDIR"/> -----Original Message----- From: Eitan Behar [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 22, 2008 9:10 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] ASP.NET on IIS Thanks Siv, But, this way I need to define every extension, is there a way that I can tell WIX to change ONLY the default extensions, similar of when doing it from IIS' GUI (on the ASP.NET tab). Regards, Eitan On Wed, Oct 22, 2008 at 4:22 PM, Kalvagadda, SivaKrishna (MLX Technology) < [EMAIL PROTECTED]> wrote: > This is how ssearch for t he verion of installed framework > <Property Id="ASPNETISAPIDLL"> > <DirectorySearch Id ="AspnetIsapiDll" > Path="[WindowsFolder]Microsoft.NET\Framework" Depth="1"> > <FileSearch Id="AspnetIsapiDll" LongName="aspnet_isapi.dll" > MinVersion="2.0" MaxVersion="3.5" /> > </DirectorySearch> > </Property> > > <iis:WebApplicationExtension Extension="ascx" CheckPath="yes" > Script="yes" Executable="[ASPNETISAPIDLL]" Verbs="GET,HEAD,POST" /> > <iis:WebApplicationExtension Extension="ashx" > CheckPath="no" Script="yes" Executable="[ASPNETISAPIDLL]" > Verbs="GET,HEAD,POST" /> > <iis:WebApplicationExtension Extension="asmx" > CheckPath="no" Script="yes" Executable="[ASPNETISAPIDLL]" > Verbs="GET,HEAD,POST" /> > > Regards, > SivaKrishna Kalvagadda, > 201-671-5552. > > -----Original Message----- > From: Eitan Behar [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 22, 2008 4:54 AM > To: General discussion for Windows Installer XML toolset. > Subject: [WiX-users] ASP.NET <http://asp.net/> on IIS > > Hi, > > Please, how can I set the ASP.NET <http://asp.net/> version for a Web Site > ? I just want > to > set the general selection on the ASP.NET <http://asp.net/> tab, and leave > the default > extensions as they are. > > Thanks, > > Eitan > ------------------------------------------------------------------------ > - > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -------------------------------------------------------- > > This message w/attachments (message) may be privileged, confidential or > proprietary, and if you are not an intended recipient, please notify the > sender, do not use or share it and delete it. Unless specifically indicated, > this message is not an offer to sell or a solicitation of any investment > products or other financial product or service, an official confirmation of > any transaction, or an official statement of Merrill Lynch. Subject to > applicable law, Merrill Lynch may monitor, review and retain > e-communications (EC) traveling through its networks/systems. The laws of > the country of each sender/recipient may impact the handling of EC, and EC > may be archived, supervised and produced in countries other than the country > in which you are located. This message cannot be guaranteed to be secure or > error-free. This message is subject to terms available at the following > link: http://www.ml.com/e-communications_terms/. By messaging with Merrill > Lynch you consent to the foregoing. > -------------------------------------------------------- > > ------------------------------------------------------------------------ - > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users