I have to start Click Once application programmatically and I am using URL to start deployment process. As we know web browser should be IE to do this task successfully (FF+Addon seems solve it also).
How to start IE from .net application if IE is NOT a default web browser?
Maybe it is possible to do IE the default browser and then after installation switch back to previous one.
This is as simple as starting a process, setting the
Process.StartInfo.FileNameto “explorer” and passing in a parameter point to you your web address. See the sample (C#) below:This will open Internet Explorer, and immediately load the website passed in as an argument.
Also, the
Processclass is part of theSystem.Diagnosticsnamespace. Be sure to reference it at the top of your code file.