[wix-users] Error 2769 when Upgrading

Carter Young ecyoung at grandecom.net
Tue Aug 4 13:41:29 PDT 2015


Please See the MSI Error Table at:
https://msdn.microsoft.com/en-us/library/Aa372835(v=VS.85).aspx

Error 2769 states:

Message Code:2769
Message: Custom Action [2] did not close [3] MSIHANDLEs.

Remarks:
The InstallExecuteSequence may have been authored incorrectly. Actions
that change the system must be sequenced between the InstallInitialize
and InstallFinalize actions. Perform package validation and check for ICE77.

------------------------------------------------------------------

As such, the CA of Residue Remove must Come BEFORE InstallFinalize, ie.
the Sequence Number cannot be above 6600.  See the Suggested Install
Execute Order at:
https://msdn.microsoft.com/en-us/library/aa372038(v=vs.85).aspx

And on a Side note any "residue" should be removed by the
RemoveExistingProducts Action as documented here: 
https://msdn.microsoft.com/en-us/library/aa371197(v=vs.85).aspx
See Also:
http://wixtoolset.org/documentation/manual/v3/xsd/wix/removeexistingproducts.html
I believe You can recode your CA to fall within RemoveExistingProducts.


Carter

<snip>



More information about the wix-users mailing list