first of all, what is your location "%TMPDIR%\1033c_x86" and "1033c_x64"? Do you create the subfolders "1033c_x86" and "1033c_x64" under the temporary setup folder? How do you do this and how to you copy the .dlls to this sub-folder?

On a x64 Windows 10 machine, %TMPDIR% looks like this:


The last sub-folder is an unique folder created at runtime. So are you saying that you add a "1033c_x86" and "1033c_x64" sub-folder to that temporary path at installer startup and copy your libeay32.dll etc. files into the folders?

IMO, it does not work because you have the source folder (copy FROM) wrong. And then the target folder (copy TO) ... you have defined "%%SYNERGYDE32%%" (please note the double %%). Is there a reason for using %%?

What is the value of %%SYNERGYDE32%% and %%SYNERGYDE64%%? Are these system environment variables or do you set the values at runtime?

I would suggest to do the following to test your values:

1. Add a "Display Message Box..." script action before your first copy call and display:


The check if you have the file in the displayed folder location.

2. And display %%SYNERGYDE64%%\dbl\bin in a Message Box to see what the value really is at runtime.

I think both your source and target locations are incorrect and as a result, the Windows Copy File API can't copy the files.

Does this help?