Hey.

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.

Since I only get a DetectRelatedMsiPackage if a package is already installed, 
and since the DetectedPackage event will tell me its State is Present if it's 
the same version, and Absent if it's not, I can use that information to assume 
it's a downgrade, but that feels like a big hack.

Is this a bug, or am I missing something?

Best regards

ALEXANDER K. SCHRØDER

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to