I created a cab file that contains my activex using CABARC.exe. I also created an .inf file. My inf file looks like this:
[version]
signature=\"$CHICAGO$
VS 2008 provides an excellent CAB Project. You can find it under Other project types / Setup and deployment / CAB project.
For simple CAB projects you just need to add your component project output.
If you need also to sign your CAB you must edit project properties adding the post build signtool.exe command, but once you are able to sign the component via cmd line you just need to copy the command line to post build event. Using $(ProjectDir) macro may help to generalize the process for automated build.
It looks like my .inf was off. Here is what worked for me:
[version]
Signature="$CHICAGO$"
AdvancedINF=2.0
[Setup Hooks]
hook1=hook1
[hook1]
run=msiexec.exe /i "%EXTRACT_DIR%\MySetup.msi" /qn
To make the cab:
CABARC.EXE N MyActiveX.cab MySetup.msi setup.inf
Hope it helps…
Packaging ActiveX Controls