How does URL Protocol determine if there is an installer locally?

how to determine whether to install the program locally, if so, pop up the corresponding program (to implement), if there is no installation prompt to install (not implemented)?

Mar.14,2021
Menu