I have an internal intranet application as a exe file (win32, written in Delphi).
I regularly update it with new features and patches.
Many people are accessing the same exe (using it with remote desktop).
In Windows Server 2003 to replace the file I just needed to:
rename the old file, copy the new file.
This is not possible in 2008 anymore since because of same caching the new file doesn't work. It runs but then there are problems (probably linked to the way Delphi uses the exe resources). The only way is to close all the users sessions and replace the file.
May you suggest a method that works? Simple if possible? Is it possible to disable this caching? Or any other trick that allows me to replace a file (without changing the full path).