On 16-Aug-11 05:45, Alexander Krivács Schrøder wrote: > In implementing my own bootstrapper application, I've implemented the > DetectRelatedMsiPackage event to be informed of MajorUpgrades if an msi with > a lower version number is installed, and this works fine. However, the > RelatedOperation enum also contains a value called Downgrade, but when I run > my bootstrapper bundled with an older version of an msi, I get a > DetectRelatedMsiPackage event for it, but the Operation is set to None, not > Downgrade as I would have expected.
That's (apparently) by design if your major upgrade is marked "detect only," since there should be no action taken. The downgrade enum is passed only for *minor* upgrade packages (same product code and lower product version). When the product codes differ, any matching product is considered a major upgrade, even if it's a lower version -- same as MSI. You might want to file a feature request to ask for the related package version number to be included, so you have the same info Burn does in deciding what to do. -- sig://boB http://joyofsetup.com/ ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users