# HG changeset patch # User Daniel Atallah # Date 1200344817 0 # Node ID dfa337b45aeca236e1a4e40e10a79576e64133a5 # Parent e21cdaffbcdb623b9c97ec28b4aca73ed6d67775 Don't keep a handle to the "pidgin_is_running" mutex in the installer - this causes the uninstaller to fail. There probably is a better solution, but this works for now. diff -r e21cdaffbcdb -r dfa337b45aec pidgin/win32/nsis/pidgin-installer.nsi --- a/pidgin/win32/nsis/pidgin-installer.nsi Mon Jan 14 19:42:14 2008 +0000 +++ b/pidgin/win32/nsis/pidgin-installer.nsi Mon Jan 14 21:06:57 2008 +0000 @@ -1167,6 +1167,10 @@ MessageBox MB_RETRYCANCEL|MB_ICONEXCLAMATION $(PIDGIN_IS_RUNNING) /SD IDCANCEL IDRETRY retry_runcheck Abort + ; Close the Handle (If we don't do this, the uninstaller called from within will fail) + ; This is not optimal because there is a (small) window of time when a new process could start + System::Call 'kernel32::CloseHandle(i $R1) i .R1' + Pop $R1 Pop $R0 FunctionEnd