Any idea how to do this?  What I want is to create MyVirtualDir within an
existing WebDir called MyWebDir.

IIS looks like this:

MyWebSite
    MyWebDir
        MyVirtualDir


My current WiX configuration looks like this:

<Fragment>
    <iis:WebAppPool Id="WAP__UberPool" Name="UberPool" />
    <iis:WebSite Id="WS__MyWebSite" Description="MyWebSite">
        <iis:WebAddress Id="WA__MyPort" Port="41000" />
    </iis:WebSite>
</Fragment>

<DirectoryRef Id="MYWEBSITE.MYWEBDIR">
    <Directory Id="D__MyVirtualDir" Name="MyVirtualDir">
        <Component Id="C__MyVirtualDir" Guid="<My Guid>" DiskId="1">
            <iis:WebVirtualDir Id="WVD__MyVirtualDir" Alias="MyVirtualDir"
Directory="D__MyVirtualDir" WebSite="WS__MyWebSite">
                <iis:WebApplication Id="WA__MyVirtualDir"
Name="MyVirtualDir" WebAppPool="WAP__UberPool" />
                <iis:WebDirProperties Id="WDP__MyVirtualDir" Execute="no"
Script="yes" Read="yes" WindowsAuthentication="yes" />
            </iis:WebVirtualDir>
            <CreateFolder/>
        </Component>
    </Directory>
</DirectoryRef>

I think I need to use the <iis:WebDir /> element, however I am not sure how
to define it.  I cannot define an <iis:WebVirtualDir /> as a child of
<iis:WebDir /> .. although it makes sense in my mind.

Any help would be much appreciated.

- Troy
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to