I have an application that saves Enterprise Library log files to [installdir]\app_data and on uninstallation the app_data directory remains. This is fine because there are important logfiles there.
On a new installation, I would like to detect the existence of all files there, create a new directory (with GUID appended for uniqueness) and copy them into another location, so the new installation is only dealing with writing new log files. I was playing around with the CopyFile element to make this happen but it does not look like I can use wildcards. Can anyone recommend a good strategy for doing what I want? Thanks. Here is the base I was working from: <DirectoryRef Id="MyProgramDir"> <Component Id="CMP_MoveTestTXT" Guid="E25E8584-D009-43bE-99E9-A46D58105DD0" KeyPath="yes"> <CopyFile Id="MoveTest" DestinationDirectory="CopiedFiles" DestinationName="TESTCopy.txt" SourceDirectory="DesktopFolder" SourceName="TEST.txt" Delete="yes" /> </Component> </DirectoryRef> ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users