![]() Apart from the last method, I am presenting the same material described by Jeffrey Richter in his January 1996 MSJ column, titled “Win32 Q&A”. I must take this opportunity to mention that only one of these techniques has been developed by myself. I know many different methods, each of which I will describe shortly. I’m sure there are other good reasons for self-deleting executables, but un-installation is probably the most common. Why would you want a program to delete itself? The only good reason I know of is an un-install program that needs to remove an application, as well as itself in order to completely remove the application from disk. There is very little information on the web, and what information exists is also hard to find. This is a subject that tends to come up every so often in the newsgroups, so I thought I’d write an article about the techniques I’ve collected to enable an executable to delete itself from disk (whilst running, that is).
0 Comments
Leave a Reply. |