Hi, There is a specific requirement of copying a xml file "ClientAccessPolicy.xml" to the path "C:\Inetpub\wwwroot\wss\VirtualDirectories\InstallationPortNumber".
The only thing I'm stuck at is how to refer the WIX Property "INSTALL_SHAREPOINT_PORT" in the highlighted region below : <Directory Id="Inetpubdir" Name="inetpub"> <Directory Id="wwwrootdir" Name="wwwroot"> <Directory Id="wssdir" Name="wss"> <Directory Id="VirtualDirectoriesdir" Name="VirtualDirectories"> <Directory Id="InstallationPortdir" Name="[ INSTALL_SHAREPOINT_PORT]"> ...... (Doesn't work :( ) <Component Id="CopyClientAccessPolicyToVirtualDirectory" Guid="AD06EA62-1071-449d-B0CC-31675220012E"> <File Id="ClientAccessPolicyForRemoteAccess" Name="ClientAccessPolicy.xml" Source="..\Matrikon.Suite.Intuition.Services.Model\ClientAccessPolicy.xml" /> </Component> </Directory> </Directory> </Directory> </Directory> </Directory> Hard-coding the Name Attribute (say to "80") works and it copies the xml file at proper path (C:\Inetpub\wwwroot\wss\VirtualDirectories\80) too but I was wondering if the installation happens at *different port* then how to handle this ? So, I thought of referencing one of the WIX Properties "INSTALL_SHAREPOINT_PORT" which is set to the particular port number on which installation has happened. Any Suggestions on this would be much appreciated. Thanks, Vishwajit ________________________________ READER BEWARE: Unencrypted, unsigned Internet e-mail is inherently insecure. Internet messages may be corrupted, incomplete, misdirected or may incorrectly identify the sender. Therefore, nothing in this message or attachments may be considered legally binding. THIS MESSAGE IS ONLY INTENDED FOR THE USE OF THE INDIVIDUAL OR ENTITY TO WHICH IT IS ADDRESSED AND MAY BE PRIVILEGED. If you are not the intended recipient or their authorized agent, you may not forward or copy this information and must delete or destroy all copies of this message and attachments received. If you have received this communication in error, please notify Matrikon Inc. by telephone at (780) 448-1010 or emailing ad...@matrikon.com. ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users