Given that the Marketplace is now being shut down does anybody have any suggestions on how to provide their own "Download Now" button that automatically downloads AIR if the user doesn't already have it installed?

So basically, a single button that downloads AIR and installs it and follws by downloading the application an installing that?