Think I've found a bug... If the Bundle is a per user bundle, and you are 
running an existing installed bundle in modify mode to request it to 
self-update, the CEngineForApplication::SetUpdate call passes in the existing 
bundle identifier into PseudoBundleInitialize.  This has the adverse side 
effect of during the caching of the new bundle, the update one is downloaded 
but not moved because it thinks the cache path is the per user bundle path of 
the existing bundle. (If it was per-machine, the modify call would be running 
from the machine package cache not the user package cache.)

If I pass in a different GUID (hard coded to a const for testing purposes), 
then the self-updating works as I would have expected it and my unit test 
passes. Hopefully we can reserve some time during next week's meeting to 
discuss this, and the unit testing in general, so I can get a pull request in 
place.

Thanks,
Jacob

------------------------------------------------------------------------------
_______________________________________________
WiX-devs mailing list
WiX-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to