I'm currently experiencing a strange problem while upgrading a product :
I've a product with version 1.0.1 including a merge module including the file DAO2535.TLB.
I've an updated package (version 1.2.0) with no change to this merge module (same component id same file...) and major update for the application.
The on ly thing changed is that i've have populated the MsiHashFile table for all unversioned files (including DAO2535.TLB).
I have a machine (but this happens also on other configuration or OS) with an existing installation of the file DAO2535.TLB inside Common Files\DAO directory.
I, first, install version 1.01 of the product :
No problem at this step : the product is working well and preceding product using the DAO2535.TLB file also.
Then, i update the product to version 1.2.0 :
The file DAO2535.TLB is gone away !!! (and the product requiring it could not work anymore).
When i look inside the msi with orca : no changes are visibles : all references to the file are the same as the preceding version of the package (since there is no change on that).
I've two files inside the merge module : the DAO350.DLL and the DAO2535.TLB.
The first one is versioned and don't change and the second on is unversionned and don't change.
Registry entries are merged at build and haven't change.
All IDs related to the files and components and Features are the same in each msi package.
If i directly install version 1.2.0 of the product the file is still here and don't disappear.
So, by updating the app i lose the file and only in this case.
I've tested on Windows NT/2000 workstation with the same constatation : the file is deleted during the update.
The only thing changing between the two package is the MsiFileHash entry for the DAO2535.TLB file.
Anyone has experienced this kind of problem ?
Or anyone got an idea of how this is possible (since it's an update the file normally don't have to be removed) ?
Or anyone know a way to enforce the file (and only this one) to be still here after the update.
P.S. : i've read the thread on UNVERSIONED problems and patch here : http://forum.install...&hl=msifilehash
but with have no distribution in compressed mode and we've got ONLY one file experiencing the suppression...
Edited by duns, 08 August 2003 - 08:56.