diff --git a/Core/wwwroot/locales/bg.json b/Core/wwwroot/locales/bg.json
index 491b019..2457682 100644
--- a/Core/wwwroot/locales/bg.json
+++ b/Core/wwwroot/locales/bg.json
@@ -375,7 +375,7 @@
"vigem.btn.close": "Затвори",
"vigem.log.title": "Дневник на операциите",
"vigem.log.empty": "В тази сесия не е изпълнявана операция.",
- "vigem.rebootRequired": "⚠ Необходимо е рестартиране, за да завършите операцията.",
+ "vigem.rebootRequired": "⚠ Рестартирането на Windows е задължително: операцията не е завършена, докато не рестартирате.",
"vigem.confirm.install": "Инсталиране или надграждане ViGEmBus?\nНай-новата версия от nefarius/ViGEmBus ще бъде изтеглена и подписаният драйвер ще бъде инсталиран тихо. Нито един текущ поток няма да бъде засегнат.",
"vigem.confirm.uninstall": "Деинсталиране ViGEmBus?\nMoonlight клиентите няма да могат да използват своя геймпад, докато драйверът не бъде преинсталиран. Може да се наложи рестартиране.",
"hidhide.pill": "HidHide",
diff --git a/Core/wwwroot/locales/cs.json b/Core/wwwroot/locales/cs.json
index 69c5a4f..e02c181 100644
--- a/Core/wwwroot/locales/cs.json
+++ b/Core/wwwroot/locales/cs.json
@@ -375,7 +375,7 @@
"vigem.btn.close": "Zavřít",
"vigem.log.title": "Provozní deník",
"vigem.log.empty": "V této relaci nebyla provedena žádná operace.",
- "vigem.rebootRequired": "⚠ K dokončení operace je vyžadován restart.",
+ "vigem.rebootRequired": "⚠ Restart Windows je povinný: operace není dokončena, dokud nerestartujete.",
"vigem.confirm.install": "Instalovat nebo upgradovat ViGEmBus?\nNejnovější vydání z nefarius/ViGEmBus bude staženo a podepsaný ovladač nainstalován v tichosti. Žádný běžící stream nebude ovlivněn.",
"vigem.confirm.uninstall": "Odinstalovat ViGEmBus?\nMoonlight klienti přestanou moci používat svůj gamepad, dokud nebude ovladač přeinstalován. Může být vyžadován restart.",
"hidhide.pill": "HidHide",
diff --git a/Core/wwwroot/locales/de.json b/Core/wwwroot/locales/de.json
index 35fdf9b..2c9f75b 100644
--- a/Core/wwwroot/locales/de.json
+++ b/Core/wwwroot/locales/de.json
@@ -375,7 +375,7 @@
"vigem.btn.close": "Schließen",
"vigem.log.title": "Betriebsprotokoll",
"vigem.log.empty": "In dieser Sitzung wurde kein Vorgang ausgeführt.",
- "vigem.rebootRequired": "⚠ Neustart erforderlich, um den Vorgang abzuschließen.",
+ "vigem.rebootRequired": "⚠ Ein Neustart von Windows ist zwingend: Der Vorgang ist erst nach dem Neustart abgeschlossen.",
"vigem.confirm.install": "Installieren oder aktualisieren ViGEmBus?\nDie neueste Version von nefarius/ViGEmBus wird heruntergeladen und der signierte Treiber unbeaufsichtigt installiert. Es wird kein laufender Stream beeinträchtigt.",
"vigem.confirm.uninstall": "Deinstallieren ViGEmBus?\nMoonlight Clients können ihr Gamepad erst dann verwenden, wenn der Treiber neu installiert wird. Möglicherweise ist ein Neustart erforderlich.",
"hidhide.pill": "HidHide",
diff --git a/Core/wwwroot/locales/en.json b/Core/wwwroot/locales/en.json
index b315afc..743a84e 100644
--- a/Core/wwwroot/locales/en.json
+++ b/Core/wwwroot/locales/en.json
@@ -375,7 +375,7 @@
"vigem.btn.close": "Close",
"vigem.log.title": "Operation log",
"vigem.log.empty": "No operation has been run in this session.",
- "vigem.rebootRequired": "⚠ Reboot required to complete the operation.",
+ "vigem.rebootRequired": "⚠ Restarting Windows is required: the operation isn't complete until you restart.",
"vigem.confirm.install": "Install or upgrade ViGEmBus?\nThe latest release from nefarius/ViGEmBus will be downloaded and the signed driver installed silently. No running stream will be affected.",
"vigem.confirm.uninstall": "Uninstall ViGEmBus?\nMoonlight clients will stop being able to use their gamepad until the driver is reinstalled. A reboot may be required.",
"hidhide.pill": "HidHide",
diff --git a/Core/wwwroot/locales/en_GB.json b/Core/wwwroot/locales/en_GB.json
index 3d93d9d..ecd74a5 100644
--- a/Core/wwwroot/locales/en_GB.json
+++ b/Core/wwwroot/locales/en_GB.json
@@ -375,7 +375,7 @@
"vigem.btn.close": "Close",
"vigem.log.title": "Operation log",
"vigem.log.empty": "No operation has been run in this session.",
- "vigem.rebootRequired": "⚠ Reboot required to complete the operation.",
+ "vigem.rebootRequired": "⚠ Restarting Windows is required: the operation isn't complete until you restart.",
"vigem.confirm.install": "Install or upgrade ViGEmBus?\nThe latest release from nefarius/ViGEmBus will be downloaded and the signed driver installed silently. No running stream will be affected.",
"vigem.confirm.uninstall": "Uninstall ViGEmBus?\nMoonlight clients will stop being able to use their gamepad until the driver is reinstalled. A reboot may be required.",
"hidhide.pill": "HidHide",
diff --git a/Core/wwwroot/locales/en_US.json b/Core/wwwroot/locales/en_US.json
index c1b4288..9c0bf11 100644
--- a/Core/wwwroot/locales/en_US.json
+++ b/Core/wwwroot/locales/en_US.json
@@ -375,7 +375,7 @@
"vigem.btn.close": "Close",
"vigem.log.title": "Operation log",
"vigem.log.empty": "No operation has been run in this session.",
- "vigem.rebootRequired": "⚠ Reboot required to complete the operation.",
+ "vigem.rebootRequired": "⚠ Restarting Windows is required: the operation isn't complete until you restart.",
"vigem.confirm.install": "Install or upgrade ViGEmBus?\nThe latest release from nefarius/ViGEmBus will be downloaded and the signed driver installed silently. No running stream will be affected.",
"vigem.confirm.uninstall": "Uninstall ViGEmBus?\nMoonlight clients will stop being able to use their gamepad until the driver is reinstalled. A reboot may be required.",
"hidhide.pill": "HidHide",
diff --git a/Core/wwwroot/locales/es.json b/Core/wwwroot/locales/es.json
index 0135fda..bcf1f14 100644
--- a/Core/wwwroot/locales/es.json
+++ b/Core/wwwroot/locales/es.json
@@ -375,7 +375,7 @@
"vigem.btn.close": "Cerrar",
"vigem.log.title": "Log de la operación",
"vigem.log.empty": "Aún no se ha ejecutado ninguna operación en esta sesión.",
- "vigem.rebootRequired": "⚠ Es necesario reiniciar Windows para completar la operación.",
+ "vigem.rebootRequired": "⚠ Reiniciar Windows es obligatorio: la operación no termina hasta que reinicies.",
"vigem.confirm.install": "¿Instalar o actualizar ViGEmBus?\nSe descargará la última release de nefarius/ViGEmBus y se instalará el driver firmado en modo silencioso. Las sesiones de stream activas no se verán afectadas.",
"vigem.confirm.uninstall": "¿Desinstalar ViGEmBus?\nLos clientes Moonlight dejarán de poder usar su mando hasta que se reinstale el driver. Puede requerir reiniciar.",
"hidhide.pill": "HidHide",
diff --git a/Core/wwwroot/locales/fr.json b/Core/wwwroot/locales/fr.json
index 2627be6..057e2a5 100644
--- a/Core/wwwroot/locales/fr.json
+++ b/Core/wwwroot/locales/fr.json
@@ -370,7 +370,7 @@
"vigem.btn.close": "Fermer",
"vigem.log.title": "Journal de l'opération",
"vigem.log.empty": "Aucune opération n'a été exécutée dans cette session.",
- "vigem.rebootRequired": "⚠ Un redémarrage de Windows est nécessaire pour terminer l'opération.",
+ "vigem.rebootRequired": "⚠ Le redémarrage de Windows est obligatoire : l'opération n'est terminée qu'après le redémarrage.",
"vigem.confirm.install": "Installer ou mettre à jour ViGEmBus ?\nLa dernière version de nefarius/ViGEmBus sera téléchargée et le pilote signé installé silencieusement. Les streams en cours ne seront pas affectés.",
"vigem.confirm.uninstall": "Désinstaller ViGEmBus ?\nLes clients Moonlight ne pourront plus utiliser leur manette tant que le pilote n'aura pas été réinstallé. Un redémarrage peut être requis.",
"hidhide.pill": "HidHide",
diff --git a/Core/wwwroot/locales/hu.json b/Core/wwwroot/locales/hu.json
index 41b4ba4..09dd789 100644
--- a/Core/wwwroot/locales/hu.json
+++ b/Core/wwwroot/locales/hu.json
@@ -375,7 +375,7 @@
"vigem.btn.close": "Bezárás",
"vigem.log.title": "Műveleti napló",
"vigem.log.empty": "Ebben a munkamenetben nem futottak semmilyen műveletet.",
- "vigem.rebootRequired": "⚠ A művelet befejezéséhez újra kell indítani.",
+ "vigem.rebootRequired": "⚠ A Windows újraindítása kötelező: a művelet csak az újraindítás után fejeződik be.",
"vigem.confirm.install": "Telepíti vagy frissíti a ViGEmBus-t?\nA nefarius/ViGEmBus legújabb kiadása letöltődik, és az aláírt illesztőprogram csendben települ. A futó stream nem lesz hatással.",
"vigem.confirm.uninstall": "Eltávolítja a ViGEmBus-t?\nA Moonlight kliensek nem fogják tudni használni a játékvezérlőjüket, amíg az illesztőprogramot újratelepítik. Újraindításra lehet szükség.",
"hidhide.pill": "HidHide",
diff --git a/Core/wwwroot/locales/it.json b/Core/wwwroot/locales/it.json
index 3aa2891..469803a 100644
--- a/Core/wwwroot/locales/it.json
+++ b/Core/wwwroot/locales/it.json
@@ -375,7 +375,7 @@
"vigem.btn.close": "Chiudi",
"vigem.log.title": "Registro delle operazioni",
"vigem.log.empty": "Nessuna operazione è stata eseguita in questa sessione.",
- "vigem.rebootRequired": "⚠ È necessario riavviare per completare l'operazione.",
+ "vigem.rebootRequired": "⚠ Il riavvio di Windows è obbligatorio: l'operazione non è completa finché non riavvii.",
"vigem.confirm.install": "Installare o aggiornare ViGEmBus?\nVerrà scaricata l'ultima versione di nefarius/ViGEmBus e il driver firmato verrà installato automaticamente. Nessun flusso in esecuzione verrà influenzato.",
"vigem.confirm.uninstall": "Disinstallare ViGEmBus?\nMoonlight client non potranno più utilizzare il gamepad fino alla reinstallazione del driver. Potrebbe essere necessario un riavvio.",
"hidhide.pill": "HidHide",
diff --git a/Core/wwwroot/locales/ja.json b/Core/wwwroot/locales/ja.json
index 4bce390..1433c65 100644
--- a/Core/wwwroot/locales/ja.json
+++ b/Core/wwwroot/locales/ja.json
@@ -375,7 +375,7 @@
"vigem.btn.close": "閉じる",
"vigem.log.title": "操作ログ",
"vigem.log.empty": "このセッションでは操作は実行されていません。",
- "vigem.rebootRequired": "⚠ 操作を完了するには再起動が必要です。",
+ "vigem.rebootRequired": "⚠ Windows の再起動が必要です。再起動するまで操作は完了しません。",
"vigem.confirm.install": "ViGEmBus をインストールまたはアップグレードしますか?\nnefarius/ViGEmBus の最新リリースがダウンロードされ、署名付きドライバーがサイレント インストールされます。実行中のストリームは影響を受けません。",
"vigem.confirm.uninstall": "ViGEmBus をアンインストールしますか?\nMoonlight クライアントは、ドライバーが再インストールされるまでゲームパッドを使用できなくなります。再起動が必要になる場合があります。",
"hidhide.pill": "HidHide",
diff --git a/Core/wwwroot/locales/ko.json b/Core/wwwroot/locales/ko.json
index 7cb95cc..a5e606c 100644
--- a/Core/wwwroot/locales/ko.json
+++ b/Core/wwwroot/locales/ko.json
@@ -375,7 +375,7 @@
"vigem.btn.close": "닫기",
"vigem.log.title": "작업 로그",
"vigem.log.empty": "이 세션에서는 작업이 실행되지 않았습니다.",
- "vigem.rebootRequired": "⚠ 작업을 완료하려면 재부팅이 필요합니다.",
+ "vigem.rebootRequired": "⚠ Windows를 반드시 다시 시작해야 합니다. 다시 시작할 때까지 작업이 완료되지 않습니다.",
"vigem.confirm.install": "ViGEmBus를 설치하거나 업그레이드하시겠습니까?\nnefarius/ViGEmBus의 최신 릴리스가 다운로드되고 서명된 드라이버가 자동으로 설치됩니다. 실행 중인 스트림은 영향을 받지 않습니다.",
"vigem.confirm.uninstall": "ViGEmBus를 제거하시겠습니까?\nMoonlight 클라이언트는 드라이버를 다시 설치할 때까지 게임 패드를 사용할 수 없습니다. 재부팅이 필요할 수 있습니다.",
"hidhide.pill": "HidHide",
diff --git a/Core/wwwroot/locales/pl.json b/Core/wwwroot/locales/pl.json
index 4a9d7fb..63407a3 100644
--- a/Core/wwwroot/locales/pl.json
+++ b/Core/wwwroot/locales/pl.json
@@ -375,7 +375,7 @@
"vigem.btn.close": "Zamknij",
"vigem.log.title": "Dziennik operacji",
"vigem.log.empty": "W tej sesji nie wykonano żadnej operacji.",
- "vigem.rebootRequired": "⚠ Do zakończenia operacji wymagane jest ponowne uruchomienie.",
+ "vigem.rebootRequired": "⚠ Ponowne uruchomienie systemu Windows jest obowiązkowe: operacja zakończy się dopiero po ponownym uruchomieniu.",
"vigem.confirm.install": "Zainstalować lub zaktualizować ViGEmBus?\nNajnowsza wersja z Nefarius/ViGEmBus zostanie pobrana, a podpisany sterownik zostanie zainstalowany w trybie cichym. Nie będzie to miało wpływu na żaden bieżący strumień.",
"vigem.confirm.uninstall": "Odinstalować ViGEmBus?\nKlienci Moonlight nie będą mogli korzystać ze swojego gamepada do czasu ponownej instalacji sterownika. Może być wymagane ponowne uruchomienie.",
"hidhide.pill": "HidHide",
diff --git a/Core/wwwroot/locales/pt.json b/Core/wwwroot/locales/pt.json
index 0910205..e3bbf71 100644
--- a/Core/wwwroot/locales/pt.json
+++ b/Core/wwwroot/locales/pt.json
@@ -370,7 +370,7 @@
"vigem.btn.close": "Fechar",
"vigem.log.title": "Registo da operação",
"vigem.log.empty": "Ainda não foi executada nenhuma operação nesta sessão.",
- "vigem.rebootRequired": "⚠ É necessário reiniciar o Windows para concluir a operação.",
+ "vigem.rebootRequired": "⚠ Reiniciar o Windows é obrigatório: a operação só fica concluída depois de reiniciar.",
"vigem.confirm.install": "Instalar ou atualizar o ViGEmBus?\nSerá descarregada a última versão de nefarius/ViGEmBus e o driver assinado instalado em modo silencioso. As sessões de stream ativas não serão afetadas.",
"vigem.confirm.uninstall": "Desinstalar o ViGEmBus?\nOs clientes Moonlight deixarão de poder usar o comando até que o driver seja reinstalado. Pode ser necessário reiniciar.",
"hidhide.pill": "HidHide",
diff --git a/Core/wwwroot/locales/pt_BR.json b/Core/wwwroot/locales/pt_BR.json
index c9694df..6ab8eb9 100644
--- a/Core/wwwroot/locales/pt_BR.json
+++ b/Core/wwwroot/locales/pt_BR.json
@@ -370,7 +370,7 @@
"vigem.btn.close": "Fechar",
"vigem.log.title": "Registro da operação",
"vigem.log.empty": "Ainda não foi executada nenhuma operação nesta sessão.",
- "vigem.rebootRequired": "⚠ É necessário reiniciar o Windows para concluir a operação.",
+ "vigem.rebootRequired": "⚠ Reiniciar o Windows é obrigatório: a operação só é concluída depois que você reiniciar.",
"vigem.confirm.install": "Instalar ou atualizar o ViGEmBus?\nA última versão de nefarius/ViGEmBus será baixada e o driver assinado será instalado em modo silencioso. As sessões de stream ativas não serão afetadas.",
"vigem.confirm.uninstall": "Desinstalar o ViGEmBus?\nOs clientes Moonlight deixarão de poder usar o controle até que o driver seja reinstalado. Pode ser necessário reiniciar.",
"hidhide.pill": "HidHide",
diff --git a/Core/wwwroot/locales/ru.json b/Core/wwwroot/locales/ru.json
index bb5e0c9..78d5c0c 100644
--- a/Core/wwwroot/locales/ru.json
+++ b/Core/wwwroot/locales/ru.json
@@ -378,7 +378,7 @@
"vigem.btn.close": "Закрыть",
"vigem.log.title": "Журнал операций",
"vigem.log.empty": "В этом сеансе операции ещё не выполнялись.",
- "vigem.rebootRequired": "⚠ Для завершения операции требуется перезагрузка.",
+ "vigem.rebootRequired": "⚠ Перезагрузка Windows обязательна: операция не завершится, пока вы не перезагрузите компьютер.",
"vigem.confirm.install": "Установить или обновить ViGEmBus?\nБудет загружена последняя версия nefarius/ViGEmBus и установлен подписанный драйвер в тихом режиме. Текущие трансляции продолжат работу.",
"vigem.confirm.uninstall": "Удалить ViGEmBus?\nКлиенты Moonlight не смогут использовать геймпад до переустановки драйвера. Может потребоваться перезагрузка.",
"hidhide.pill": "HidHide",
diff --git a/Core/wwwroot/locales/sv.json b/Core/wwwroot/locales/sv.json
index 1bc91d7..e3bf9cf 100644
--- a/Core/wwwroot/locales/sv.json
+++ b/Core/wwwroot/locales/sv.json
@@ -375,7 +375,7 @@
"vigem.btn.close": "Stäng",
"vigem.log.title": "Driftslogg",
"vigem.log.empty": "Ingen operation har körts i denna session.",
- "vigem.rebootRequired": "⚠ Omstart krävs för att slutföra åtgärden.",
+ "vigem.rebootRequired": "⚠ Omstart av Windows krävs: åtgärden är inte klar förrän du startar om.",
"vigem.confirm.install": "Installera eller uppgradera ViGEmBus?\nDen senaste versionen från nefarius/ViGEmBus kommer att laddas ner och den signerade drivrutinen installeras tyst. Ingen löpande stream kommer att påverkas.",
"vigem.confirm.uninstall": "Avinstallera ViGEmBus?\nMoonlight klienter kommer att sluta kunna använda sin gamepad tills drivrutinen har installerats om. En omstart kan krävas.",
"hidhide.pill": "HidHide",
diff --git a/Core/wwwroot/locales/tr.json b/Core/wwwroot/locales/tr.json
index 00d53fd..61dd1a3 100644
--- a/Core/wwwroot/locales/tr.json
+++ b/Core/wwwroot/locales/tr.json
@@ -375,7 +375,7 @@
"vigem.btn.close": "Kapat",
"vigem.log.title": "Çalışma günlüğü",
"vigem.log.empty": "Bu oturumda hiçbir işlem yapılmadı.",
- "vigem.rebootRequired": "⚠ İşlemi tamamlamak için yeniden başlatma gerekiyor.",
+ "vigem.rebootRequired": "⚠ Windows'u yeniden başlatmak zorunludur: yeniden başlatana kadar işlem tamamlanmaz.",
"vigem.confirm.install": "ViGEmBus yüklensin mi yoksa yükseltilsin mi?\nNefarius/ViGEmBus'nin en son sürümü indirilecek ve imzalı sürücü sessizce yüklenecektir. Çalışan hiçbir akış etkilenmeyecektir.",
"vigem.confirm.uninstall": "ViGEmBus kaldırılsın mı?\nMoonlight istemcileri, sürücü yeniden yüklenene kadar gamepad'lerini kullanamayacaktır. Yeniden başlatma gerekebilir.",
"hidhide.pill": "HidHide",
diff --git a/Core/wwwroot/locales/uk.json b/Core/wwwroot/locales/uk.json
index 83d2d53..b7765dc 100644
--- a/Core/wwwroot/locales/uk.json
+++ b/Core/wwwroot/locales/uk.json
@@ -375,7 +375,7 @@
"vigem.btn.close": "Закрити",
"vigem.log.title": "Журнал операцій",
"vigem.log.empty": "У цьому сеансі не було виконано жодної операції.",
- "vigem.rebootRequired": "⚠ Для завершення операції потрібне перезавантаження.",
+ "vigem.rebootRequired": "⚠ Перезавантаження Windows обов'язкове: операцію не буде завершено, доки ви не перезавантажите комп'ютер.",
"vigem.confirm.install": "Установити чи оновити ViGEmBus?\nОстанню версію з nefarius/ViGEmBus буде завантажено, а підписаний драйвер буде встановлено без звуку. Це не вплине на поточний потік.",
"vigem.confirm.uninstall": "Видалити ViGEmBus?\nMoonlight клієнти не зможуть використовувати свій геймпад, доки драйвер не буде перевстановлено. Може знадобитися перезавантаження.",
"hidhide.pill": "HidHide",
diff --git a/Core/wwwroot/locales/vi.json b/Core/wwwroot/locales/vi.json
index cce3691..c3bd989 100644
--- a/Core/wwwroot/locales/vi.json
+++ b/Core/wwwroot/locales/vi.json
@@ -375,7 +375,7 @@
"vigem.btn.close": "Đóng",
"vigem.log.title": "Nhật ký hoạt động",
"vigem.log.empty": "Không có thao tác nào được thực hiện trong phiên này.",
- "vigem.rebootRequired": "⚠ Cần phải khởi động lại để hoàn tất thao tác.",
+ "vigem.rebootRequired": "⚠ Bắt buộc phải khởi động lại Windows: thao tác chưa hoàn tất cho đến khi bạn khởi động lại.",
"vigem.confirm.install": "Cài đặt hoặc nâng cấp ViGEmBus?\nBản phát hành mới nhất từ nefarius/ViGEmBus sẽ được tải xuống và trình điều khiển đã ký sẽ được cài đặt một cách im lặng. Không có luồng đang chạy sẽ bị ảnh hưởng.",
"vigem.confirm.uninstall": "Gỡ cài đặt ViGEmBus?\nMoonlight khách hàng sẽ ngừng sử dụng gamepad cho đến khi trình điều khiển được cài đặt lại. Có thể cần phải khởi động lại.",
"hidhide.pill": "HidHide",
diff --git a/Core/wwwroot/locales/zh.json b/Core/wwwroot/locales/zh.json
index e329282..44c91e9 100644
--- a/Core/wwwroot/locales/zh.json
+++ b/Core/wwwroot/locales/zh.json
@@ -375,7 +375,7 @@
"vigem.btn.close": "关闭",
"vigem.log.title": "操作日志",
"vigem.log.empty": "此会话中未运行任何操作。",
- "vigem.rebootRequired": "⚠ 需要重新启动才能完成操作。",
+ "vigem.rebootRequired": "⚠ 必须重启 Windows:重启之前操作不会完成。",
"vigem.confirm.install": "安装或升级ViGEmBus?\n将下载 nefarius/ViGEmBus 的最新版本并静默安装签名的驱动程序。任何正在运行的流都不会受到影响。",
"vigem.confirm.uninstall": "卸载ViGEmBus?\n在重新安装驱动程序之前,Moonlight 客户端将无法使用其游戏手柄。可能需要重新启动。",
"hidhide.pill": "HidHide",
diff --git a/Core/wwwroot/locales/zh_TW.json b/Core/wwwroot/locales/zh_TW.json
index 77012c0..e6a47cd 100644
--- a/Core/wwwroot/locales/zh_TW.json
+++ b/Core/wwwroot/locales/zh_TW.json
@@ -375,7 +375,7 @@
"vigem.btn.close": "關閉",
"vigem.log.title": "操作日誌",
"vigem.log.empty": "此會話中未執行任何操作。",
- "vigem.rebootRequired": "⚠ 需要重新啟動才能完成操作。",
+ "vigem.rebootRequired": "⚠ 必須重新啟動 Windows:重新啟動之前操作不會完成。",
"vigem.confirm.install": "安裝或升級ViGEmBus?\n將下載 nefarius/ViGEmBus 的最新版本並靜默安裝簽署的驅動程式。任何正在運行的串流都不會受到影響。",
"vigem.confirm.uninstall": "卸載ViGEmBus?\n在重新安裝驅動程式之前,Moonlight 用戶端將無法使用其遊戲手把。可能需要重新啟動。",
"hidhide.pill": "HidHide",
diff --git a/Services/Drivers/NefariusDriverManager.cs b/Services/Drivers/NefariusDriverManager.cs
index ee5d823..d518cf9 100644
--- a/Services/Drivers/NefariusDriverManager.cs
+++ b/Services/Drivers/NefariusDriverManager.cs
@@ -51,8 +51,6 @@ public abstract class NefariusDriverManager
protected abstract string ServiceName { get; }
/// Texto que contiene su DisplayName en Agregar o quitar programas.
protected abstract string DisplayNameMatch { get; }
- /// Argumentos de instalación silenciosa del .exe de la release.
- protected abstract string InstallArgs { get; }
/// Prefijo del instalador incluido en drivers\ y del asset de la release.
protected abstract string InstallerPrefix { get; }
@@ -109,8 +107,10 @@ await RunExclusiveAsync("install", async () =>
AppendLog(BackendText.Get("driver.downloadedTo", installer));
}
- AppendLog(BackendText.Get("driver.runningSilentInstaller", InstallArgs));
- var exit = await RunProcessAsync(installer, InstallArgs, Path.GetDirectoryName(installer)!, ct);
+ // Los argumentos dependen de con qué está hecho el instalador, no del driver.
+ var installArgs = SilentInstallArgs(installer);
+ AppendLog(BackendText.Get("driver.runningSilentInstaller", installArgs));
+ var exit = await RunProcessAsync(installer, installArgs, Path.GetDirectoryName(installer)!, ct);
if (downloaded) try { File.Delete(installer); } catch { }
InterpretExitCode(exit, installing: true);
@@ -164,9 +164,19 @@ private void InterpretExitCode(int exit, bool installing)
? BackendText.Get("driver.installed", Name)
: BackendText.Get("driver.uninstalled", Name));
break;
+ // 3010: hecho, falta reiniciar. 1641: el instalador pidió el reinicio.
case 3010:
+ case 1641:
_rebootRequired = true;
- AppendLog(BackendText.Get("driver.fatalError"));
+ AppendLog(BackendText.Get("driver.rebootToFinish", Name));
+ break;
+ // 1604: instalación suspendida. Pasa al actualizar ViGEmBus 1.21 a 1.22: quita el
+ // driver anterior y deja un "MsiExec /@" en RunOnce, pero al reiniciar ese paso no
+ // instala nada (probado). Después del reinicio hay que lanzar el instalador otra vez,
+ // y entonces termina bien porque ya no hay versión anterior que quitar.
+ case 1604:
+ _rebootRequired = true;
+ AppendLog(BackendText.Get("driver.rebootThenReinstall", Name));
break;
case 1602:
AppendLog(BackendText.Get("driver.cancelled"));
@@ -361,6 +371,59 @@ private static string ResolveDriverPath(string imagePath)
return p;
}
+ /// Argumentos silenciosos de un bundle de WiX Burn.
+ internal const string WixBurnArgs = "/quiet /install /norestart";
+ ///
+ /// Argumentos silenciosos de un bootstrapper de Advanced Installer: /exenoui quita su
+ /// interfaz y /qn se pasa a msiexec. Con los de WiX muestra "Invalid command line" y no
+ /// instala nada (issue #80).
+ ///
+ internal const string AdvancedInstallerArgs = "/exenoui /qn /norestart";
+
+ ///
+ /// Argumentos silenciosos según la tecnología del instalador. Los de nefarius (ViGEmBus
+ /// 1.22, HidHide 1.5) son de Advanced Installer; un bundle de WiX Burn se reconoce por la
+ /// sección .wixburn de su PE. Si el archivo no se puede leer, Advanced Installer.
+ ///
+ internal static string SilentInstallArgs(string installer)
+ {
+ try
+ {
+ return PeSectionNames(installer).Contains(".wixburn") ? WixBurnArgs : AdvancedInstallerArgs;
+ }
+ catch (Exception ex) when (ex is IOException or UnauthorizedAccessException or InvalidDataException)
+ {
+ return AdvancedInstallerArgs;
+ }
+ }
+
+ /// Nombres de las secciones de un ejecutable PE (solo lee las cabeceras).
+ internal static IReadOnlyList PeSectionNames(string path)
+ {
+ using var fs = File.OpenRead(path);
+ using var br = new BinaryReader(fs);
+ if (fs.Length < 0x40 || br.ReadUInt16() != 0x5A4D) throw new InvalidDataException("No es un ejecutable (MZ).");
+ fs.Position = 0x3C;
+ var pe = br.ReadInt32();
+ if (pe <= 0 || pe > fs.Length - 24) throw new InvalidDataException("Cabecera PE fuera del archivo.");
+ fs.Position = pe;
+ if (br.ReadUInt32() != 0x00004550) throw new InvalidDataException("Falta la firma PE.");
+ fs.Position = pe + 6;
+ int count = br.ReadUInt16();
+ fs.Position = pe + 20;
+ int optionalSize = br.ReadUInt16();
+ long table = pe + 24 + optionalSize;
+ if (table + 40L * count > fs.Length) throw new InvalidDataException("Tabla de secciones fuera del archivo.");
+
+ var names = new List(count);
+ for (int i = 0; i < count; i++)
+ {
+ fs.Position = table + 40L * i;
+ names.Add(System.Text.Encoding.ASCII.GetString(br.ReadBytes(8)).TrimEnd('\0'));
+ }
+ return names;
+ }
+
private static (string Exe, string Args) SplitCommandLine(string cmd)
{
cmd = cmd.Trim();
@@ -399,7 +462,6 @@ public sealed class ViGEmBusManager : NefariusDriverManager
protected override string GithubRepo => "nefarius/ViGEmBus";
protected override string ServiceName => "ViGEmBus";
protected override string DisplayNameMatch => "ViGEm"; // "ViGEm Bus Driver"
- protected override string InstallArgs => "/quiet /install /norestart"; // bundle WiX Burn
protected override string InstallerPrefix => "ViGEmBus_";
}
@@ -413,6 +475,5 @@ public sealed class HidHideManager : NefariusDriverManager
protected override string GithubRepo => "nefarius/HidHide";
protected override string ServiceName => "HidHide";
protected override string DisplayNameMatch => "HidHide";
- protected override string InstallArgs => "/exenoui /qn /norestart"; // bootstrapper Advanced Installer
protected override string InstallerPrefix => "HidHide_";
}
diff --git a/Services/Localization/Locales/bg.json b/Services/Localization/Locales/bg.json
index 9a230eb..f2715e8 100644
--- a/Services/Localization/Locales/bg.json
+++ b/Services/Localization/Locales/bg.json
@@ -50,6 +50,8 @@
"driver.installed": "{0} инсталиран успешно.",
"driver.uninstalled": "{0} деинсталиран успешно.",
"driver.cancelled": "Отменено от потребителя.",
+ "driver.rebootToFinish": "Рестартирайте Windows, за да завърши инсталирането на {0}.",
+ "driver.rebootThenReinstall": "Рестартирането на Windows е задължително: {0} няма да работи, докато не рестартирате и не го инсталирате отново.",
"driver.fatalError": "Фатална грешка при инсталиране. Проверете Windows Installer лога.",
"driver.unknownExitCode": "Неизвестен код на изход.",
"driver.currentStatus": "Текущ статус: installed={0}; version={1}; service={2}",
diff --git a/Services/Localization/Locales/cs.json b/Services/Localization/Locales/cs.json
index e56b5cb..7713c6d 100644
--- a/Services/Localization/Locales/cs.json
+++ b/Services/Localization/Locales/cs.json
@@ -50,6 +50,8 @@
"driver.installed": "{0} úspěšně nainstalován.",
"driver.uninstalled": "{0} úspěšně odinstalován.",
"driver.cancelled": "Zrušeno uživatelem.",
+ "driver.rebootToFinish": "Restartujte Windows, aby se dokončila instalace {0}.",
+ "driver.rebootThenReinstall": "Restart Windows je povinný: {0} nebude fungovat, dokud nerestartujete a znovu ho nenainstalujete.",
"driver.fatalError": "Fatální chyba instalace. Zkontrolujte log Windows Installeru.",
"driver.unknownExitCode": "Neznámý návratový kód.",
"driver.currentStatus": "Aktuální stav: installed={0}; version={1}; service={2}",
diff --git a/Services/Localization/Locales/de.json b/Services/Localization/Locales/de.json
index 40d9bd1..3c1d8cc 100644
--- a/Services/Localization/Locales/de.json
+++ b/Services/Localization/Locales/de.json
@@ -50,6 +50,8 @@
"driver.installed": "{0} erfolgreich installiert.",
"driver.uninstalled": "{0} erfolgreich deinstalliert.",
"driver.cancelled": "Vom Benutzer abgebrochen.",
+ "driver.rebootToFinish": "Starte Windows neu, um die Installation von {0} abzuschließen.",
+ "driver.rebootThenReinstall": "Ein Neustart von Windows ist zwingend: {0} funktioniert erst, wenn du neu startest und es danach erneut installierst.",
"driver.fatalError": "Fatale Installationsfehler. Windows Installer-Log prüfen.",
"driver.unknownExitCode": "Unbekannter Exit-Code.",
"driver.currentStatus": "Aktueller Status: installed={0}; version={1}; service={2}",
diff --git a/Services/Localization/Locales/en.json b/Services/Localization/Locales/en.json
index 8f6b13a..4aabc97 100644
--- a/Services/Localization/Locales/en.json
+++ b/Services/Localization/Locales/en.json
@@ -50,6 +50,8 @@
"driver.installed": "{0} installed successfully.",
"driver.uninstalled": "{0} uninstalled successfully.",
"driver.cancelled": "Cancelled by the user.",
+ "driver.rebootToFinish": "Restart Windows to finish installing {0}.",
+ "driver.rebootThenReinstall": "Restarting Windows is required: {0} won't work until you restart and then install it again.",
"driver.fatalError": "Fatal installation error. Check the Windows Installer log.",
"driver.unknownExitCode": "Unknown exit code.",
"driver.currentStatus": "Current status: installed: {0}; version: {1}; service: {2}",
diff --git a/Services/Localization/Locales/en_GB.json b/Services/Localization/Locales/en_GB.json
index 0f8adc3..61648e0 100644
--- a/Services/Localization/Locales/en_GB.json
+++ b/Services/Localization/Locales/en_GB.json
@@ -50,6 +50,8 @@
"driver.installed": "{0} installed successfully.",
"driver.uninstalled": "{0} uninstalled successfully.",
"driver.cancelled": "Cancelled by the user.",
+ "driver.rebootToFinish": "Restart Windows to finish installing {0}.",
+ "driver.rebootThenReinstall": "Restarting Windows is required: {0} won't work until you restart and then install it again.",
"driver.fatalError": "Fatal installation error. Check the Windows Installer log.",
"driver.unknownExitCode": "Unknown exit code.",
"driver.currentStatus": "Current status: installed={0}; version={1}; service={2}",
diff --git a/Services/Localization/Locales/en_US.json b/Services/Localization/Locales/en_US.json
index 8afa755..5da2755 100644
--- a/Services/Localization/Locales/en_US.json
+++ b/Services/Localization/Locales/en_US.json
@@ -50,6 +50,8 @@
"driver.installed": "{0} installed successfully.",
"driver.uninstalled": "{0} uninstalled successfully.",
"driver.cancelled": "Cancelled by the user.",
+ "driver.rebootToFinish": "Restart Windows to finish installing {0}.",
+ "driver.rebootThenReinstall": "Restarting Windows is required: {0} won't work until you restart and then install it again.",
"driver.fatalError": "Fatal installation error. Check the Windows Installer log.",
"driver.unknownExitCode": "Unknown exit code.",
"driver.currentStatus": "Current status: installed={0}; version={1}; service={2}",
diff --git a/Services/Localization/Locales/es.json b/Services/Localization/Locales/es.json
index ac234da..7eda167 100644
--- a/Services/Localization/Locales/es.json
+++ b/Services/Localization/Locales/es.json
@@ -50,6 +50,8 @@
"driver.installed": "{0} instalado correctamente.",
"driver.uninstalled": "{0} desinstalado correctamente.",
"driver.cancelled": "Cancelado por el usuario.",
+ "driver.rebootToFinish": "Reinicia Windows para terminar de instalar {0}.",
+ "driver.rebootThenReinstall": "Reiniciar Windows es obligatorio: {0} no funcionará hasta que reinicies y lo vuelvas a instalar.",
"driver.fatalError": "Fallo fatal durante la instalación (revisa el log de Windows Installer).",
"driver.unknownExitCode": "Código de salida desconocido.",
"driver.currentStatus": "Estado actual: Installed={0}, Version={1}, ServiceState={2}",
diff --git a/Services/Localization/Locales/fr.json b/Services/Localization/Locales/fr.json
index 291c281..5e4d883 100644
--- a/Services/Localization/Locales/fr.json
+++ b/Services/Localization/Locales/fr.json
@@ -50,6 +50,8 @@
"driver.installed": "{0} instalado correctamente.",
"driver.uninstalled": "{0} desinstalado correctamente.",
"driver.cancelled": "Cancelado por el usuario.",
+ "driver.rebootToFinish": "Redémarrez Windows pour terminer l'installation de {0}.",
+ "driver.rebootThenReinstall": "Le redémarrage de Windows est obligatoire : {0} ne fonctionnera pas tant que vous n'aurez pas redémarré puis réinstallé {0}.",
"driver.fatalError": "Fallo fatal durante la instalación (revisa el log de Windows Installer).",
"driver.unknownExitCode": "Código de salida desconocido.",
"driver.currentStatus": "Estado actual: Installed={0}, Version={1}, ServiceState={2}",
diff --git a/Services/Localization/Locales/hu.json b/Services/Localization/Locales/hu.json
index aae811a..d4b3296 100644
--- a/Services/Localization/Locales/hu.json
+++ b/Services/Localization/Locales/hu.json
@@ -50,6 +50,8 @@
"driver.installed": "{0} sikeresen telepítve.",
"driver.uninstalled": "{0} sikeresen eltávolítva.",
"driver.cancelled": "A felhasználó megszakította.",
+ "driver.rebootToFinish": "Indítsa újra a Windowst a(z) {0} telepítésének befejezéséhez.",
+ "driver.rebootThenReinstall": "A Windows újraindítása kötelező: a(z) {0} addig nem működik, amíg újra nem indítja, majd újra nem telepíti.",
"driver.fatalError": "Súlyos telepítési hiba. Ellenőrizze a Windows Installer naplót.",
"driver.unknownExitCode": "Ismeretlen kilépési kód.",
"driver.currentStatus": "Jelenlegi állapot: installed={0}; version={1}; service={2}",
diff --git a/Services/Localization/Locales/it.json b/Services/Localization/Locales/it.json
index 5ac799f..6e94b3f 100644
--- a/Services/Localization/Locales/it.json
+++ b/Services/Localization/Locales/it.json
@@ -50,6 +50,8 @@
"driver.installed": "{0} installato correttamente.",
"driver.uninstalled": "{0} disinstallato correttamente.",
"driver.cancelled": "Annullato dall'utente.",
+ "driver.rebootToFinish": "Riavvia Windows per completare l'installazione di {0}.",
+ "driver.rebootThenReinstall": "Il riavvio di Windows è obbligatorio: {0} non funzionerà finché non riavvii e lo installi di nuovo.",
"driver.fatalError": "Errore fatale durante l'installazione. Controllare il log di Windows Installer.",
"driver.unknownExitCode": "Codice di uscita sconosciuto.",
"driver.currentStatus": "Stato attuale: installed={0}; version={1}; service={2}",
diff --git a/Services/Localization/Locales/ja.json b/Services/Localization/Locales/ja.json
index c233c10..335a610 100644
--- a/Services/Localization/Locales/ja.json
+++ b/Services/Localization/Locales/ja.json
@@ -50,6 +50,8 @@
"driver.installed": "{0} が正常にインストールされました。",
"driver.uninstalled": "{0} が正常にアンインストールされました。",
"driver.cancelled": "ユーザーによってキャンセルされました。",
+ "driver.rebootToFinish": "{0} のインストールを完了するには Windows を再起動してください。",
+ "driver.rebootThenReinstall": "Windows の再起動が必要です。再起動して {0} をもう一度インストールするまで、{0} は動作しません。",
"driver.fatalError": "インストール中に致命的なエラーが発生しました。Windows インストーラーのログを確認してください。",
"driver.unknownExitCode": "不明な終了コードです。",
"driver.currentStatus": "現在の状態: installed={0}; version={1}; service={2}",
diff --git a/Services/Localization/Locales/ko.json b/Services/Localization/Locales/ko.json
index 6e4c674..1d4f57f 100644
--- a/Services/Localization/Locales/ko.json
+++ b/Services/Localization/Locales/ko.json
@@ -50,6 +50,8 @@
"driver.installed": "{0}이(가) 성공적으로 설치되었습니다.",
"driver.uninstalled": "{0}이(가) 성공적으로 제거되었습니다.",
"driver.cancelled": "사용자에 의해 취소되었습니다.",
+ "driver.rebootToFinish": "{0} 설치를 완료하려면 Windows를 다시 시작하세요.",
+ "driver.rebootThenReinstall": "Windows를 반드시 다시 시작해야 합니다. 다시 시작한 후 {0}을(를) 다시 설치할 때까지 {0}은(는) 작동하지 않습니다.",
"driver.fatalError": "설치 중 치명적 오류 발생. Windows Installer 로그를 확인하세요.",
"driver.unknownExitCode": "알 수 없는 종료 코드입니다.",
"driver.currentStatus": "현재 상태: installed={0}; version={1}; service={2}",
diff --git a/Services/Localization/Locales/pl.json b/Services/Localization/Locales/pl.json
index 5489b3d..f0dab8c 100644
--- a/Services/Localization/Locales/pl.json
+++ b/Services/Localization/Locales/pl.json
@@ -50,6 +50,8 @@
"driver.installed": "{0} zainstalowano pomyślnie.",
"driver.uninstalled": "{0} odinstalowano pomyślnie.",
"driver.cancelled": "Anulowano przez użytkownika.",
+ "driver.rebootToFinish": "Uruchom ponownie system Windows, aby dokończyć instalację {0}.",
+ "driver.rebootThenReinstall": "Ponowne uruchomienie systemu Windows jest obowiązkowe: {0} nie będzie działać, dopóki nie uruchomisz go ponownie i nie zainstalujesz {0} jeszcze raz.",
"driver.fatalError": "Błąd krytyczny instalacji. Sprawdź dziennik Windows Installer.",
"driver.unknownExitCode": "Nieznany kod wyjścia.",
"driver.currentStatus": "Stan aktualny: installed={0}; version={1}; service={2}",
diff --git a/Services/Localization/Locales/pt.json b/Services/Localization/Locales/pt.json
index b85f984..4b8e84b 100644
--- a/Services/Localization/Locales/pt.json
+++ b/Services/Localization/Locales/pt.json
@@ -50,6 +50,8 @@
"driver.installed": "{0} instalado com sucesso.",
"driver.uninstalled": "{0} desinstalado com sucesso.",
"driver.cancelled": "Cancelado pelo utilizador.",
+ "driver.rebootToFinish": "Reinicie o Windows para concluir a instalação do {0}.",
+ "driver.rebootThenReinstall": "Reiniciar o Windows é obrigatório: o {0} não funcionará até reiniciar e voltar a instalá-lo.",
"driver.fatalError": "Erro fatal na instalação. Verifique o log do Windows Installer.",
"driver.unknownExitCode": "Código de saída desconhecido.",
"driver.currentStatus": "Estado atual: installed={0}; version={1}; service={2}",
diff --git a/Services/Localization/Locales/pt_BR.json b/Services/Localization/Locales/pt_BR.json
index 192b7a5..96cf1aa 100644
--- a/Services/Localization/Locales/pt_BR.json
+++ b/Services/Localization/Locales/pt_BR.json
@@ -50,6 +50,8 @@
"driver.installed": "{0} instalado com sucesso.",
"driver.uninstalled": "{0} desinstalado com sucesso.",
"driver.cancelled": "Cancelado pelo usuário.",
+ "driver.rebootToFinish": "Reinicie o Windows para concluir a instalação do {0}.",
+ "driver.rebootThenReinstall": "Reiniciar o Windows é obrigatório: o {0} não vai funcionar até você reiniciar e instalá-lo novamente.",
"driver.fatalError": "Erro fatal na instalação. Verifique o log do Windows Installer.",
"driver.unknownExitCode": "Código de saída desconhecido.",
"driver.currentStatus": "Estado atual: installed={0}; version={1}; service={2}",
diff --git a/Services/Localization/Locales/ru.json b/Services/Localization/Locales/ru.json
index c95986a..92cb9e8 100644
--- a/Services/Localization/Locales/ru.json
+++ b/Services/Localization/Locales/ru.json
@@ -50,6 +50,8 @@
"driver.installed": "{0} установлен успешно.",
"driver.uninstalled": "{0} удалён успешно.",
"driver.cancelled": "Отменено пользователем.",
+ "driver.rebootToFinish": "Перезагрузите Windows, чтобы завершить установку {0}.",
+ "driver.rebootThenReinstall": "Перезагрузка Windows обязательна: {0} не будет работать, пока вы не перезагрузите компьютер и не установите его ещё раз.",
"driver.fatalError": "Критическая ошибка установки. Проверьте журнал Windows Installer.",
"driver.unknownExitCode": "Неизвестный код выхода.",
"driver.currentStatus": "Текущий статус: installed={0}; version={1}; service={2}",
diff --git a/Services/Localization/Locales/sv.json b/Services/Localization/Locales/sv.json
index be48d57..df62377 100644
--- a/Services/Localization/Locales/sv.json
+++ b/Services/Localization/Locales/sv.json
@@ -50,6 +50,8 @@
"driver.installed": "{0} installerades framgångsrikt.",
"driver.uninstalled": "{0} avinstallerades framgångsrikt.",
"driver.cancelled": "Avbruten av användaren.",
+ "driver.rebootToFinish": "Starta om Windows för att slutföra installationen av {0}.",
+ "driver.rebootThenReinstall": "Omstart av Windows krävs: {0} fungerar inte förrän du startar om och installerar det igen.",
"driver.fatalError": "Allvarligt installationsfel. Kontrollera Windows Installer-logen.",
"driver.unknownExitCode": "Okänd avslutningskod.",
"driver.currentStatus": "Nuvarande status: installed={0}; version={1}; service={2}",
diff --git a/Services/Localization/Locales/tr.json b/Services/Localization/Locales/tr.json
index 5ea16bc..225f0b3 100644
--- a/Services/Localization/Locales/tr.json
+++ b/Services/Localization/Locales/tr.json
@@ -50,6 +50,8 @@
"driver.installed": "{0} başarıyla kuruldu.",
"driver.uninstalled": "{0} başarıyla kaldırıldı.",
"driver.cancelled": "Kullanıcı tarafından iptal edildi.",
+ "driver.rebootToFinish": "{0} kurulumunu tamamlamak için Windows'u yeniden başlatın.",
+ "driver.rebootThenReinstall": "Windows'u yeniden başlatmak zorunludur: yeniden başlatıp {0} yazılımını tekrar yükleyene kadar {0} çalışmaz.",
"driver.fatalError": "Kurulum sırasında ölümcül hata. Windows Installer günlüğünü kontrol edin.",
"driver.unknownExitCode": "Bilinmeyen çıkış kodu.",
"driver.currentStatus": "Mevcut durum: installed={0}; version={1}; service={2}",
diff --git a/Services/Localization/Locales/uk.json b/Services/Localization/Locales/uk.json
index f1ba789..73ad5e5 100644
--- a/Services/Localization/Locales/uk.json
+++ b/Services/Localization/Locales/uk.json
@@ -50,6 +50,8 @@
"driver.installed": "{0} успішно встановлено.",
"driver.uninstalled": "{0} успішно видалено.",
"driver.cancelled": "Скасовано користувачем.",
+ "driver.rebootToFinish": "Перезавантажте Windows, щоб завершити встановлення {0}.",
+ "driver.rebootThenReinstall": "Перезавантаження Windows обов'язкове: {0} не працюватиме, доки ви не перезавантажите комп'ютер і не встановите його ще раз.",
"driver.fatalError": "Фатальна помилка встановлення. Перевірте журнал Windows Installer.",
"driver.unknownExitCode": "Невідомий код виходу.",
"driver.currentStatus": "Поточний статус: installed={0}; version={1}; service={2}",
diff --git a/Services/Localization/Locales/vi.json b/Services/Localization/Locales/vi.json
index 88597dd..4acfb68 100644
--- a/Services/Localization/Locales/vi.json
+++ b/Services/Localization/Locales/vi.json
@@ -50,6 +50,8 @@
"driver.installed": "{0} cài đặt thành công.",
"driver.uninstalled": "{0} gỡ cài đặt thành công.",
"driver.cancelled": "Đã hủy bởi người dùng.",
+ "driver.rebootToFinish": "Khởi động lại Windows để hoàn tất cài đặt {0}.",
+ "driver.rebootThenReinstall": "Bắt buộc phải khởi động lại Windows: {0} sẽ không hoạt động cho đến khi bạn khởi động lại và cài đặt lại.",
"driver.fatalError": "Lỗi nghiêm trọng khi cài đặt. Kiểm tra nhật ký Windows Installer.",
"driver.unknownExitCode": "Mã thoát không xác định.",
"driver.currentStatus": "Trạng thái hiện tại: installed={0}; version={1}; service={2}",
diff --git a/Services/Localization/Locales/zh.json b/Services/Localization/Locales/zh.json
index bb7552b..b4e4d7d 100644
--- a/Services/Localization/Locales/zh.json
+++ b/Services/Localization/Locales/zh.json
@@ -50,6 +50,8 @@
"driver.installed": "{0} 安装成功。",
"driver.uninstalled": "{0} 卸载成功。",
"driver.cancelled": "用户取消。",
+ "driver.rebootToFinish": "请重启 Windows 以完成 {0} 的安装。",
+ "driver.rebootThenReinstall": "必须重启 Windows:在重启并重新安装 {0} 之前,{0} 无法使用。",
"driver.fatalError": "安装致命错误。请检查 Windows Installer 日志。",
"driver.unknownExitCode": "未知退出代码。",
"driver.currentStatus": "当前状态: installed={0}; version={1}; service={2}",
diff --git a/Services/Localization/Locales/zh_TW.json b/Services/Localization/Locales/zh_TW.json
index 1690853..0e832d3 100644
--- a/Services/Localization/Locales/zh_TW.json
+++ b/Services/Localization/Locales/zh_TW.json
@@ -50,6 +50,8 @@
"driver.installed": "{0} 安裝成功。",
"driver.uninstalled": "{0} 解除安裝成功。",
"driver.cancelled": "使用者取消。",
+ "driver.rebootToFinish": "請重新啟動 Windows 以完成 {0} 的安裝。",
+ "driver.rebootThenReinstall": "必須重新啟動 Windows:在重新啟動並重新安裝 {0} 之前,{0} 無法使用。",
"driver.fatalError": "安裝嚴重錯誤。請檢查 Windows Installer 記錄。",
"driver.unknownExitCode": "未知結束代碼。",
"driver.currentStatus": "目前狀態: installed={0}; version={1}; service={2}",
diff --git a/tests/OpenStreamMS.Tests/DriverInstallerArgsTests.cs b/tests/OpenStreamMS.Tests/DriverInstallerArgsTests.cs
new file mode 100644
index 0000000..4cf53b2
--- /dev/null
+++ b/tests/OpenStreamMS.Tests/DriverInstallerArgsTests.cs
@@ -0,0 +1,65 @@
+using System.Text;
+using OpenStreamMS.Services.Drivers;
+using Xunit;
+
+namespace OpenStreamMS.Tests;
+
+///
+/// Los instaladores de ViGEmBus y HidHide son de Advanced Installer: con los argumentos de
+/// WiX Burn ("/quiet /install") muestran "Invalid command line" y no instalan nada (issue #80).
+///
+public sealed class DriverInstallerArgsTests : IDisposable
+{
+ private readonly string _dir = Path.Combine(Path.GetTempPath(), "osms-drvargs-" + Guid.NewGuid().ToString("N"));
+
+ public DriverInstallerArgsTests() => Directory.CreateDirectory(_dir);
+ public void Dispose() { try { Directory.Delete(_dir, true); } catch (IOException) { } }
+
+ /// Ejecutable PE mínimo con esas secciones (solo cabeceras).
+ private string FakePe(params string[] sections)
+ {
+ const int pe = 0x80, optionalSize = 0xF0;
+ var bytes = new byte[pe + 24 + optionalSize + 40 * sections.Length + 16];
+ bytes[0] = (byte)'M'; bytes[1] = (byte)'Z';
+ BitConverter.GetBytes(pe).CopyTo(bytes, 0x3C);
+ Encoding.ASCII.GetBytes("PE\0\0").CopyTo(bytes, pe);
+ BitConverter.GetBytes((ushort)sections.Length).CopyTo(bytes, pe + 6);
+ BitConverter.GetBytes((ushort)optionalSize).CopyTo(bytes, pe + 20);
+ for (int i = 0; i < sections.Length; i++)
+ Encoding.ASCII.GetBytes(sections[i]).CopyTo(bytes, pe + 24 + optionalSize + 40 * i);
+ var path = Path.Combine(_dir, Guid.NewGuid().ToString("N") + ".exe");
+ File.WriteAllBytes(path, bytes);
+ return path;
+ }
+
+ [Fact]
+ public void AdvancedInstallerBootstrapperGetsExenoui()
+ {
+ var exe = FakePe(".text", ".rdata", ".data", ".rsrc", ".reloc");
+ Assert.Equal(NefariusDriverManager.AdvancedInstallerArgs, NefariusDriverManager.SilentInstallArgs(exe));
+ }
+
+ [Fact]
+ public void WixBurnBundleGetsQuietInstall()
+ {
+ var exe = FakePe(".text", ".rdata", ".data", ".wixburn", ".rsrc", ".reloc");
+ Assert.Equal(NefariusDriverManager.WixBurnArgs, NefariusDriverManager.SilentInstallArgs(exe));
+ }
+
+ [Fact]
+ public void SectionNamesAreRead()
+ {
+ var exe = FakePe(".text", ".wixburn");
+ Assert.Equal([".text", ".wixburn"], NefariusDriverManager.PeSectionNames(exe));
+ }
+
+ [Fact]
+ public void UnreadableFileFallsBackToAdvancedInstaller()
+ {
+ var notPe = Path.Combine(_dir, "broken.exe");
+ File.WriteAllText(notPe, "not an executable");
+ Assert.Equal(NefariusDriverManager.AdvancedInstallerArgs, NefariusDriverManager.SilentInstallArgs(notPe));
+ Assert.Equal(NefariusDriverManager.AdvancedInstallerArgs,
+ NefariusDriverManager.SilentInstallArgs(Path.Combine(_dir, "missing.exe")));
+ }
+}