In our WIX installer we create several application pools for various components, however our .net 1.1 application pool always ends up being on .net 2.0 after the install has finished.
This causes us to manually fix the application pool that we have created back to 1.1 after each install and upgrade.
My question is is there a way around it, to get the installer to register it correctly as a 1.1 application pool rather than changing it to the 2.0 application pool?
Our code for creating the application pools:
<Component Id ="WebApps.Component" Guid="{5F518238-F564-43ff-A249-F87C23E02B52}">
<CreateFolder />
<iis:WebAppPool
Id="V1WebAppPool"
Name=".Net 1.1 App Pool"
ManagedRuntimeVersion="v1.1"
Identity="networkService">
</iis:WebAppPool>
<iis:WebAppPool
Id="V2WebAppPool"
Name=".Net 2.0 App Pool"
ManagedRuntimeVersion="v2.0"
Identity="networkService">
</iis:WebAppPool>
<iis:WebAppPool
Id="V4WebAppPool"
Name=".Net 4.0 App Pool"
ManagedRuntimeVersion="v4.0"
Identity="networkService">
</iis:WebAppPool>
</Component>