If you always reference an existing AppPool, which is not installed by
your installation and should stay after your application is uninstalled,
you can move the definition of the AppPool (iis:WebAppPool element) out
of the <Component/> and then only reference it from your virtual folder
(iis:WebVirtualDir).

Hope this helps,

-- Yan

-----Original Message-----
From: MYFLEX [mailto:shrinuen...@gmail.com] 
Sent: Tuesday, 29 June, 2010 11:01
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] setting the existing apppool to my virtual
directory other than than the default apppool.


Hi,

I am creating a virtual directory in the Existing website with WIX 3.5
in
IIS 7.0.The site has its own apppool called CRMAppPool.
Now I am want to set the same AppPool (CRM AppPool)for my virtual
directory.
But by default , it is setting as default app pool.

Please tell me how can I refer the existing AppPool to  my virtual
directory.
If I add like the following code, it is setting , but the uninstallation
is
removing the CRMApppol when I do the uninstallation. Please tell me what
is
the solution.

<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" WebAppPool ="CRMAppPool"/>
</iis:WebVirtualDir>
<iis:WebAppPool Id="CRMAppPool"  Identity="networkService"
Name="CRMAppPool"
/>
<CreateFolder/>
</Component>                            
                        

It became very critical for me.





-- 
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/setting-th
e-existing-apppool-to-my-virtual-directory-other-than-than-the-default-a
pppool-tp5234034p5234034.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

------------------------------------------------------------------------------
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

Reply via email to