If the app is already installed, just open the link. Otherwise, install the app first, then re-open the link.