If the file is a PE file (exe, dll, etc.) and it has a version record (you can see file version information from the Properties sheet when you right-click the file) you make sure the file's name and component's guid are the same between the two MSIs. Windows Installer takes care of the rest.
-----Original Message----- From: bjscf [mailto:song_chang_f...@yahoo.com.cn] Sent: Monday, August 24, 2009 4:28 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] How to overwrite the old version file when MSI was updated? Hi all, I have a msi which installs a file A (version 1.0). Now the msi is updated with file A upgrading to version 2.0. I hope when the new msi is installed on a machine which has installed old msi, the new version file can overwrite the old version file. How can I implement it? Thanks -- View this message in context: http://n2.nabble.com/How-to-overwrite-the-old-version-file-when-MSI-was-upda ted-tp3502732p3502732.html Sent from the wix-users mailing list archive at Nabble.com. ---------------------------------------------------------------------------- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users