diff --git a/nsis/GoldenDict-EnRuEn.nsi b/nsis/GoldenDict-EnRuEn.nsi index dd17cf4e..07875943 100644 --- a/nsis/GoldenDict-EnRuEn.nsi +++ b/nsis/GoldenDict-EnRuEn.nsi @@ -203,6 +203,8 @@ LangString stopMsg ${LANG_ENGLISH} "Stopping ${WND_TITLE}" System::Call 'kernel32.dll::TerminateProcess(i r2, i 0) i .r1' close: System::Call 'kernel32.dll::CloseHandle(i r2) i .r1' + ; Make sure all process files are released + Sleep 2000 done: Pop $2 Pop $1 diff --git a/nsis/GoldenDict.nsi b/nsis/GoldenDict.nsi index e5191473..6c00d41e 100644 --- a/nsis/GoldenDict.nsi +++ b/nsis/GoldenDict.nsi @@ -201,6 +201,8 @@ LangString stopMsg ${LANG_ENGLISH} "Stopping ${WND_TITLE}" System::Call 'kernel32.dll::TerminateProcess(i r2, i 0) i .r1' close: System::Call 'kernel32.dll::CloseHandle(i r2) i .r1' + ; Make sure all process files are released + Sleep 2000 done: Pop $2 Pop $1