Found an answer for this, sending it here in case it can be helpful to someone. I am using a directory that picks its path from a property I define early in the installation. Code snippet below.
<SetProperty Id="UPLOADED_FILES_FOLDER" Value="\\[ASSET_SERVER_MACHINE_NAME]\UploadedFiles" Before="AppSearch"/> ... <Directory Id="UPLOADED_FILES_FOLDER" Name="."/> ... <DirectoryRef Id="UPLOADED_FILES_FOLDER"> <Component Id="EktronUploadedFilesComponent" Guid="D9481ABE-710D-4171-B459-E71F1615B636" Win64="yes"> <Condition ><![CDATA[ASSET_SERVER_MACHINE_NAME ~<> ""]]></Condition> <iis:WebVirtualDir Id="UploadedFilesVirDir" DirProperties="EktronWebProperties" Directory="UPLOADED_FILES_FOLDER" Alias="UploadedFiles" WebSite="EktronWebSite"></iis:WebVirtualDir> </Component> </DirectoryRef> Thanks, Johanna -----Original Message----- From: Blair [mailto:os...@live.com] Sent: Monday, November 15, 2010 12:34 PM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Creating virtual directories to UNC shares The FileSource attribute to the Directory element provides a hint to the toolset where to find the files that you place in components that are installed to that directory. Its value is not preserved in the MSI anywhere and thus is only available at build time, not at runtime. The directory tree doesn't automatically have any directories using UNC shares unless one of the pre-defined directories was somehow configured to use a UNC share. If you need your web site to use a UNC share instead of an install-local path, you need to set the directory's value to that path yourself at an appropriate place in your installation sequence. -----Original Message----- From: Johanna Hawkins (ORTIZ) [mailto:johan...@microsoft.com] Sent: Monday, November 15, 2010 9:20 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Creating virtual directories to UNC shares 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_SER VER_MACHINE_NAME]\UploadedFiles>"></Directory> <Directory Id="UPLOADEDIMAGES_FOLDER" Name="UploadedImages" FileSource="\\[ASSET_SERVER_MACHINE_NAME]\UploadedImages<file:///\\[ASSET_SE RVER_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 ------------------------------------------------------------------------------ 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 ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users