I have been trying to get the logging.  

On my test PC I can only get setups created with the Release build of wix
3.9.720 to run, so when using the test box I tried to add log messages to
each of the three handlers, but in this situation it seems that DetectUpdate
is never fired.  (As indicated before the existing log message that says
"Potential update..." does not show up in the log when I added other log
messages to DetectUpdate.  Messages in DetectUpdateBegin and
DetectUpdateComplete do show in that same log.  The above report was created
using bundles created with the installed wix 3.9.720 with DEBUG and Verbose
logging enabled.

So in another test scenario on my development machine, I built a debug
version of wix 3.9.720 and linked to it.  But in this situation I have to
use our production build box to build another version of the same project to
post to the web site, so that at the development station I can step into the
update code.  (Which creates some disruption for our normal business
production.)

In this scenario I did not see the above 'up to date' behavior yet, but when
I step into OnDetectUpdate in my mba, DetectUpdateEventArgs e cannot be
evaluated.  It can be evaluated in DetectUpdateBegin or
DetectUpdateComplete.  Looking at the code it now looks like I should be
able to modify the feed Url in DetectUpdateBegin, like I was doing before,
but for now I do not have any of that code implemented until I understand
the more basic behavior.  There are old conversations about modifying the
Update URL prior to looking for a download.  In this case all I am doing is
using an internally defined registry key to indicate to the BA that the
download should come from our QA test server rather than from the 'live'
site which is declared in the bundle.  Customers will not have this internal
key and the bundle will always deliver the 'live' server out in the wild. 
QA objects to the notion that they will test something, say it is ready for
release, and then what is actually released must be recompiled and retested
just to change the URL to a live site.  So I implemented this method of
changing the URL within the BA based on a privately defined input.





--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/wix39-720-Burn-DetectUpdate-fails-to-detect-new-version-tp7596046p7596049.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to