From 530c7d1bbd1fb460bb4b7ac7b52d02dfba0c9402 Mon Sep 17 00:00:00 2001 From: namoen0301 Date: Fri, 14 Nov 2025 21:20:02 +0800 Subject: [PATCH] NSIS: Create a mutex to ensure only one installer is running PR #23450. --- dist/windows/installer-translations/afrikaans.nsh | 3 ++- dist/windows/installer-translations/albanian.nsh | 3 ++- dist/windows/installer-translations/arabic.nsh | 3 ++- dist/windows/installer-translations/basque.nsh | 2 ++ dist/windows/installer-translations/belarusian.nsh | 3 ++- dist/windows/installer-translations/bosnian.nsh | 3 ++- dist/windows/installer-translations/breton.nsh | 2 ++ dist/windows/installer-translations/bulgarian.nsh | 2 ++ dist/windows/installer-translations/catalan.nsh | 3 ++- dist/windows/installer-translations/croatian.nsh | 2 ++ dist/windows/installer-translations/czech.nsh | 2 ++ dist/windows/installer-translations/danish.nsh | 2 ++ dist/windows/installer-translations/dutch.nsh | 2 ++ dist/windows/installer-translations/english.nsh | 3 ++- dist/windows/installer-translations/esperanto.nsh | 2 ++ dist/windows/installer-translations/estonian.nsh | 2 ++ dist/windows/installer-translations/farsi.nsh | 2 ++ dist/windows/installer-translations/finnish.nsh | 2 ++ dist/windows/installer-translations/french.nsh | 2 ++ dist/windows/installer-translations/galician.nsh | 2 ++ dist/windows/installer-translations/german.nsh | 2 ++ dist/windows/installer-translations/greek.nsh | 3 ++- dist/windows/installer-translations/hebrew.nsh | 2 ++ dist/windows/installer-translations/hungarian.nsh | 2 ++ dist/windows/installer-translations/icelandic.nsh | 2 ++ dist/windows/installer-translations/indonesian.nsh | 2 ++ dist/windows/installer-translations/irish.nsh | 2 ++ dist/windows/installer-translations/italian.nsh | 2 ++ dist/windows/installer-translations/japanese.nsh | 2 ++ dist/windows/installer-translations/korean.nsh | 2 ++ dist/windows/installer-translations/kurdish.nsh | 2 ++ dist/windows/installer-translations/latvian.nsh | 2 ++ dist/windows/installer-translations/lithuanian.nsh | 2 ++ .../windows/installer-translations/luxembourgish.nsh | 3 ++- dist/windows/installer-translations/macedonian.nsh | 2 ++ dist/windows/installer-translations/malay.nsh | 2 ++ dist/windows/installer-translations/mongolian.nsh | 3 ++- dist/windows/installer-translations/norwegian.nsh | 2 ++ .../installer-translations/norwegiannynorsk.nsh | 2 ++ dist/windows/installer-translations/polish.nsh | 2 ++ dist/windows/installer-translations/portuguese.nsh | 2 ++ dist/windows/installer-translations/portugueseBR.nsh | 2 ++ dist/windows/installer-translations/romanian.nsh | 3 ++- dist/windows/installer-translations/russian.nsh | 2 ++ dist/windows/installer-translations/serbian.nsh | 2 ++ dist/windows/installer-translations/serbianlatin.nsh | 2 ++ dist/windows/installer-translations/simpchinese.nsh | 2 ++ dist/windows/installer-translations/slovak.nsh | 2 ++ dist/windows/installer-translations/slovenian.nsh | 2 ++ dist/windows/installer-translations/spanish.nsh | 2 ++ .../installer-translations/spanishinternational.nsh | 3 ++- dist/windows/installer-translations/swedish.nsh | 2 ++ dist/windows/installer-translations/thai.nsh | 2 ++ dist/windows/installer-translations/tradchinese.nsh | 2 ++ dist/windows/installer-translations/turkish.nsh | 2 ++ dist/windows/installer-translations/ukrainian.nsh | 2 ++ dist/windows/installer-translations/uzbek.nsh | 3 ++- dist/windows/installer-translations/welsh.nsh | 3 ++- dist/windows/installer.nsh | 12 ++++++++++++ 59 files changed, 128 insertions(+), 14 deletions(-) diff --git a/dist/windows/installer-translations/afrikaans.nsh b/dist/windows/installer-translations/afrikaans.nsh index 316ce274d..c5afaf7b2 100644 --- a/dist/windows/installer-translations/afrikaans.nsh +++ b/dist/windows/installer-translations/afrikaans.nsh @@ -36,7 +36,8 @@ LangString inst_uninstall_link_description ${LANG_AFRIKAANS} "Uninstall qBittorr LangString inst_arch_mismatch_x64_on_arm64 ${LANG_AFRIKAANS} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_AFRIKAANS} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." - +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_AFRIKAANS} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/albanian.nsh b/dist/windows/installer-translations/albanian.nsh index 3efc87122..5f7e2bba8 100644 --- a/dist/windows/installer-translations/albanian.nsh +++ b/dist/windows/installer-translations/albanian.nsh @@ -38,7 +38,8 @@ LangString inst_uninstall_link_description ${LANG_ALBANIAN} "Uninstall qBittorre LangString inst_arch_mismatch_x64_on_arm64 ${LANG_ALBANIAN} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ALBANIAN} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." - +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_ALBANIAN} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/arabic.nsh b/dist/windows/installer-translations/arabic.nsh index be062d167..2bf65ea11 100644 --- a/dist/windows/installer-translations/arabic.nsh +++ b/dist/windows/installer-translations/arabic.nsh @@ -36,7 +36,8 @@ LangString inst_uninstall_link_description ${LANG_ARABIC} "Uninstall qBittorrent LangString inst_arch_mismatch_x64_on_arm64 ${LANG_ARABIC} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ARABIC} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." - +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_ARABIC} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/basque.nsh b/dist/windows/installer-translations/basque.nsh index dfa531c21..e4047e170 100644 --- a/dist/windows/installer-translations/basque.nsh +++ b/dist/windows/installer-translations/basque.nsh @@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_BASQUE} "Uninstall qBittorrent LangString inst_arch_mismatch_x64_on_arm64 ${LANG_BASQUE} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_BASQUE} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_BASQUE} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/belarusian.nsh b/dist/windows/installer-translations/belarusian.nsh index 64e2d5644..f361bb3fc 100644 --- a/dist/windows/installer-translations/belarusian.nsh +++ b/dist/windows/installer-translations/belarusian.nsh @@ -36,7 +36,8 @@ LangString inst_uninstall_link_description ${LANG_BELARUSIAN} "Uninstall qBittor LangString inst_arch_mismatch_x64_on_arm64 ${LANG_BELARUSIAN} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_BELARUSIAN} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." - +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_BELARUSIAN} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/bosnian.nsh b/dist/windows/installer-translations/bosnian.nsh index e9da55f08..5935ae6dd 100644 --- a/dist/windows/installer-translations/bosnian.nsh +++ b/dist/windows/installer-translations/bosnian.nsh @@ -36,7 +36,8 @@ LangString inst_uninstall_link_description ${LANG_BOSNIAN} "Uninstall qBittorren LangString inst_arch_mismatch_x64_on_arm64 ${LANG_BOSNIAN} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_BOSNIAN} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." - +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_BOSNIAN} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/breton.nsh b/dist/windows/installer-translations/breton.nsh index a31978750..c25e255e5 100644 --- a/dist/windows/installer-translations/breton.nsh +++ b/dist/windows/installer-translations/breton.nsh @@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_BRETON} "Uninstall qBittorrent LangString inst_arch_mismatch_x64_on_arm64 ${LANG_BRETON} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_BRETON} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_BRETON} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/bulgarian.nsh b/dist/windows/installer-translations/bulgarian.nsh index 3f08110c3..2122123ac 100644 --- a/dist/windows/installer-translations/bulgarian.nsh +++ b/dist/windows/installer-translations/bulgarian.nsh @@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_BULGARIAN} "Uninstall qBittorr LangString inst_arch_mismatch_x64_on_arm64 ${LANG_BULGARIAN} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_BULGARIAN} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_BULGARIAN} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/catalan.nsh b/dist/windows/installer-translations/catalan.nsh index 19241fa0c..55d8c2604 100644 --- a/dist/windows/installer-translations/catalan.nsh +++ b/dist/windows/installer-translations/catalan.nsh @@ -36,7 +36,8 @@ LangString inst_uninstall_link_description ${LANG_CATALAN} "Desinstal·lar qBitt LangString inst_arch_mismatch_x64_on_arm64 ${LANG_CATALAN} "Aquesta versió x64 de qBittorrent no pot funcionar en sistemes ARM64. Siusplau, descarrega l'instal·lador ARM64." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_CATALAN} "Aquesta versió ARM64 de qBittorrent no pot funcionar en sistemes x64. Siusplau, descarrega l'instal·lador x64." - +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_CATALAN} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/croatian.nsh b/dist/windows/installer-translations/croatian.nsh index e07acaa6e..ae83d9df2 100644 --- a/dist/windows/installer-translations/croatian.nsh +++ b/dist/windows/installer-translations/croatian.nsh @@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_CROATIAN} "Uninstall qBittorre LangString inst_arch_mismatch_x64_on_arm64 ${LANG_CROATIAN} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_CROATIAN} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_CROATIAN} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/czech.nsh b/dist/windows/installer-translations/czech.nsh index 2a9a948ab..5a8fe11ff 100644 --- a/dist/windows/installer-translations/czech.nsh +++ b/dist/windows/installer-translations/czech.nsh @@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_CZECH} "Uninstall qBittorrent" LangString inst_arch_mismatch_x64_on_arm64 ${LANG_CZECH} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_CZECH} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_CZECH} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/danish.nsh b/dist/windows/installer-translations/danish.nsh index b1e2dbb21..db4a4913a 100644 --- a/dist/windows/installer-translations/danish.nsh +++ b/dist/windows/installer-translations/danish.nsh @@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_DANISH} "Afinstaller qBittorre LangString inst_arch_mismatch_x64_on_arm64 ${LANG_DANISH} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_DANISH} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_DANISH} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/dutch.nsh b/dist/windows/installer-translations/dutch.nsh index 4f6b0f119..bebaeb8b7 100644 --- a/dist/windows/installer-translations/dutch.nsh +++ b/dist/windows/installer-translations/dutch.nsh @@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_DUTCH} "qBittorrent verwijdere LangString inst_arch_mismatch_x64_on_arm64 ${LANG_DUTCH} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_DUTCH} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_DUTCH} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/english.nsh b/dist/windows/installer-translations/english.nsh index bde806575..97c0892f6 100644 --- a/dist/windows/installer-translations/english.nsh +++ b/dist/windows/installer-translations/english.nsh @@ -36,7 +36,8 @@ LangString inst_uninstall_link_description ${LANG_ENGLISH} "Uninstall qBittorren LangString inst_arch_mismatch_x64_on_arm64 ${LANG_ENGLISH} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." - +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/esperanto.nsh b/dist/windows/installer-translations/esperanto.nsh index 49869c491..75d81e837 100644 --- a/dist/windows/installer-translations/esperanto.nsh +++ b/dist/windows/installer-translations/esperanto.nsh @@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_ESPERANTO} "Uninstall qBittorr LangString inst_arch_mismatch_x64_on_arm64 ${LANG_ESPERANTO} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ESPERANTO} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_ESPERANTO} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/estonian.nsh b/dist/windows/installer-translations/estonian.nsh index 03c9d1c73..a625722b0 100644 --- a/dist/windows/installer-translations/estonian.nsh +++ b/dist/windows/installer-translations/estonian.nsh @@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_ESTONIAN} "Desinstalli qBittor LangString inst_arch_mismatch_x64_on_arm64 ${LANG_ESTONIAN} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ESTONIAN} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_ESTONIAN} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/farsi.nsh b/dist/windows/installer-translations/farsi.nsh index 4483e4b77..40d1da6e1 100644 --- a/dist/windows/installer-translations/farsi.nsh +++ b/dist/windows/installer-translations/farsi.nsh @@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_FARSI} "Uninstall qBittorrent" LangString inst_arch_mismatch_x64_on_arm64 ${LANG_FARSI} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_FARSI} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_FARSI} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/finnish.nsh b/dist/windows/installer-translations/finnish.nsh index 86d6e791d..875a76d05 100644 --- a/dist/windows/installer-translations/finnish.nsh +++ b/dist/windows/installer-translations/finnish.nsh @@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_FINNISH} "Uninstall qBittorren LangString inst_arch_mismatch_x64_on_arm64 ${LANG_FINNISH} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_FINNISH} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_FINNISH} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/french.nsh b/dist/windows/installer-translations/french.nsh index e25998930..7a223f175 100644 --- a/dist/windows/installer-translations/french.nsh +++ b/dist/windows/installer-translations/french.nsh @@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_FRENCH} "Désinstaller qBittor LangString inst_arch_mismatch_x64_on_arm64 ${LANG_FRENCH} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_FRENCH} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_FRENCH} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/galician.nsh b/dist/windows/installer-translations/galician.nsh index 97921edb5..fd8c277aa 100644 --- a/dist/windows/installer-translations/galician.nsh +++ b/dist/windows/installer-translations/galician.nsh @@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_GALICIAN} "Uninstall qBittorre LangString inst_arch_mismatch_x64_on_arm64 ${LANG_GALICIAN} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_GALICIAN} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_GALICIAN} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/german.nsh b/dist/windows/installer-translations/german.nsh index 42e589467..c0b901586 100644 --- a/dist/windows/installer-translations/german.nsh +++ b/dist/windows/installer-translations/german.nsh @@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_GERMAN} "qBittorrent deinstall LangString inst_arch_mismatch_x64_on_arm64 ${LANG_GERMAN} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_GERMAN} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_GERMAN} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/greek.nsh b/dist/windows/installer-translations/greek.nsh index 236bcc3ed..2f8d5337e 100644 --- a/dist/windows/installer-translations/greek.nsh +++ b/dist/windows/installer-translations/greek.nsh @@ -36,7 +36,8 @@ LangString inst_uninstall_link_description ${LANG_GREEK} "Uninstall qBittorrent" LangString inst_arch_mismatch_x64_on_arm64 ${LANG_GREEK} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_GREEK} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." - +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_GREEK} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/hebrew.nsh b/dist/windows/installer-translations/hebrew.nsh index 9e6e47bd1..6f2049a86 100644 --- a/dist/windows/installer-translations/hebrew.nsh +++ b/dist/windows/installer-translations/hebrew.nsh @@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_HEBREW} "הסר את ההתק LangString inst_arch_mismatch_x64_on_arm64 ${LANG_HEBREW} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_HEBREW} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_HEBREW} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/hungarian.nsh b/dist/windows/installer-translations/hungarian.nsh index 15ad93096..30c8ea849 100644 --- a/dist/windows/installer-translations/hungarian.nsh +++ b/dist/windows/installer-translations/hungarian.nsh @@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_HUNGARIAN} "qBittorrent eltáv LangString inst_arch_mismatch_x64_on_arm64 ${LANG_HUNGARIAN} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_HUNGARIAN} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_HUNGARIAN} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/icelandic.nsh b/dist/windows/installer-translations/icelandic.nsh index 040c5155a..6c8f2737a 100644 --- a/dist/windows/installer-translations/icelandic.nsh +++ b/dist/windows/installer-translations/icelandic.nsh @@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_ICELANDIC} "Uninstall qBittorr LangString inst_arch_mismatch_x64_on_arm64 ${LANG_ICELANDIC} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ICELANDIC} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_ICELANDIC} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/indonesian.nsh b/dist/windows/installer-translations/indonesian.nsh index 1d6f8cd60..52ce31943 100644 --- a/dist/windows/installer-translations/indonesian.nsh +++ b/dist/windows/installer-translations/indonesian.nsh @@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_INDONESIAN} "Hapus qBittorrent LangString inst_arch_mismatch_x64_on_arm64 ${LANG_INDONESIAN} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_INDONESIAN} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_INDONESIAN} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/irish.nsh b/dist/windows/installer-translations/irish.nsh index 7e2850157..098bc6726 100644 --- a/dist/windows/installer-translations/irish.nsh +++ b/dist/windows/installer-translations/irish.nsh @@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_IRISH} "Uninstall qBittorrent" LangString inst_arch_mismatch_x64_on_arm64 ${LANG_IRISH} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_IRISH} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_IRISH} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/italian.nsh b/dist/windows/installer-translations/italian.nsh index c1e1089df..74ba00be0 100644 --- a/dist/windows/installer-translations/italian.nsh +++ b/dist/windows/installer-translations/italian.nsh @@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_ITALIAN} "Disinstalla qBittorr LangString inst_arch_mismatch_x64_on_arm64 ${LANG_ITALIAN} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ITALIAN} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_ITALIAN} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/japanese.nsh b/dist/windows/installer-translations/japanese.nsh index 293814980..00f2b99c6 100644 --- a/dist/windows/installer-translations/japanese.nsh +++ b/dist/windows/installer-translations/japanese.nsh @@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_JAPANESE} "qBittorrent をア LangString inst_arch_mismatch_x64_on_arm64 ${LANG_JAPANESE} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_JAPANESE} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_JAPANESE} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/korean.nsh b/dist/windows/installer-translations/korean.nsh index bf22cb88c..042f606aa 100644 --- a/dist/windows/installer-translations/korean.nsh +++ b/dist/windows/installer-translations/korean.nsh @@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_KOREAN} "qBittorrent 제거" LangString inst_arch_mismatch_x64_on_arm64 ${LANG_KOREAN} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_KOREAN} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_KOREAN} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/kurdish.nsh b/dist/windows/installer-translations/kurdish.nsh index 929d64a61..7037c0483 100644 --- a/dist/windows/installer-translations/kurdish.nsh +++ b/dist/windows/installer-translations/kurdish.nsh @@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_KURDISH} "کیووبیتتۆر LangString inst_arch_mismatch_x64_on_arm64 ${LANG_KURDISH} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_KURDISH} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_KURDISH} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/latvian.nsh b/dist/windows/installer-translations/latvian.nsh index d8d739fa2..c3aede56c 100644 --- a/dist/windows/installer-translations/latvian.nsh +++ b/dist/windows/installer-translations/latvian.nsh @@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_LATVIAN} "Atinstalēt qBittorr LangString inst_arch_mismatch_x64_on_arm64 ${LANG_LATVIAN} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_LATVIAN} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_LATVIAN} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/lithuanian.nsh b/dist/windows/installer-translations/lithuanian.nsh index 8dd6ed083..61fbaead9 100644 --- a/dist/windows/installer-translations/lithuanian.nsh +++ b/dist/windows/installer-translations/lithuanian.nsh @@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_LITHUANIAN} "Pašalinti qBitto LangString inst_arch_mismatch_x64_on_arm64 ${LANG_LITHUANIAN} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_LITHUANIAN} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_LITHUANIAN} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/luxembourgish.nsh b/dist/windows/installer-translations/luxembourgish.nsh index 106bd34f7..1dcfe9b9f 100644 --- a/dist/windows/installer-translations/luxembourgish.nsh +++ b/dist/windows/installer-translations/luxembourgish.nsh @@ -36,7 +36,8 @@ LangString inst_uninstall_link_description ${LANG_LUXEMBOURGISH} "qBittorrent de LangString inst_arch_mismatch_x64_on_arm64 ${LANG_LUXEMBOURGISH} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_LUXEMBOURGISH} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." - +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_LUXEMBOURGISH} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/macedonian.nsh b/dist/windows/installer-translations/macedonian.nsh index 4a5952b2f..06f9fd3aa 100644 --- a/dist/windows/installer-translations/macedonian.nsh +++ b/dist/windows/installer-translations/macedonian.nsh @@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_MACEDONIAN} "Uninstall qBittor LangString inst_arch_mismatch_x64_on_arm64 ${LANG_MACEDONIAN} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_MACEDONIAN} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_MACEDONIAN} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/malay.nsh b/dist/windows/installer-translations/malay.nsh index 9c05ad4e5..7b44cbeca 100644 --- a/dist/windows/installer-translations/malay.nsh +++ b/dist/windows/installer-translations/malay.nsh @@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_MALAY} "Uninstall qBittorrent" LangString inst_arch_mismatch_x64_on_arm64 ${LANG_MALAY} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_MALAY} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_MALAY} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/mongolian.nsh b/dist/windows/installer-translations/mongolian.nsh index 115a57c66..e0c526ba5 100644 --- a/dist/windows/installer-translations/mongolian.nsh +++ b/dist/windows/installer-translations/mongolian.nsh @@ -36,7 +36,8 @@ LangString inst_uninstall_link_description ${LANG_MONGOLIAN} "Uninstall qBittorr LangString inst_arch_mismatch_x64_on_arm64 ${LANG_MONGOLIAN} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_MONGOLIAN} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." - +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_MONGOLIAN} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/norwegian.nsh b/dist/windows/installer-translations/norwegian.nsh index 600f1a63f..bb74c0482 100644 --- a/dist/windows/installer-translations/norwegian.nsh +++ b/dist/windows/installer-translations/norwegian.nsh @@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_NORWEGIAN} "Uninstall qBittorr LangString inst_arch_mismatch_x64_on_arm64 ${LANG_NORWEGIAN} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_NORWEGIAN} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_NORWEGIAN} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/norwegiannynorsk.nsh b/dist/windows/installer-translations/norwegiannynorsk.nsh index fdaa67251..f90e0af5c 100644 --- a/dist/windows/installer-translations/norwegiannynorsk.nsh +++ b/dist/windows/installer-translations/norwegiannynorsk.nsh @@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_NORWEGIANNYNORSK} "Uninstall q LangString inst_arch_mismatch_x64_on_arm64 ${LANG_NORWEGIANNYNORSK} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_NORWEGIANNYNORSK} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_NORWEGIANNYNORSK} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/polish.nsh b/dist/windows/installer-translations/polish.nsh index da973b464..9d322f3e0 100644 --- a/dist/windows/installer-translations/polish.nsh +++ b/dist/windows/installer-translations/polish.nsh @@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_POLISH} "Odinstaluj qBittorren LangString inst_arch_mismatch_x64_on_arm64 ${LANG_POLISH} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_POLISH} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_POLISH} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/portuguese.nsh b/dist/windows/installer-translations/portuguese.nsh index 876f2d7f1..fc8a9f7ca 100644 --- a/dist/windows/installer-translations/portuguese.nsh +++ b/dist/windows/installer-translations/portuguese.nsh @@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_PORTUGUESE} "Desinstalar qBitt LangString inst_arch_mismatch_x64_on_arm64 ${LANG_PORTUGUESE} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_PORTUGUESE} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_PORTUGUESE} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/portugueseBR.nsh b/dist/windows/installer-translations/portugueseBR.nsh index 321bc1186..4c8bf0b6f 100644 --- a/dist/windows/installer-translations/portugueseBR.nsh +++ b/dist/windows/installer-translations/portugueseBR.nsh @@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_PORTUGUESEBR} "Desinstalar o q LangString inst_arch_mismatch_x64_on_arm64 ${LANG_PORTUGUESEBR} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_PORTUGUESEBR} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_PORTUGUESEBR} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/romanian.nsh b/dist/windows/installer-translations/romanian.nsh index ec23ec99a..779ef8a87 100644 --- a/dist/windows/installer-translations/romanian.nsh +++ b/dist/windows/installer-translations/romanian.nsh @@ -36,7 +36,8 @@ LangString inst_uninstall_link_description ${LANG_ROMANIAN} "Dezinstalați qBitt LangString inst_arch_mismatch_x64_on_arm64 ${LANG_ROMANIAN} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ROMANIAN} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." - +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_ROMANIAN} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/russian.nsh b/dist/windows/installer-translations/russian.nsh index 035696343..9f52f9084 100644 --- a/dist/windows/installer-translations/russian.nsh +++ b/dist/windows/installer-translations/russian.nsh @@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_RUSSIAN} "Удалить qBitt LangString inst_arch_mismatch_x64_on_arm64 ${LANG_RUSSIAN} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_RUSSIAN} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_RUSSIAN} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/serbian.nsh b/dist/windows/installer-translations/serbian.nsh index cddbddac2..2d4d038b3 100644 --- a/dist/windows/installer-translations/serbian.nsh +++ b/dist/windows/installer-translations/serbian.nsh @@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_SERBIAN} "Uninstall qBittorren LangString inst_arch_mismatch_x64_on_arm64 ${LANG_SERBIAN} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_SERBIAN} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_SERBIAN} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/serbianlatin.nsh b/dist/windows/installer-translations/serbianlatin.nsh index 81ada5042..8014dc1d8 100644 --- a/dist/windows/installer-translations/serbianlatin.nsh +++ b/dist/windows/installer-translations/serbianlatin.nsh @@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_SERBIANLATIN} "Uninstall qBitt LangString inst_arch_mismatch_x64_on_arm64 ${LANG_SERBIANLATIN} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_SERBIANLATIN} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_SERBIANLATIN} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/simpchinese.nsh b/dist/windows/installer-translations/simpchinese.nsh index c3166ea3c..726eac4ac 100644 --- a/dist/windows/installer-translations/simpchinese.nsh +++ b/dist/windows/installer-translations/simpchinese.nsh @@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_SIMPCHINESE} "卸载 qBittorre LangString inst_arch_mismatch_x64_on_arm64 ${LANG_SIMPCHINESE} "X64 版本的 qBittorrent 不能运行在 ARM64 系统上。请下载 ARM64 安装程序。" ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_SIMPCHINESE} "ARM64 版本的 qBittorrent 不能运行在 X64 系统上。请下载 X64 安装程序。" +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_SIMPCHINESE} "另一个安装程序实例正在运行。" ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/slovak.nsh b/dist/windows/installer-translations/slovak.nsh index ae16b8bb6..404daf59c 100644 --- a/dist/windows/installer-translations/slovak.nsh +++ b/dist/windows/installer-translations/slovak.nsh @@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_SLOVAK} "Odinštalovať qBitto LangString inst_arch_mismatch_x64_on_arm64 ${LANG_SLOVAK} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_SLOVAK} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_SLOVAK} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/slovenian.nsh b/dist/windows/installer-translations/slovenian.nsh index 46d762c98..7ecf1d6fa 100644 --- a/dist/windows/installer-translations/slovenian.nsh +++ b/dist/windows/installer-translations/slovenian.nsh @@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_SLOVENIAN} "Uninstall qBittorr LangString inst_arch_mismatch_x64_on_arm64 ${LANG_SLOVENIAN} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_SLOVENIAN} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_SLOVENIAN} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/spanish.nsh b/dist/windows/installer-translations/spanish.nsh index c7c2aa064..816b151f8 100644 --- a/dist/windows/installer-translations/spanish.nsh +++ b/dist/windows/installer-translations/spanish.nsh @@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_SPANISH} "Desinstalar qBittorr LangString inst_arch_mismatch_x64_on_arm64 ${LANG_SPANISH} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_SPANISH} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_SPANISH} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/spanishinternational.nsh b/dist/windows/installer-translations/spanishinternational.nsh index 52f44b8c1..d8e29db67 100644 --- a/dist/windows/installer-translations/spanishinternational.nsh +++ b/dist/windows/installer-translations/spanishinternational.nsh @@ -36,7 +36,8 @@ LangString inst_uninstall_link_description ${LANG_SPANISHINTERNATIONAL} "Desinst LangString inst_arch_mismatch_x64_on_arm64 ${LANG_SPANISHINTERNATIONAL} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_SPANISHINTERNATIONAL} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." - +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_SPANISHINTERNATIONAL} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/swedish.nsh b/dist/windows/installer-translations/swedish.nsh index 4e0648077..c3dc7c538 100644 --- a/dist/windows/installer-translations/swedish.nsh +++ b/dist/windows/installer-translations/swedish.nsh @@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_SWEDISH} "Avinstallera qBittor LangString inst_arch_mismatch_x64_on_arm64 ${LANG_SWEDISH} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_SWEDISH} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_SWEDISH} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/thai.nsh b/dist/windows/installer-translations/thai.nsh index f585e7fd7..2ba2dd957 100644 --- a/dist/windows/installer-translations/thai.nsh +++ b/dist/windows/installer-translations/thai.nsh @@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_THAI} "Uninstall qBittorrent" LangString inst_arch_mismatch_x64_on_arm64 ${LANG_THAI} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_THAI} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_THAI} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/tradchinese.nsh b/dist/windows/installer-translations/tradchinese.nsh index 7549e6ef1..cb9d3885c 100644 --- a/dist/windows/installer-translations/tradchinese.nsh +++ b/dist/windows/installer-translations/tradchinese.nsh @@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_TRADCHINESE} "移除 qBittorre LangString inst_arch_mismatch_x64_on_arm64 ${LANG_TRADCHINESE} "X64 版本的 qBittorrent 無法在 ARM64 系統上執行。請下載 ARM64 安裝程式。" ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_TRADCHINESE} "ARM64 版本的 qBittorrent 無法在 X64 系統上執行。請下載 X64 安裝程式。" +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_TRADCHINESE} "另一個安裝程式實例正在運行。" ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/turkish.nsh b/dist/windows/installer-translations/turkish.nsh index 169848a13..0a4fd7f1c 100644 --- a/dist/windows/installer-translations/turkish.nsh +++ b/dist/windows/installer-translations/turkish.nsh @@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_TURKISH} "qBittorrent'i kaldı LangString inst_arch_mismatch_x64_on_arm64 ${LANG_TURKISH} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_TURKISH} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_TURKISH} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/ukrainian.nsh b/dist/windows/installer-translations/ukrainian.nsh index 846b1c54e..fbd9fbacd 100644 --- a/dist/windows/installer-translations/ukrainian.nsh +++ b/dist/windows/installer-translations/ukrainian.nsh @@ -36,6 +36,8 @@ LangString inst_uninstall_link_description ${LANG_UKRAINIAN} "Uninstall qBittorr LangString inst_arch_mismatch_x64_on_arm64 ${LANG_UKRAINIAN} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_UKRAINIAN} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_UKRAINIAN} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/uzbek.nsh b/dist/windows/installer-translations/uzbek.nsh index 948f3706f..3f9b23a9d 100644 --- a/dist/windows/installer-translations/uzbek.nsh +++ b/dist/windows/installer-translations/uzbek.nsh @@ -36,7 +36,8 @@ LangString inst_uninstall_link_description ${LANG_UZBEK} "qBittorrent oʻchirils LangString inst_arch_mismatch_x64_on_arm64 ${LANG_UZBEK} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_UZBEK} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." - +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_UZBEK} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer-translations/welsh.nsh b/dist/windows/installer-translations/welsh.nsh index cc61b5e11..ef850cf2d 100644 --- a/dist/windows/installer-translations/welsh.nsh +++ b/dist/windows/installer-translations/welsh.nsh @@ -36,7 +36,8 @@ LangString inst_uninstall_link_description ${LANG_WELSH} "Uninstall qBittorrent" LangString inst_arch_mismatch_x64_on_arm64 ${LANG_WELSH} "This x64 version of qBittorrent cannot run on ARM64 systems. Please download the ARM64 installer." ;LangString inst_arch_mismatch_arm64_on_x64 ${LANG_ENGLISH} "Error: This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." LangString inst_arch_mismatch_arm64_on_x64 ${LANG_WELSH} "This ARM64 version of qBittorrent cannot run on x64 systems. Please download the x64 installer." - +;LangString inst_already_running ${LANG_ENGLISH} "Another instance of the installer is already running." +LangString inst_already_running ${LANG_WELSH} "Another instance of the installer is already running." ;------------------------------------ ;Uninstaller strings diff --git a/dist/windows/installer.nsh b/dist/windows/installer.nsh index 36eee9ea2..2166f3e4c 100644 --- a/dist/windows/installer.nsh +++ b/dist/windows/installer.nsh @@ -112,6 +112,18 @@ SectionEnd ;-------------------------------- Function .onInit + ; create a mutex to ensure only one installer is running + System::Call 'kernel32::CreateMutex(p 0, b 0, t "qbt_installer") p . r1 ?e' + Var /GLOBAL CreateMutexResult + Pop $CreateMutexResult + IntCmpU $CreateMutexResult 183 isDuplicateInstance isUniqueInstance isUniqueInstance + + isDuplicateInstance: + MessageBox MB_OK|MB_ICONEXCLAMATION $(inst_already_running) /SD IDOK + SetErrorLevel 183 # WinError.h: `ERROR_ALREADY_EXISTS` + Abort + + isUniqueInstance: !insertmacro Init "installer" !insertmacro MUI_LANGDLL_DISPLAY