PDA

Click to See Complete Forum and Search --> : ClickOnce Deployment w/o Acceptance


mbutler755
Apr 26th, 2010, 04:51 PM
I have built several applications and the scope always seems to get changed. That's not a big deal (I'm used to it). The biggest problem is deploying the application to my 70 remote locations after I am done. With each change, comes a deployment and I am tired of it. I just fixed this (hopefully).

All of my "clients" are remote locations on the same intranet. I have looked at other solutions like building an AutoUpdater myself, but I feel this is much easier and it is already available.

I plan on using ClickOnce, but I have one major problem. Two of my programs copy mission-critical data from my remote locations. I need to find a way to force these updates to occur, instead of waiting for the user to accept the download. Is there a way to do this?

Your comments/suggestions are welcome. :bigyello:

mbutler755
Apr 26th, 2010, 08:35 PM
I found this information from MSDN (http://msdn.microsoft.com/en-us/magazine/cc163973.aspx), but it is talking about VS2008 Beta. Anybody have any ideas on how to do this, or if this feature was completed.

"In later versions of the Visual Studio beta, there will be one additional way to handle elevated permissions without needing to prompt the user. In an intranet environment, you can have an administrator configure a trust license authority within the security policy on each user's machine. Once this is done, a trust license can be deployed with a ClickOnce application to elevate permissions to those required by the application without prompting the user. Basically, if the trust license comes from an authority that is already trusted by the user's machine, then the ClickOnce engine will be allowed to elevate the permissions on the user's machine based on the credentials of the trust license authority deployed with the application."

mbutler755
Apr 26th, 2010, 08:44 PM
Starting the update process with code (http://bloggingabout.net/blogs/dennis/archive/2007/11/05/manual-check-for-updates-with-clickonce.aspx)