How can I make a hyperlink from a webpage to my application’s listing in the Desktop store, or, if the user doesn’t have the Desktop store installed, then to my app’s listing in the Online store?
Ideally, it should be one link that allows the user to go to either destination based on what’s installed. But I’d settle for a good way to link to my app in the Desktop store. The Online store actually does this when you click the “install” button… it gives you the option of opening the current listing in the Desktop store if you have it installed, but the JS code behind it is too convoluted for me to reasonably parse, and I assume there is some kind of well-documented, established standard for this, but I haven’t been able to find it.
How can I link to my app in the Desktop store from my website?