New Posts New Posts RSS Feed: ClickOnce update: just update the changed DLL and not all of them
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

ClickOnce update: just update the changed DLL and not all of them

 Post Reply Post Reply
Author
Dominique View Drop Down
Groupie
Groupie
Avatar

Joined: 28-Jun-2007
Location: Norway
Posts: 44
Post Options Post Options   Quote Dominique Quote  Post ReplyReply Direct Link To This Post Topic: ClickOnce update: just update the changed DLL and not all of them
    Posted: 23-Jan-2008 at 12:33am
Hi,
This is actually more a clickOnce question but I guess someone here faced the same issue, so I try my luck. :)
A customer installing my client for the first time will download a bunch of assemblies, Ideblade dll's, the model dll, the GUI dll and some more third parts dlls.
When I do a small fix it is usually in the model or in the UI which are pretty small assemblies. What I wish is that the customer just need to get the updated dll when the app is updating itself and not download the unchanged dlls.
Do you know a way to achieve this with ClickOnce deployement? Any pointer to a solution would be appreciate.
Dominique
Back to Top
pkarsh View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 14-Jun-2007
Location: United States
Posts: 32
Post Options Post Options   Quote pkarsh Quote  Post ReplyReply Direct Link To This Post Posted: 24-Jan-2008 at 5:05pm
According to the book "Smart Client Deployment with ClickOnce" by Brian Noyes "ClickOnce compares the hash value for each application file in both the client manifest and the server manifest to decide whether it needs to download the file or not." (p. 102). In other words, only the files that have changed should get updated. As I am not an expert on ClickOnce I don't know how the hash values get changed but if you have reason to believe that files are being updated that shouldn't be then perhaps you could take a look at that.
Back to Top
Dominique View Drop Down
Groupie
Groupie
Avatar

Joined: 28-Jun-2007
Location: Norway
Posts: 44
Post Options Post Options   Quote Dominique Quote  Post ReplyReply Direct Link To This Post Posted: 24-Jan-2008 at 11:28pm
Hi pkarsh,

Thank you for your pointer, I will check it out. :-)
And yes the all app' get dowloaded for any update, maybe it has somtething to do with the publishing prosess.

Dominique
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down