Open Tobbe opened 15 years ago
This happened when I was experimenting with using the task scheduler to start explorer during uninstall. Doing that will make the user SYSTEM owner of the explorer.exe process.
I'm using the KillProcDLL plugin for NSIS to kill explorer. If that plugin looks for any explorer.exe process and not only one that's started by the user that calls KillProc it might try to kill the one owned by SYSTEM. The current user might not have the rights to do this.
It seems like LOSI can't kill explorer.exe under certain circumstances.
I think it is when I Install LOSI -> Uninstall LOSI and then try to install LOSI again. The second time I install LOSI explorer doesn't die on the finish page of the installer.
Fix by running
if taskkill exists on the current OS. If it doesn't exist we have to ask the user to manually kill explorer.