I am using the IIS extensions to create a Vdir in IIS 6. The trouble is I need 
the vdir to be in a folder path like this:

Contoso.com/name/2010/07/19

And only the last directory (19) should be the actual vir. To get a path like 
that though I have to make the higher directories vdirs too, like this:

              <iis:WebVirtualDir Id="ServiceVdir" WebSite="DefaultWebSite" 
Directory="ServiceDirectory" Alias="$(var.ServiceName)">
                <iis:WebVirtualDir Id="YearVdir" Directory="YearDirectory" 
Alias="$(var.Year)">
                  <iis:WebVirtualDir Id="MonthVdir" Directory="MonthDirectory" 
Alias="$(var.Month)">
                    <iis:WebVirtualDir Id="DayVdir" Directory="INSTALLLOCATION" 
Alias="$(var.Day)">


 Is there a way to specify a path like this but with the higher directories 
just treated as folders (without the vdir icon)? I tried just removing the 
upper vdirs and leaving just the last one but it creates a web app at 
contoso.com/19. I can't put "/" in the alias as that is not allowed. I have not 
been able to use the WebDir element for this because I can't put a vdir inside 
it.

The reason I need to do this is that I also have another web app at 
Contoso.com/name/2010/07/09 and when I uninstall the new app(with vdir 19) it 
removes the web app from the old one at 09 too.

Any suggestions?

Thanks

Rob


Robert Jarratt
Senior Consultant
Microsoft Consulting Services
Microsoft Ltd.
Tel.: +44 (118) 909 4923
email: mailto:rjarr...@microsoft.com
blog: http://blogs.msdn.com/mcsuksoldev


This email may contain confidential information. If you are not named on the 
addressee list, please take no action in relation to this email, do not open 
any attachment, and please contact the sender (details above) immediately.
Information in this email is provided in good faith. If you are a customer of 
Microsoft, please refer to the terms and conditions which cover the provision 
of support and consulting services to you/your organization. If you are not 
corresponding in the course of, or in connection with a Microsoft contract or 
programme with its own terms and conditions, please note that no liability is 
accepted by Microsoft for the contents of this mail.

Microsoft Limited (company number 01624297) is a company registered in England 
and Wales whose registered office is at Microsoft Campus, Thames Valley Park, 
Reading. RG6 1WG



------------------------------------------------------------------------------
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