Hi and Happy New Year to you too,
So, In which sequence will add files into folder?
The
"Add Resources --> InstallFiles" standard action installs the files specified in the Files and Folders page. You can find the list with all the standard actions on our
Windows Installer Standard Actions article.
I think this error occurs because of the installation sequence maybe. When run the CustomAction, the dll files haven't been added into floder.
A solution for this will be to add your DLLs files as temporary file in the
"Files and Folders" page.
Unlike Advanced Installer's regular files or resources, "Temporary Files" are copied on the target machine at the beginning of the installation and are deleted at the end of it,
ensuring you have access to them throughout the entire install process.
Temporary Files are copied
during the CostFinalize standard action, at the beginning of the setup and removed during the InstallFinalize standard action.
Add your temporary files in the
"Files and Folders" page using the
"Add Temporary Files" toolbar button.
You can also add your custom actions that call the DLLs files after the
"Add resources" action, but I'm not sure if that is what you want to achieve.
Hope this helps! If you have any other questions, please don’t hesitate to contact us.
Best regards,
Liviu