I have two DLLs that I need to register with RegAsm.exe so I created two custom actions that run Deferred-Commit (wanted to make sure the files are installed). They both run but I found out that I need to make sure one runs before the other as one DLL depends on the other being registered.

I experimented with the Timing feature and tried using sequence numbers that fell after the InstallFinalize action in the execute sequence. This threw an error during build that I was not correctly specifying my 'On Exit' event (maybe a bug in MSIFactory since this is the radio button above the Sequence radio button).

Does anyone know how to force two Deferred-Commit, run exe custom events to execute is a specific order?