3 ms·
ClickOnce doesn't require admin privileges to install software. Each program is installed on a per-user basis under the user's profile. So it doesn't need adm
by TimGebhardt 15y ago
ClickOnce doesn't require admin privileges to install software. Each program is installed on a per-user basis under the user's profile. So it doesn't need admin rights to write to C:\Program Files. I'm pretty sure this is how Chrome works as well.
As for installing COM components, you can install COM components on a per-user basis as well. The registry keys are installed under HKCU rather than HKLM, so again you don't need admin access.
I program .NET client applications for my day job and we use ClickOnce to deploy our software. The software doesn't require admin access to install or use, and we register a COM component for integration with Excel and it all works just fine.
- adamsmith 15y agoWow that's really cool! I wasn't sure you could register COM classes from ClickOnce. So yes it seems like ClickOnce is great as long as you don't need per machine installs or special powers to eg upgrade the user's .NET version, etc etc. How have you found the .application installer? (vs exe) Edit to add: I was surprised when MS introduced .msi installers! Someone at MSFT is cranking out the installer systems.)
- TimGebhardt 15y agoI actually like the .application format. It's nice because it's just an XML file that the end-customer's computer knows what to do with it. At my company we've actually created an ASP.NET MVC application that dynamically constructs and serves the .application file on a per-user basis. This easily allows us to do canary releasing or beta previews. We're very happy with it, and so are our customers and stakeholders.