13 answers to a€?setting up a ClickOnce Application regarding usersa€?

13 answers to a€?setting up a ClickOnce Application regarding usersa€?

We provided a talk in hill View at the South Bay .Net User people fulfilling on August fifth. It was a broad discuss ClickOnce Deployment and ways to use it. Just about everyone into the space is a Windows kinds or WPF developer, which looks rarer and rarer today as men migrate to online solutions. There were most issues, and plenty of great discussion about items that individuals want altered in ClickOnce implementation.

More regularly wanted element where appointment and also in the MSDN ClickOnce community forum should put in a ClickOnce program for many consumers in the place of a particular individual.

This really is challenging considering that the files are stored in the user’s profile, where in actuality the consumer enjoys read/write benefits. One of many concept needs of ClickOnce would be to give a deployment strategy which allows clients to put in software without elevated privileges. Setting up a software for several consumers requires rights.

Another design goal would be to protect the customer maker from trouble as a result of applications installations. Can you recall a€?dll hella€?? This is the situation that happened whenever another program came along and changed a dll that you are currently influenced by, and brought about issues for the application, or the other way around.

In a ClickOnce deployment, it is possible to consist of a lot of the dll’s in your area because of the implementation, rather than installing them for the GAC or perhaps the house windows program directory. (it is leaving out, without a doubt, the .NET Framework also prerequisite solutions such as for instance SQLServer Express.) You can even deploy the SQL lightweight model dll’s or DirectX dll’s. This permits you to definitely manage rigorous adaptation regulation from the dll’s which you use in your own implementation. Microsoft would have to decide an effective way to deal with this in the event that application are implemented regarding consumers; should they weren’t mindful, you might effortlessly result in dll hell once more.

In contrast, when they just decided to put the documents according to the completely Users visibility, once again there is the permissions complications that Microsoft found to deal with with ClickOnce deployment, since the individual cannot write to people records without increased rights. Additionally, If Microsoft accumulated the deployed documents in the a€?All Usersa€? folder, they would need certainly to determine what to do if UserA ended up being logged on using the application, then UserB signed on so there ended up being an update readily available. Do you actually start up UserA? Will you leave the up-date because UserA is operating the application? What is UserA constantly leaves their account signed on? How could you actually ever carry out an update?

This demand is offered to Microsoft, but You will findn’t been aware of any plans to consist of an alteration to this in .NET 4.0, and so I won’t expect any rapid effects. Starting an all-users install try counter into the style aim of ClickOnce implementation, thus I think it will be Athens GA live escort reviews something all of us have to live with, at least for the time being. Using XCopy or a setup & deployment plan and moving yours incremental posting methods is the route to take should you positively have to have an All Users setting up.

Linked

This entry is and is also submitted under ClickOnce Deployment, Microsoft Technology. You can easily heed any responses to this admission through RSS 2.0 feed. You can easily leave a reply, or trackback from your own web site.

Like this:

  1. Ed Multare Claims: | Respond Back

Please, could you tell me… how to make an DVD car installer in which can put… . Screens Software Installar (setup.exe and msi) . Windows Installer redistribuible . NET FW 3.5 SP 1 resdistribuible . SQL 2005 Present redistribuible

[contact-form-7 404 "Not Found"]
0 0 vote
Đánh giá
Theo dõi
Thông báo khi
0 Bình luận
Inline Feedbacks
Tất cả bình luận