The purists will tell you that you should never do this, and they are mostly correct. If I had a chance, I would rebuild SomeFile.dll to be 3.0.1.2 ( or higher ) even if I was using the same source code as the 2.1.0.0 version. Just apply another label and it's no big deal. But sometimes SomeFile.dll is a resource that you don't have control over rebuilding and you are stuck with what you have. In that case I use "Version Lying" to trick MSI into reinstalling the file because MSI *thinks* it's greater then 3.0.1.1. ( Done by authoring the File elem...@defaultversion )
Checkout http://www.joyofsetup.com/2008/05/27/the-case-of-the-missing-mergemoddll-in-wix-v304123/ It talks about a case where WiX had a similar problem but didn't really do anything to fix it beyond suggesting uninstall/reinstall as a workaround. Also an old thread on the topic: http://www.mail-archive.com/[email protected]/msg04138.html Christopher Painter, Author of Deployment Engineering Blog Have a hot tip, know a secret or read a really good thread that deserves attention? E-Mail Me ----- Original Message ---- From: Alex Ivanoff <[email protected]> To: [email protected] Sent: Thu, September 30, 2010 11:53:28 PM Subject: [WiX-users] Overwrite files with higher version on major upgrade We need to overwrite files with higher version on major upgrade: SomeFile.dll (3.0.1.1) -> SomeFile.dll (2.1.0.0) How do we do it? ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ WiX-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ WiX-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-users

