I'd like to be able to launch a ClickOnce application on a users desktop via an Email link. Basically, I'd construct a valid link with parameters and the user would click the email link in Outlook and it would automatically launch the application and pass in the parameter I specify.
I think that I've found something that works.
http://myapplicaitondomain.com/application/MyApplication.Application?param1=14322¶m2=5295
This appears to me to launch the CL app on the users machine, and install it if it isn't already. The application starts and returns the entire URL in the process, which means I would have to parse it for the params.
Is this the right way to do this ? Is it reliable ? It does not appear to work if Chrome is the default browser, but only IE will launch the app from the URL link. Is there a more appropriate way ? What about registering an application handler and creating a specially formatted link, would that be better ? The app is an offline CL app -- but seems to launch like I demonstrated above. The users would have more than one way to open it up - but the email link is a convenience because I can pass a GUID to point the user to make the app open to a particular place.
Thank you!