Skip to main content
New Participant
March 25, 2020
Question

Unable to install a self-signed CEP extension using ExManCmd.exe.

  • March 25, 2020
  • 1 reply
  • 670 views

Environment:


Description of the issue

Installing a self-signed ZXP extension using command line command:

    E:\Desktop\ExManCmd_win\ExManCmd.exe /install CepTest01.zxp

But it outputs the following error:
    Installing extension with file path = CepTest01.zxp
    Failed to install, status = -402!

 

Attempted solutions that failed
Resigned and confirmed there is not any error reported when packaging the extension using ZXPSignCmd.

 

The certificate used and the self-signed CEP extension: https://1drv.ms/u/s!AuyLGpOYfQW9gc0rCFoNcyiBySaFhw?e=65I92c.

 

Any suggestion is welcomed.

    This topic has been closed for replies.

    1 reply

    Aecorn
    Inspiring
    August 19, 2020

    I was having the same problem, have you tried veryfing the zxp after signing it?

    "S:\ZXPSignCmd.exe" -verify "C:\Users\Name\Desktop\extension.zxp" -certinfo

    I read about people who had similar issues getting this to work, and they started mentioning doing the certificate generation and signing on a mac, so I tried that, and yes, with the exact same settings, I got it to work. I tried about 4 different flavours of ZXPSignCmd on PC first, to no avail...