Custom Action EXE requires DLL - Advanced Installer Community
trims30
Posts: 15
Joined: Sun Jan 17, 2010 8:04 pm

Custom Action EXE requires DLL

I have a custom Action to run "Immediately" - on an Internet Install.
It's an EXE file that requires a DLL and the DLL is not as yet installed on the computer.
How do I add the DLL to c:\windows\SysWow64 prior to execution of my Custom Action EXE?

I'm stuck on this one.

Could use some guidance.

Lee
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: Custom Action EXE requires DLL

Hello Lee,

If your custom action runs on "Immediate", then, if it requires a .DLL file, you can add the DLL file as a Temporary File.

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.

After doing so, you can have your EXE file look for the file in the %temp% folder.

Hope this helps.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
trims30
Posts: 15
Joined: Sun Jan 17, 2010 8:04 pm

Re: Custom Action EXE requires DLL

Thank You - Will try it today.
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: Custom Action EXE requires DLL

You are always welcome, Lee!

Just let me know if you encounter any issues and I will be glad to assist.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”