Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LOSI can't kill explorer.exe #15

Open
Tobbe opened this issue Apr 17, 2009 · 1 comment
Open

LOSI can't kill explorer.exe #15

Tobbe opened this issue Apr 17, 2009 · 1 comment
Labels

Comments

@Tobbe
Copy link
Owner

Tobbe commented Apr 17, 2009

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

```
taskkill /f /im explorer.exe
```

if taskkill exists on the current OS. If it doesn’t exist we have to ask the user to manually kill explorer.

@Tobbe
Copy link
Owner Author

Tobbe commented Apr 17, 2009

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant