Thanks for the clarification.  I did figure out a way to do this with WiX
(in case anybody else stumbles upon this message).  By changing the alias to
match the correct location of the folder, you can create a virtual directory
at this location as well as a web application.

  <WebVirtualDir Id='VirtualDirId' Alias='topdir/dir/vdir'
Directory='dirId' WebSite='DefaultWebSite'>
           <WebApplication ...

           </WebApplication>
         </WebVirtualDir>

I also found documentation at
http://www.microsoft.com/mind/1099/inside/inside1099.asp that states: An IIS
application is defined as the contents of a virtual directory with execute
permissions.

Dana

On 11/28/06, Rob Mensching <[EMAIL PROTECTED]> wrote:

 I used to expect the IIS MMC to be the authoritative way of configuring
things as well.  The more questions I asked the less clear it became exactly
how authoritative the MMC really is.  The current restriction came from
David Wang (http://blogs.msdn.com/david.wang/default.aspx) when he
mentioned that creating a web application on a web directory is not really
supported.  David knows far more about IIS than I do (being on the IIS team
and all) so I took that as gospel.



*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Dana Gutride
*Sent:* Tuesday, November 28, 2006 07:29
*To:* wix-users@lists.sourceforge.net
*Subject:* [WiX-users] WebDir element - no longer can contain
webapplication?



We recently encountered this problem as well.  There is an old message
(here: 
http://www.nabble.com/WebDir-element---no-longer-can-contain-webapplication-tf851560.html#a2280481
) about it.  From the IIS MMC, you can make any directory a web
application.  In the metabsae, it creates any IISConfigObject elements for
the directories above and then the web directory elements are created with
the relevent app names in them.  Does anybody have any information about why
the IIS team at Microsoft says this isn't supported?  It seems odd that you
can do this in the IIS MMC, but not in WiX.

Dana

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to