Win32: Make Setup/Update Mutex theme-unique

Fixes #3272
This commit is contained in:
Daniel Molkentin 2015-05-23 09:39:45 +02:00
parent 713beeb2a5
commit e708c145fa

View file

@ -777,7 +777,7 @@ Function .onInit
goto UAC_Elevate goto UAC_Elevate
;Prevent multiple instances. ;Prevent multiple instances.
System::Call 'kernel32::CreateMutexA(i 0, i 0, t "owncloudInstaller") i .r1 ?e' System::Call 'kernel32::CreateMutexA(i 0, i 0, t "${APPLICATION_SHORTNAME}Installer") i .r1 ?e'
Pop $R0 Pop $R0
StrCmp $R0 0 +3 StrCmp $R0 0 +3
MessageBox MB_OK|MB_ICONEXCLAMATION $INIT_INSTALLER_RUNNING MessageBox MB_OK|MB_ICONEXCLAMATION $INIT_INSTALLER_RUNNING