Hi yaan,

thnx for you suggestion. But I did that. Then the compilation is giving the
error as follows.


Error 3 The iis:WebAppPool/@Identity attribute cannot be specified unless
the element has a Component as an ancestor. A iis:WebAppPool that does not
have a Component ancestor is not installed.
C:\Users\c360dev9\Documents\Visual Studio
2010\Projects\test\test\Product.wxs 42 1

Please tell me where should I add this and how.

On Tue, Jun 29, 2010 at 2:00 PM, Yan Sklyarenko [via Windows Installer XML
(WiX) toolset] 
<ml-node+5234125-1511742079-60...@n2.nabble.com<ml-node%2b5234125-1511742079-60...@n2.nabble.com>
> wrote:

> 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:[hidden 
> email]<http://user/SendEmail.jtp?type=node&node=5234125&i=0>]
>
> Sent: Tuesday, 29 June, 2010 11:01
> To: [hidden email] <http://user/SendEmail.jtp?type=node&node=5234125&i=1>
> 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<http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/setting-th?by-user=t>
> 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
> [hidden email] <http://user/SendEmail.jtp?type=node&node=5234125&i=2>
> 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
> [hidden email] <http://user/SendEmail.jtp?type=node&node=5234125&i=3>
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> ------------------------------
> View message @
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/setting-the-existing-apppool-to-my-virtual-directory-other-than-than-the-default-apppool-tp5234034p5234125.html
> To unsubscribe from setting the existing apppool to my virtual directory
> other than than the default apppool., click 
> here<http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/subscriptions/Unsubscribe.jtp?code=c2hyaW51ZW50ZXJAZ21haWwuY29tfDUyMzQwMzR8MTE3NDEzNDE3OA==>.
>
>
>

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

Reply via email to