There should be a feature for Install/Update native messaging host during program startup even if database is not unlocked.