Well spotted Nicolás. That was indeed the root of the problem. That and a syntax problem with the command line params and where in the install execute sequence it was scheduled to run. I ended up with...
<?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"> <Fragment> <!--Add a PropertyRef to XCopyCustomAction within the Product section of the main wxs file to use this xcopy CA --> <Property Id="XCopyCustomAction" Value="1" /> <!--echo n|xcopy src\* dst\* \e--> <CustomAction Id="SetCmdLineParams" Property="QtExecCA" Value='"[System64Folder]cmd.exe" /c "echo n | xcopy "[INSTALLFOLDER]Backups\*" "[INSTALLFOLDER]" /E"' Execute="immediate" /> <CustomAction Id="QtExecCA" BinaryKey="WixCA" DllEntry="CAQuietExec" Execute="deferred" Return="ignore" Impersonate="yes"/> <InstallExecuteSequence> <Custom Action="SetCmdLineParams" After="CostFinalize"/> <Custom Action="QtExecCA" Before="InstallFinalize" /> </InstallExecuteSequence> </Fragment> </Wix> ...which does the job nicely (for anyone who's interested). Many thanks for all the support. David -----Original Message----- From: Nicolás Alvarez [mailto:nicolas.alva...@gmail.com] Sent: 08 July 2014 14:38 To: General discussion about the WiX toolset. Subject: Re: [WiX-users] Error 1723 when calling CAQuiteExec to xcopy configfiles 2014-07-07 7:25 GMT-03:00 David Welton <david.wel...@uk.thalesgroup.com>: > Dear WiX users, > > I am getting an "Error 1723. There is a problem with this Windows > Installer package. A DLL required for this install to complete could > not be run. Contact your support personnel or package vendor" when I > try and run a custom action to xcopy some config files during my installation. > Here is my fragment... > > > <CustomAction Id="QuietExecXCopy" > BinaryKey="WixCA" > DllEntry="CAQuiteExec" Maybe this is supposed to be CAQuietExec? -- Nicolás ------------------------------------------------------------------------------ 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 ------------------------------------------------------------------------------ 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