Hi,
I am creating my virtual directory under MicrosoftDyanamicsCRM. The site has its own apppool called CRMAppPool. But after creating the virtual directory, the apppool of the virtual directory is DefaultAppPool , not as CRMAppPool. the same thing working in WIX 3.0. I am using WIX 3.5.1811. Is there any issue in creating the virtual directory. Code is as follows. <Component Id="IisSetup" Guid="7A6E8BF7-B4CE-4342-B2DE-3C6E689F9D65" Win64="yes"> <iis:WebVirtualDir Id="IisVirtualDir" Alias="MYVIRTUALDIRECTORY" Directory="INSTALLLOCATION" WebSite="MicrosoftDynamicCRM" DirProperties="c360ServicesWebProperties" > <iis:WebApplication Id="IisWebApplication" Name="AAAPLICATION" Isolation="high" /> </iis:WebVirtualDir> <CreateFolder/> </Component> </Directory> </Directory> </Directory> <iis:WebDirProperties Id="c360ServicesWebProperties" AnonymousAccess="yes" /> <iis:WebSite Id='MicrosoftDynamicCRM' Description='[WEBSITE]' Directory='INSTALLLOCATION'> <iis:WebAddress Id="AllUnassigned" Port="[PORTNO]"/> </iis:WebSite> where should I declare the <iis:WebApplication> , if I declare in the website tag it is giving the error as follows. Error 3 The iis:WebApplication element cannot be specified unless the element has a Component as an ancestor. A iis:WebApplication that does not have a Component ancestor is not installed. and even I cant declare the <iis:webApppool > out of the component. how can I refer the Existing apppool in the system? Please tell me how can I solve this? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/VDIR-is-not-creating-with-the-apppool-of-the-webiste-it-is-defaultAppPool-tp5277089p5277089.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users