Search code examples
pythonwindows-installercx-freezepublisherms-publisher

How to add Publisher Certificate to Cx_freeze msi bundle?


I'm trying to make an " msi " using cx_freeze. When I distribute it to users, it's showing unknown publisher.

How to get publisher certificates, How can I add it to cx_freeze?


Solution

  • You need to purchase a certificate from a certified vendor, like Verisign or Thawte. The certificate must be a code signing Microsoft Authenticode certificate.

    Sign your binaries and the MSI with this certificate and your users will now see your company info in the UAC prompt from now on.

    EDIT To sign the files you can use SignTool.exe