Hi

I'm finding that when I uninstall my application, the ISAPI and CGI 
Restrictions entry gets removed.
Basically, it had 4 default entries (for .net 2 and 4)...with the .net 4 
versions Not Allowed.
After running the application install, the appropriate .net 4 version was 
marked Allow.
However, after uninstall, rather than the entry being set back to its previous 
state of Not Allowed, it was removed entirely.

Should I be using a unique group/description to avoid this? Or should I have 
the WebServiceExtension call outside of my component to avoid it being removed 
(not quite sure how to do this, otherwise I'd have tried it!)?

Here's a snippet of the structure:

    <Directory Id='TARGETDIR' Name='SourceDir'>
      <Directory Id="IISMain" Name='inetpub'>
        <Directory Id="WWWMain" Name='wwwroot' 
ComponentGuidGenerationSeed='CA19CA4A-C69B-4CDB-BCBD-6C3C5E9A3EDC'>
          <Directory Id='INSTALLLOCATION' Name='!(loc.ProductName)'>

            <!-- The component to define the Virtual Directory.-->
            <Component Id="WebVirtualDirComponent" 
Guid="A720C1C9-1D8D-4941-976D-FB1C5C9EF8BB">

              <!-- Define App Pool - identity if not set defaults to: 
ApplicationPoolIdentity -->
              <iis:WebAppPool Id="AppPool" Name="[VD][WEBSITE_ID]" 
ManagedRuntimeVersion="v4.0" IdleTimeout="0" RecycleMinutes="0" 
ManagedPipelineMode="integrated">
              </iis:WebAppPool>

              <iis:WebVirtualDir Id="VDir" Alias="[VD]" 
Directory="INSTALLLOCATION" WebSite="SelectedWebSite">
                <iis:MimeMap Id="SilverlightMimeType" Extension=".xap" 
Type="application/x-silverlight-app" />
                <iis:WebApplication Id="YearViewApplication" 
WebAppPool="AppPool" Name="[VD][WEBSITE_ID]" />
                <iis:WebDirProperties Id="MyWebSite_Properties" 
AnonymousAccess="yes" WindowsAuthentication="no" 
DefaultDocuments="Default.aspx" />
              </iis:WebVirtualDir>
              <CreateFolder/>
              <iis:WebServiceExtension Id="EnableASPNet4Extension" 
Group="ASP.NET v4.0.30319" Allow="yes" File="[ASPNETISAPIDLL]" 
Description="ASP.NET v4.0.30319" UIDeletable="no"/>
            </Component>

Any suggestions/advise on resolving this would be great :)
Regards
Paul.
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to