I need to create a virtual directory within my application that points to a UNC 
share in another machine. Is this supported or should I use a custom action for 
this?

I tried this but it didn't work, the virtual directory got created to the local 
path, not the UNC share:

<DirectoryRef Id="WEBROOTDIR">
      <Directory Id="EKTRONWEB_FOLDER" Name="Ektron Web">
        <Directory Id="UPLOADEDFILES_FOLDER" Name="UploadedFiles" 
FileSource="\\[ASSET_SERVER_MACHINE_NAME]\UploadedFiles<file:///\\[ASSET_SERVER_MACHINE_NAME]\UploadedFiles>"></Directory>
        <Directory Id="UPLOADEDIMAGES_FOLDER" Name="UploadedImages" 
FileSource="\\[ASSET_SERVER_MACHINE_NAME]\UploadedImages<file:///\\[ASSET_SERVER_MACHINE_NAME]\UploadedImages>"></Directory>
      </Directory>
    </DirectoryRef>

    <iis:WebDirProperties Id="EktronWebProperties" Read="yes" Execute="yes" 
AnonymousAccess="yes" />

    <DirectoryRef Id="EKTRONWEB_FOLDER">
      <Component Id="EktronWebComponent" 
Guid="6035E5D1-5C57-4137-9591-422E47CD78EA" Win64="yes">
        <iis:WebSite Id="EktronWebSite" Description="Ektron Web Site" 
Directory="EKTRONWEB_FOLDER" ConfigureIfExists="yes">
          <iis:WebAddress Id="EktronWebSiteAddress" Port="[EKTRONWEB_PORT]" />
          <iis:WebVirtualDir Id="UploadedFilesVirDir" 
DirProperties="EktronWebProperties" Directory="UPLOADEDFILES_FOLDER" 
Alias="UploadedFiles"></iis:WebVirtualDir>
          <iis:WebVirtualDir Id="UploadedImagesVirDir" 
DirProperties="EktronWebProperties" Directory="UPLOADEDIMAGES_FOLDER" 
Alias="UploadedImages"></iis:WebVirtualDir>
        </iis:WebSite>
      </Component>
    </DirectoryRef>
------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to