Signing an ActiveX cab?
Ive successfully created an ActiveX control that works fine when its in its bare for, as a DLL. It registers fine and displays and runs in a browser. My problem is once I put it in a cab file, and i sign it, it no longer works. I followed a few tutorials on how to sign it and neither of them helped much.
Here is what I have inside the cab:
- Several DLLs that are needed to make it work
- a directory with some images
(all this works fine when not cab'd)
I created an INF file too, here are its contents:
I used CABARC to create the cab with allocated space for the signing:
> cabarc -s 6144 N bump.cab contents\*
The contents directory holds all my DLLs and images and everything I need.
Here is the processs I took to create and sign the cab file once it was created:
At this point I used the signcode gui to create the signature.
>makecert -sv "Bump.pvk" -n "CN=My Company" bump.cer
>cert2spc bump.cer bump.spc
I dont exactly know what Im doing wrong...
Any help is appreciated.