The company I work with has a utility tool for translating incoming data in
the HL7 format into DB operations. We used to support two applications,
which means our program was named "HL7 for Product X and Product Y". For
the next release, we're only supporting Product X, so we want to rename the
package which gets installed as well as update the DB calls. The person who
built the installer also had an incorrect value for the Manufacturer, so
that will change as well. I set it up as a Major upgrade, using the same
Update Code GUID for each, because we want the old service to get
uninstalled.

I attempted to follow the steps in
http://wixtoolset.org/documentation/manual/v3/howtos/updates/major_upgrade.html
and
http://wix.tramontana.co.hu/tutorial/upgrades-and-modularization/checking-for-oldies,
but it's not working. The old package is not being removed at all,
resulting in both of them being present. Is this because the Name and
Manufacturer were changed? I've tried matching them up, but I'm getting the
same result. I'm compiling this using the 3.7 version of the libraries if
that makes a difference.

FWIW, this is the MajorUpgrade code I'm using:
<MajorUpgrade
    AllowDowngrades="no" DowngradeErrorMessage="Cannot downgrade versions."
    AllowSameVersionUpgrades="no"
    />



-- 
Sean Duggan                sean.dug...@gmail.com
"*It's easy to win forgiveness for being wrong; being right is what gets
you into real trouble.*" -Bjarne Stroustrup
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to