WebApplication is associated with its parent WebVirtualDir. My gut says that
you want the Data WebVirtualDir to be a child of the Panopto WebVirtualDir and
that both WebVirtualDirs should be running under the same WebApplication.
<!-- /Panopto webapp.-->
<iis:WebVirtualDir Id='PanoptoVirtualDir' Alias='Panopto'
Directory='INSTALLLOCATION' WebSite='DefaultWebSite'>
<iis:WebApplication Id='PanoptoWebApp' Name='Panopto'
WebAppPool='PanoptoAppPool'/>
<!-- webvirtuald...@id must be unique -->
<iis:WebVirtualDir Id='DataVirtualDir' Alias='Data' Directory='DataFolder'/>
<iis:WebDirProperties Id='PanoptoWebAppProperties' Execute='yes'
Script='yes' Read='yes' WindowsAuthentication='no' AnonymousAccess='yes'
CacheControlCustom='no-cache'/>
</iis:WebVirtualDir>
Hmm... I don't have a way to test this right now. Assuming this doesn't do what
you would expect you could try this:
<!-- /Panopto webapp.-->
<iis:WebVirtualDir Id='PanoptoVirtualDir' Alias='Panopto'
Directory='INSTALLLOCATION' WebSite='DefaultWebSite'>
<iis:WebApplication Id='PanoptoWebApp' Name='Panopto'
WebAppPool='PanoptoAppPool'/>
<!-- webvirtuald...@id must be unique -->
<iis:WebVirtualDir Id='DataVirtualDir' Alias='Data' Directory='DataFolder'>
<iis:WebApplication Id='PanoptoDataApp' Name='PanoptoData'
WebAppPool='PanoptoAppPool'/>
</iis:WebVirtualDir>
<iis:WebDirProperties Id='PanoptoWebAppProperties' Execute='yes'
Script='yes' Read='yes' WindowsAuthentication='no' AnonymousAccess='yes'
CacheControlCustom='no-cache'/>
</iis:WebVirtualDir>
Edwin G. Castro
Software Developer - Staff
Electronic Banking Services
Fiserv
Office: 503-746-0643
Fax: 503-617-0291
www.fiserv.com
Please consider the environment before printing this e-mail
-----Original Message-----
From: John Ketchpaw [mailto:[email protected]]
Sent: Tuesday, June 01, 2010 2:33 AM
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