Could you add an option to package an hybrid UXP plug in which is composed form UXP UI and a C / C++ Plug In (8bf in Windows)?
Namely the installer will install the Plug In file in a designated location.
Preferably it could also delete previous versions etc...