Using Cabinet Files for Packaging ActiveX Controls

The tools you need to create and sign CAB files are provided on the Visual C++® 5.0 CD in the CAB&SIGN directory. The utilities in the CAB&SIGN directory are not installed automatically when you install Visual C++, so you must copy the contents of the CAB&SIGN directory to your hard drive.

Before you can sign files, you need to get a Software Publisher Certificate. You must apply for your own certificate to a Certification Authority. With the tools in the CAB&SIGN directory, you can create a test certificate for testing purposes, but this certificate cannot be used to sign code for distribution. See Step 1 below for information about applying for a Software Publisher Certificate.

These are the steps used to create a signed CAB file. Each step provides a link to further information concerning that particular step.

Step 1 Get a Software Publisher Certificate (CAB) (you only need to do this once).

Step 2 Create the CAB File.

Step 3 Signing the CAB Files.

Step 4 Embed the Signed CAB File in a Web Page (optional).