I simply install IIS Virtual directory and independent IIS Application pool for this Directory. As I understand my IIS Application Pool must be deleted during uninstall. It works on Windows XP and Windows 2003. But on Windows 7 and 2008 It doesn't deleted and stayed after uninstall (Component is not Permanent of course). Besides IIS Application Pool, which doesn't bind to the Virtual directory, will be deleted during uninstall on Windows 7 and 2008. In code below TestAppPool doesn't deleted on uninstall and TestAppPool2 - is deleted. My sample Code: <Directory Id='TARGETDIR' Name='SourceDir'> <Directory Id='ProgramFilesFolder' Name='PFiles'> <Directory Id='InstallDir' Name='_Test' > <Component Id="TestWebComponent" DiskId="1" Guid="{8325F27B-0C32-43E6-8F50-C9D17202F627}" KeyPath="yes"> <IIS:WebAppPool Id="TestAppPool" Name="TestAppPool" Identity="networkService"> <IIS:RecycleTime Value="05:00" /> </IIS:WebAppPool> </Component> <Component Id="TestWebComponent3" DiskId="1" Guid="{AAAB9F70-FDB0-486C-9DF8-A679E35DB071}" KeyPath="yes"> <IIS:WebAppPool Id="TestAppPool2" Name="TestAppPool2" Identity="networkService"> <IIS:RecycleTime Value="05:00" /> </IIS:WebAppPool> </Component> <Component Id="TestWebComponent2" DiskId="1" Guid="{5303EB88-41EA-4DB4-A98D-BBF7DCEE1D72}" KeyPath="yes"> <IIS:WebVirtualDir Id="TestWebVirtualDir" Alias="TestAlias" WebApplication="TestWebApplication" Directory="InstallDir" WebSite="ExistedWebSite" DirProperties="DefaultWebDirProperties"> </IIS:WebVirtualDir> </Component> <Component Id="ExistedWebSiteComponent" DiskId="1" Guid="{2599A760-0555-4908-A2BA-6542AF78BCCE}" Permanent="yes" KeyPath="yes"> <IIS:WebSite Id="ExistedWebSite" Description="Desc" ConfigureIfExists="no" DirProperties="DefaultWebDirProperties" AutoStart="yes" Directory="ProgramFilesFolder" StartOnInstall="yes" ConnectionTimeout="360"> <IIS:WebAddress Id="DefWebSiteAddress1" Port="80" IP="*" /> </IIS:WebSite> </Component>
</Directory> </Directory> </Directory> <IIS:WebDirProperties Id="DefaultWebDirProperties" Read="yes" LogVisits="yes" Index="yes" AnonymousAccess="yes" DefaultDocuments="Default.aspx" Script="yes" /> <IIS:WebApplication Id="TestWebApplication" Name="TestWebApplication" WebAppPool="TestAppPool" Isolation="medium" /> ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users