I have an IE plugin written in C #. At any time, the user will run the uninstaller or the updater to overwrite or delete the plugin file.
To unregister the plugin in IE, I have to run regasm / u for my file, but it happens that the file is stationary (loaded) and I cannot delete it until I restart the computer.
In fact, the explorer process locks the file. If I kill the explorer process, I can delete the file.
Any idea on how I can delete or overwrite a file without killing the explorer process or restarting the computer?
thanks
source
share