Install Firefox Esr (x86) Extension under registry does not work

I have a signed xpi file located to *C:\Program Files(x86)\MyExtensionProject* and I created a registry value in Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Firefox\Extensions with the string value that name of the extension ID and value data of xpi location.
Like:
Name:
MyNewExtensionID
Data:
C:\Program Files(x86)\MyExtensionProject\myExtension.xpi

Thank you.

Are you testing with 32-bit Firefox on 64-bit Windows?

Try adding your new value under both of these keys:

64-bit Firefox looks here:
HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Firefox\Extensions

32-bit Firefox looks here:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Mozilla\Firefox\Extensions

Thank you, but I tried this both registry keys. Is there anything special need to do when installing an xpi file for firefox esr 32-bit ?

Firefox usually checks the key at startup. If it’s compatible, Firefox 52 ESR will open a new tab asking if you want to activate the extension. If it’s not compatible, that may be indicated on the lower part of the Extensions panel of the Add-ons page.

By the way, there is a space between Files and (x86) in the path, unless you created your own programs folder.