working with lpk_tool.exe to sign an activex control

Posted on 2005-04-06
Last Modified: 2012-05-05
dear sir ,
i made an activex.ocx project in vb , and i packed it and deployed it on the internet , it works ,and every time i opened the site , the browser blocked the activex control to be executed ( this is a security reason which is normal for most browsers ) but when i allow this activex to be executed on my computer , it said unknown publisher ,
please can you help me with this  ?
i was reading in the msdn library and i found that i have to work with a tool called lpk_tool.exe , i downloaded it but i didnt know how to do that
please help
Question by:xodos
    LVL 4

    Expert Comment


    Author Comment

    the link you gave me above is not what i wanted,
    i found this link
    but there is a broken link in it ,
    can you give me the steps to sign a .cab file
    LVL 4

    Accepted Solution

    To sign your code

    Apply for a certificate from a certificate authority. See for instructions on obtaining a certificate.

    Get the latest tools for signing files and checking signatures. See

    Prepare your files to be signed. If you are signing any .exe, .ocx, .vbd or .dll file, you do not need to do anything special. If you are signing a .cab file, you must add the following entry to your .ddf file and remake your .cab file:
    .Set ReservePerCabinetSize=6144

    Sign your files using signcode.exe. The following is an example of how you might sign a file:
    Signcode -prog myfilename -name displayname -info - spc mycredentials.spc -pvk myprivatekey.pvk

    To test a signed .cab file, run chktrust -c
    where cabfilename is the name of the .cab file you signed.
    If your signing process was successful, either of these tests will display your certificate

    well.. thats just whats in the duide on the microsoft site. it tells how to sign CAB files.... didnt you see it or didnt you understand it?

    Author Comment


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    This is a short article about OS X KeRanger, and what people can do to get rid of it.
    Healthcare providers, insurance companies and other covered entities trust eFax Corporate to transmit their most sensitive documents. eFax Corporate can help your organization implement a HIPAA compliant cloud faxing solution.
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now