forced a clean-up of the plugins dir and solid installer's temp file on reboot since the regular one wasn't called on windows 9x

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3434 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2004-01-29 23:18:32 +00:00
parent 547b40d6b5
commit de15ecd44b
3 changed files with 32 additions and 12 deletions

View file

@ -79,6 +79,8 @@ static BOOL CALLBACK UninstProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM l
static DWORD WINAPI install_thread(LPVOID p);
void NSISCALL CleanUp();
HWND insthwnd, insthwnd2, insthwndbutton;
HWND m_curwnd;
@ -630,6 +632,11 @@ skipPage:
SendMessage(m_curwnd, WM_COMMAND, wParam, lParam);
}
}
if (uMsg == WM_ENDSESSION && wParam)
{
// the session can end any time after we process this message so we better clean up now
CleanUp();
}
return HandleStaticBkColor();
}