Set the registration order for some DLLs - Advanced Installer Community
maurix
Posts: 3
Joined: Sat Mar 16, 2013 3:42 pm

Set the registration order for some DLLs

Hi,

I have some DLL that need to be registered. How can I set the order for the registration process? I want some DLL to be registered before others.

Thanks.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Set the registration order for some DLLs

Hello,

Registration order isn't assured by Windows Installer if you're using the auto-register support in the Files and Folders page. You can however register the .DLLs using regsvr32.exe in custom actions. The custom actions execution order is the one you set in the Custom Actions page.

Here's a registering example. With the current UI you can have something like:
File path: regsvr32.exe
Command line: "[#yourDLL.dll]"

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”