[wix-users] Bundle Update Element
Phill Hogland
phill.hogland at rimage.com
Tue May 17 09:33:21 PDT 2016
This is an area which you can author in many different ways to meet your specific needs. When I started working with this (back with wix 3.7) the best information that I could find was to evaluate the behavior of the WixToolset setup (for which the source code is under src\Setup\WixBAUninstallViewModel.cs) in the wix toolset. Since then Jacob has done good work to add similar functionality to the WixStdBA (~3.9), so the source for either is helpful.
These approaches use the Atom Syndication extension to the Atom 1.0 feed standard.
http://www.ietf.org/rfc/rfc4287.txt
https://www.w3.org/wiki/Atom
There are probably other approaches.
Because of a change in the wix 3.9 code which negatively impacted my calls to Engine.SetUpdate(), I am still using an implementation which is derived from the wix 3.7/3.8 UpdateViewModel approach. (I have not tested the newer approach more recently to see if the problems with calling SetUpdate have been resolved.) But once you parse the atom file and establish that a new download is available, and in my case call SetUpdate with a new url if necessary, then I just return from detectUpdateBegin with UpdateState.Available.
>From there Burn handles the Update (except that in my case if I changed urls from the originally authored server farm) I also implement corresponding checks in ResolveSource for the related packages.
There is no simple answer to these issues in my few, but there is source code for two implementations in the wix source which can be studied.
Phill
________________________________________
From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of Stephen Downard <stephen.downard at medfusion.com>
Sent: Tuesday, May 17, 2016 9:57:58 AM
To: wix-users at lists.wixtoolset.org
Subject: [wix-users] Bundle Update Element
I have been reading posts trying to understand how the Bundle supports automatic updating. I have read that the Update Element does not work by default. So my question is does the Bundle inherently support automatically updating? If yes, how is the bundle configured to query endpoint and what's the formatting of the endpoint data? How is the query triggered? If no, is there any documentation that details how design the bootstrapper?
Thanks!
____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
More information about the wix-users
mailing list