Hi Phil,
Thanks for replying. I've had chance to try vsdrfSelfReg and it does indeed work for an activex exe if you do it directly from the main setup package. Obviously it does /regserver on the executable rather than a regsvr32.
However there appears to be a bug when you try to do it from a merge module. It seems that visual studio creates the actions to self register the exe, but puts them in the wrong table in the msi (InstallExecuteSequence instead of ModuleInstallExecuteSequence).
In the end as it's a single exe I have included it as part of the main setup rather than it being in its own merge module. Although I'm not 100% happy with this it appears to work.
I'm still a bit unsure why using vsdrfCom doesn't include all the necessary registration information and would be interested to know if anyone knew why or had any recommendations?
Cheers,
LJ.