Unless you are using MSI 5.0 or higher, any/all files must be in the package involved in the installation transaction. So, the general rule would be to include SharedAdvanced.dll in both installations, but condition the component containing it to only install if the second package is (or is being) installed.
-----Original Message----- From: Ondrej Zarevucky [mailto:ondrej.zarevu...@fine.cz] Sent: Friday, May 28, 2010 8:00 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] How to update shared libraries in a consistent state? Hi everybody, we've just encountered a problem with our WiX setup when using shared libraries. We have two installations: - first one is installing only one shared component "SharedBase.dll" - second one is installing two shared components "SharedBase.dll" and "SharedAdvanced.dll" The issue is, when user installs the second program first and then installs the first one in a newer version. The updated SharedBase.dll is expecting updated SharedAdvanced.dll, but it stayed in the old version. Is there a way we can update SharedAdvanced.dll library in the first installation if it was already installed in the previous installation? We don't want to install this advanced library, when there was no library present... The reverse operation is even worse: Installing newer product with newer SharedBase.dll and then installing older second product with older SharedAdvanced.dll - I don't know, how to solve this at all :( BTW: Both shared libraries are backwards compatible, but they need to be in similar versions for them to communicate. Thank for any ideas Ondřej Zarevúcky ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users