Hi Morris,
From your description, I understand that what you want to create a virtual
directory in IIS during your web application's deployment time(in web setup
project) and that virtual directory should point to a external path(outside
of the wwwroot folder hierarchy), correct?
Since the built-in websetup project's virtual directory is created as a
physical directory under wwwroot site, I think you should consider using
your own code to create such as virtual directory programmatically(through
customAction of setup project). A common approach is using ADSI script to
create IIS virtual directory, here are some web resources describing this:
#Creating Sites and Virtual Directories Using ADSI
http://msdn2.microsoft.com/en-us/library/ms524830.aspx #Creating And Configuring an IIS Web Application with Script
http://www.eggheadcafe.com/articles/20010609.asp #Create & Destory IIS Virtual Directories - Programmatically
http://www.geekswithblogs.net/codesailor/articles/59734.aspx Hope this helps. If you have any more specific questions, please feel free
to post here.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx. ==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.