[wix-users] WIX 4 doesn't install website in IIS

Bob Arnson bob at firegiant.com
Wed Jan 11 14:31:49 PST 2023


The IIS extension has known bugs in -rc.1 that are fixed for -rc.2 (scheduled for next Friday).

> -----Original Message-----
> From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of
> Beliveau, Francis via wix-users
> Sent: Wednesday, 11 January, 2023 16:43
> To: wix-users at lists.wixtoolset.org
> Cc: Beliveau, Francis <FBeliveau at doble.com>
> Subject: [wix-users] WIX 4 doesn't install website in IIS
> 
> Hello,
> 
> I had an installer that was working fine in 3.11, this week I tried the release
> candidate of Wix4. Everything is working fine but now my web application is
> longer installed in IIS. No application pool or website created.
> It is been 2 days now that I'm trying to figure out what is the problem. I guess
> there is something missing that is needed for wix4 but for now the
> documentation doesn't seem to indicate that.
> 
> I used HeatWave to convert this project.
> 
> My component group (IIS_Api_Configuration) is referenced in my Feature
> element.
> 
> This is my wxs file containing the IIS configuration:
> <Wix xmlns=http://wixtoolset.org/schemas/v4/wxs
> xmlns:iis=http://wixtoolset.org/schemas/v4/wxs/iis>
>       <Fragment>
>     <iis:WebAppPool Id="AspNet4_0" Name="ASP.NET v4.0" />
> 
>     <DirectoryRef Id="INSTALLFOLDER">
>       <Component Id="ApiPool_Comp" Guid="{AFF97B91-D9FF-4CBA-A819-
> C308800FD392}" KeyPath="yes">
>         <iis:WebAppPool Id="ApiPool"
>                                     Name="!(loc.ApplicationPoolName)"
>                                     ManagedRuntimeVersion="v4.0"
>                                     ManagedPipelineMode="integrated"
>                                     CpuAction="none"
>                                     QueueLimit="1000"
>                                     IdleTimeout="0"
>                                     Identity="applicationPoolIdentity"
>                                     VirtualMemory="0"
>                                     MaxWorkerProcesses="1"
>                                     RecycleMinutes="1740"
>                                     RecycleRequests="0"
>                                     PrivateMemory="0">
>             </iis:WebAppPool>
>       </Component>
> 
>       <Component Id="ApiWebsite_Comp" Guid="{A9CB9DA6-A3F7-4828-
> A8CA-B5F0B82CA364}" KeyPath="yes">
>         <iis:WebSite Id="ApiSite" AutoStart="yes" StartOnInstall="yes"
> Directory="INSTALLFOLDER" Description="!(loc.ProductName)">
>           <iis:WebAddress Id="ApiWebAddr" IP="*" Port="443" Secure="yes" />
>           <iis:WebApplication Id="ApiWebApplication"
> Name="!(loc.ProductName)" WebAppPool="ApiPool" />
>           <iis:WebDirProperties Id="ApiDirProperties" AnonymousAccess="no"
> BasicAuthentication="no" WindowsAuthentication="yes" />
>         </iis:WebSite>
>       </Component>
>     </DirectoryRef>
> 
>     <ComponentGroup Id="IIS_Api_Configuration">
>       <ComponentRef Id="ApiPool_Comp" />
>       <ComponentRef Id="ApiWebsite_Comp" />
>     </ComponentGroup>
>       </Fragment>
> </Wix>
> 
> Thanks
> 
> ________________________________________________________________
> ____
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/


More information about the wix-users mailing list