Click here to Skip to main content
15,847,748 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I've tried to search answer for this but so far no avail. I have an online ClickOnce application which is started using an UNC path (not using an URL). I'd need to pass a few startup parameters to this application from another application (not a .Net app) but I just can't find out how.

So far I've tried using:
- Application.ApplicationDeployment.CurrentDeployment.ActivationUri
- AppDomain.CurrentDomain.SetupInformation.ActivationArguments.ActivationData
- File associations

but none of these approaches seem to work with online install mode.

Any ideas would be appreciated!
Updated 30-May-18 12:42pm
DotNetSteve 24-Nov-15 11:11am    
Please see if this link helps -
Wendelius 24-Nov-15 12:59pm    
Thanks for the link but that applies to an offline installation. Or at least I can't get it working with online install mode.
DotNetSteve 24-Nov-15 13:33pm    
Does this help? -
Wendelius 24-Nov-15 14:00pm    
That applies when the ClickOnce application is launched using an URL. In my situation the application is started from a network share using an UNC path, e.g. \\server\share\folder\someapp param1 param2
DotNetSteve 24-Nov-15 14:12pm    
OK, I found this but if it is true, doesn't seem to be a way to do it -

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900