im.pidgin.pidgin: 99d368c57b2111b4808667a40daae808d642b63d

datallah at pidgin.im datallah at pidgin.im
Mon Jan 14 16:15:40 EST 2008


-----------------------------------------------------------------
Revision: 99d368c57b2111b4808667a40daae808d642b63d
Ancestor: 7b9018783b685f2d50ddc632b6d474828d7ab4cf
Author: datallah at pidgin.im
Date: 2008-01-14T21:06:57
Branch: im.pidgin.pidgin

Modified files:
        pidgin/win32/nsis/pidgin-installer.nsi

ChangeLog: 

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.

-------------- next part --------------
============================================================
--- pidgin/win32/nsis/pidgin-installer.nsi	0f5342e5f5c1666524ec3509940618d71ce7a97d
+++ pidgin/win32/nsis/pidgin-installer.nsi	6a989067186c0c177ca8aa5440e90e9484ea4ffc
@@ -1167,6 +1167,10 @@ Function ${UN}RunCheck
     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


More information about the Commits mailing list