zengeist
Posts: 2
Joined: Tue Sep 07, 2004 6:09 pm

MSI not overwriting existing file

I created a small app that copies an MDE file into a certain folder in program files. the new MSI has no problem overwriting a file that was created with a previous version of the program. but some people have copied a new mde into the folder manually. now, when the new MSI is run, it will not overwrite the pre-existing file (that was copied manually) h0w do I fix this? there are no errors either. it runs, but does not copy the new MDE into the folder.
Cata
Posts: 638
Joined: Thu Apr 10, 2003 7:37 am
Contact: Website

Windows Installer has certain rules when it comes to overriding files. It won't override unversioned files it if the date is not older than the one of the file in the install.

The only solution I see is using a Custom Action and do what you need manually.

Cata
Catalin Rotaru - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”