Install not overwriting old files of same name.

Got a problem you cannot solve? Try here.
Post Reply
DanStutzman
Posts: 85
Joined: Wed Jun 10, 2009 10:36 am
Location: Philadelphia, PA
Contact:

Install not overwriting old files of same name.

Post by DanStutzman »

I have an install that is updating already installed files and the installer is not removing and updating said files.

Is there a compiler variable that I can set that will automatically overwrite all files?

Cheers,

Dan
bokkie
Posts: 767
Joined: Sun Feb 08, 2009 6:30 am

Post by bokkie »

Dan,

I don't know if this a relevant for you but back in the days when I used InstallShield there was a reference count maintained in the registry that caused exactly the same problem as you've reported. That is, if the sequence of installations and uninstallations got out of synch the reference count would not decrement to 0 and hence the deletion would not trigger. I think it had something to do with whether a file was installed as permanent or not. I'm sorry to say I can't remember what part of the registry the reference count is maintained in but if you search for the filename you might find it listed somewhere. That's the best I can suggest until someone else quips in with something more intelligent! :)
Peter. Smartly dressed, he still resembles an unmade bed.
InstallAware MVP
Post Reply