Bugs item #1213273, was opened at 2005-06-01 22:28
Message generated for change (Comment added) made by robmen
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1213273&group_id=105970

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: extensions
Group: v2.0
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Stephen Davies (chalky)
>Assigned to: Rob Mensching (robmen)
Summary: WebAppPools fail with rollback on IIS < 6.0

Initial Comment:
I have created a sample that exhibits the behaviour. It
tries to install a Web App Pool, and works on a windows
2003 test machine but fails on my xp professional
desktop. Ideally it should still install on XP and just
ignore any configured app pools.

<?xml version="1.0"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi";>
 <Product Id="1D4A424A-4437-41F3-B881-863E5E2826AA"
   Name="Web App Pool Test" Language="1033"
   Version="1.0.0.0" Manufacturer="Web App Pool Test">
  <Package Id="????????-????-????-????-????????????"
   Description="Web App Pool Test"
InstallerVersion="200" Compressed="yes"
/>

  <!-- This must be included and defines that all files
are embedded in the
MSI -->
  <Media Id="1" Cabinet="Test.cab" EmbedCab="yes" />

  <!-- Root directory element must be TARGETDIR -->
  <Directory Id="TARGETDIR" Name="SourceDir">
   <!-- The WebService directory -->
   <Directory Id="ROOTDRIVE">
    <Directory Id="WEBSERVICEDIR" Name="WebTest">
     <Component Id="C_TestFile.html" Guid
="64637EC2-47B4-421F-9C06-D1A5DE20E7D7" DiskId="1">
      <File Id="TestFile.html" Name="TestFile.htm"
LongName="TestFile.html"
Vital="yes" KeyPath="yes" src="TestFile.html"/>
     </Component>
    </Directory>
   </Directory>

   <!-- Setup the Virtual Directories -->
   <Component Id="C_WebDir_Test" Guid
="21428FAC-D9F8-4DF2-AF7D-EF19633F9171">
    <WebVirtualDir Id="WebDir_Test" Alias="WebAppPoolTest"
      Directory="WEBSERVICEDIR" WebSite="DefaultWebSite"
      DirProperties="TestWebProperties">
     <WebApplication Id="WebApplication_Test"
      Name="WebAppPoolTest"
      WebAppPool="TestWebServices"/>
    </WebVirtualDir>
   </Component>

   <!-- The web app pool to run in -->
   <Component Id="C_WebAppPool_TestWebServices" Guid
="4B3BFBA0-5FAC-4337-BD44-B31D3D500501">
    <WebAppPool Id="TestWebServices"
Name="TestWebServices"/>
   </Component>
  </Directory>

  <!-- Setup the website outside of the directory
structure -->
  <WebSite Id='DefaultWebSite' Description='Default Web
Site'>
   <WebAddress Id='AllUnassigned' Port='80' />
  </WebSite>
  <!-- Re-usable set of properties, referred to by Id
in WebvirtualDir
elements -->
  <WebDirProperties Id="TestWebProperties"
   AnonymousAccess="no" WindowsAuthentication="yes" />

  <Feature Id="TestWebServices" Title="Web Services"
    Level="1" ConfigurableDirectory="WEBSERVICEDIR">
   <ComponentRef Id="C_WebDir_Test" />
   <ComponentRef Id="C_WebAppPool_TestWebServices" />
   <ComponentRef Id="C_TestFile.html" />
  </Feature>
 </Product>
</Wix>


----------------------------------------------------------------------

>Comment By: Rob Mensching (robmen)
Date: 2006-12-15 11:42

Message:
Logged In: YES 
user_id=991639
Originator: NO

You should now be able to put AppPools in a separate Component with a
Condition to prevent install on XP.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1213273&group_id=105970

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to