View Full Version : ActiveX controls not marked as safe problem.

10-28-2005, 02:57 AM
I have a project which contains two custom built ocx's. I've then built internet image and provided the certificate plus private key which successfully signs both the MSI and EXE. When I install the application via the automated html page and then run it through IE I get the error message that the ActiveX controls are not marked as safe.

Can some please help me understand what I need to do to have my custom built ocx's marked as safe after the install. My previous install used to just run makecab.exe and then I just signed the cab file.

Thanks, Rick

11-03-2005, 10:49 PM
Not sure if anyone is interested in the solution but I worked out how to mark the controls as safe.

Basically for each class id used inside your control you need to add under the 'Implemented Categories' key the safe for initialization and scripting GUID, the two GUID you need to add are:

{7DD95801-9882-11CF-9FA9-00AA006C42C4} - safe for scripting
{7DD95802-9882-11CF-9FA9-00AA006C42C4} - safe for initializing

You can see these guid's under HKEY_CLASSES_ROOT\Component Categories

I just manually added these into the registry section of IS.

Cheers, Rick