Just put a link on the page so if the user decides to install the program, he/she will install it. For example, what if I wanted to open your Word document with another program? i.e. I don't want to use MS Word. You're going to force me to install Word? Heck no! That's why you should provide a link to install the program, instead of forcing the installation (even though it's not possible anyway).
Diego