John
I think the solution is something like this:
<iis:WebVirtualDir Id='PanoptoVirtualDir' Alias='Panopto'
Directory='INSTALLLOCATION' WebSite='DefaultWebSite'>
<iis:WebApplication Id='PanoptoWebApp' Name='Panopto'
WebAppPool='PanoptoAppPool' />
</iis:WebApplication>
</iis:WebVirtualDir>
<iis:WebVirtualDir Id='PanoptoVirtualDir' Alias='Panopto/Data'
Directory='DataFolder' />
<iis:WebApplication Id='PanoptoWebApp' Name='Panopto'
WebAppPool='PanoptoAppPool' />
</iis:WebVirtualDir>
Note: the forward slash in the second Alias.
Neil
-----Original Message-----
From: John Ketchpaw [mailto:[email protected]]
Sent: 01 June 2010 10:33
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] why can't WebVirtualDir be a child of
WebApplication?
I'd like to do something like this
<!-- /Panopto webapp.-->
<iis:WebVirtualDir Id='PanoptoVirtualDir' Alias='Panopto'
Directory='INSTALLLOCATION' WebSite='DefaultWebSite'>
<iis:WebApplication Id='PanoptoWebApp' Name='Panopto'
WebAppPool='PanoptoAppPool'>
<!-- VDIR here -->
<iis:WebVirtualDir Id='PanoptoVirtualDir' Alias='Data'
Directory='DataFolder' />
</iis:WebApplication>
<iis:WebDirProperties Id="PanoptoWebAppProperties"
Execute="yes"
Script="yes" Read="yes" WindowsAuthentication="no" AnonymousAccess="yes"
CacheControlCustom="no-cache" />
</iis:WebVirtualDir>
I have pre-existing code to do what I need in a CA, but I'd love to make
things more declarative.
-john
On Mon, May 31, 2010 at 2:35 PM, Neil Sleightholm
<[email protected]>wrote:
> Could you give some more detail on this issue, I think I have come
> across the same problem but can't be sure.
>
> Neil
>
> -----Original Message-----
> From: John Ketchpaw [mailto:[email protected]]
> Sent: 31 May 2010 06:55
> To: [email protected]
> Subject: [WiX-users] why can't WebVirtualDir be a child of
> WebApplication?
>
> We do some of our own request filtering with a module in our webapp.
Is
> it
> a deliberate choice for this to not be possible using IISExtension?
In
> the
> meantime, I'm adding it in our own custom action.
>
> -john
>
------------------------------------------------------------------------
> ------
>
> _______________________________________________
> WiX-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
------------------------------------------------------------------------
------
>
> _______________________________________________
> WiX-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------
------
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users