Hi All, <Component Id="ProductComponent1" Guid="{4971CCA6-FE16-4a1d-8E03-9925F2EF85EA}"> <File Id='File1' Name='test' LongName='test.txt' DiskId='1' Source='test.txt' Vital='yes'> </File>
<CopyFile Id='FileCopy71' DestinationProperty='DEST' DestinationLongName ='test.dll' DestinationName='t.dll' FileId='File1'/> </Component> <Property Id='DEST'>C:\Sample</Property> This code was able to create a folder called "Sample" in C:\ (the folder did not exist previously) and copy the specified file to the destination. The filecopy was succesful with the path specified as a property. i faced problems when i used the "DestinationDirectory" and "SourceDirectory" Attribute.It would be gud if someone could help me with this issue Ramya -- View this message in context: http://www.nabble.com/CreateFolder-and-CopyFile-elements-tp17983049p18089198.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users