Spodii / netgore

Cross platform online rpg engine using C# and SFML
http://www.netgore.com/
40 stars 16 forks source link

Updater needs to be able to update itself and files it's using #287

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
http://www.netgore.com/forums/post/goreupdater.html

Currently if there's for example an updated log4net.dll file it cannot be 
updated as the updater process locks the file since it's using it.

This should be resolved somehow since the only way to 'fix' this at the moment 
is making an entirely new installer package with the updated files in it.

Original issue reported on code.google.com by skye7...@gmail.com on 23 Dec 2010 at 5:35

GoogleCodeExporter commented 9 years ago
hmmmm, i was researching ways of force deleting locked files and implications.  
Will give it a go.  Can't be done in native C# even with interop however will 
probably have to use native windows calls.

Original comment by aphro.cag on 3 Apr 2011 at 5:07

GoogleCodeExporter commented 9 years ago
Found a way of keeping a handle to a file in memory while deleting it. Not sure 
if switching a file during runtime is going to work but i can always try right?

Original comment by aphro.cag on 5 Apr 2011 at 5:25

GoogleCodeExporter commented 9 years ago
Depricated.

Original comment by skye7...@gmail.com on 28 Jan 2013 at 1:04