Does this Old Post Help: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Custom-Action-DLL-getting-Error-1723-td5766623.html
Quoting David Welton <david.wel...@uk.thalesgroup.com>: > Hi Pally, > > I have considered CopyFile but didn't think it would satisfy our *quite > complicated* use case. Here's a bit more detail: > > 1- We want to deploy potentially hundreds of files to the Backups folder > (Currently we heat the directory to create the wxs file). > 2- The Backups folder will potentially contain sub-folders. > 3- We want to copy (by whatever means) the files and folder structure > from the Backups folder (the installed location) to a working folder. > 4- Once in the working folder, the files are potentially user > modifiable. > 5- On an uninstall of the product we want the copy of the files in the > working folder to be left alone (not uninstalled). > 6- On an upgrade of the product we want the files and folders in the > Backups folder to be upgraded as normal, however the copy of the files > in the working folder should not be upgraded (to preserve any > modifications that the user has made). > > We have a number of products that we want to manage in the same way so I > was hoping to write this once and use it again. This does mean that I > have to deal with different folder structures (below the Backups folder) > and different files names. > > I'm quite new to WiX and couldn't see a way of making CopyFile copy over > the folder structure or deal with wildcards for file names. If there is > a way then that will probably satisfy the use case above. > > Any suggestions would be gratefully received. > > Thanks, > David > > ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users