Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Click Once - All Users

Tags:

How to I configure click-once to install apps for all users. On another forum I got to 'use MSI' - thanks - but how. Also, the first installing user may not be admin - which may be a problem. And I want all users to trigger an update check. No local storage, it's a WPF client to a WCF service.

We're XP, internal.

like image 834
Tony Trembath-Drake Avatar asked Nov 10 '08 02:11

Tony Trembath-Drake


1 Answers

ClickOnce cannot be installed the way you are thinking since to launch it, it is just a URL (http://server/myapp/myapp.application). Thus if you can get a user to click on the URL, you've accomplished the same thing. Here's what we did and it works really well.

We manage 5,000 desktops in a large enterprise and what we did to get the app on all of the machines, was create a simple MSI file that put an icon on the desktop (you could put it in the startmenu or whatever I guess). The icon has the standard app icon and is merely a link icon which points to the URL.

When a user clicks the icon, it launches the application and gets installed, thus all automatic updates come down as well.

Now this worked for us because we have really good enterprise management software to be able to deploy MSI's to the enterprise. I don't know your situation so I don't know if this will work or not.

Building an MSI of the complete app defeats the purpose of the auto updates and things ClickOnce provides. Building a MSI to drop an icon on a machine is simple and just has to be installed once.

If you need any help or have questions on this, just email me, I'm pretty easy to find, just check my blog.

Hope that helps.

-Keith

like image 173
Keith Elder Avatar answered Sep 24 '22 15:09

Keith Elder