I would like to make a protocol scheme in Windows that delegates to an HTTP/HTTPS URL with a certain prefix that replaces the protocol name. For example, let's say my protocol name is "foo"; I want "foo://bar" to redirect to "https://www.myfoo.com/somepath/bar". I need to be able to deploy it to many users as simply as possible, i.e. I'm trying to avoid making them install software (like Python/Perl/etc.). Giving them a registry file to import is acceptable, and anything else should be as lean as possible.
Does this require making a full-fledged handler program as shown in http://msdn.microsoft.com/en-us/library/aa767914%28v=vs.85%29.aspx and http://stackoverflow.com/questions/389204/how-do-i-create-my-own-url-protocol-e-g-so, or is there a simple "built-in" way to redirect the URLs this way? Can it be done with a .bat script in some way, or will I need to make an EXE if I don't want them having to install an interpreted language?