From 3dfd4a533264807898a2d1b58f113ba48ee6f13d Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sun, 23 Jul 2017 11:57:25 +0200 Subject: Windows: display notice about creating new Rescue Disk at first boot after upgrade. --- Translations/Language.ar.xml | 1 + Translations/Language.be.xml | 1 + Translations/Language.bg.xml | 1 + Translations/Language.ca.xml | 1 + Translations/Language.cs.xml | 1 + Translations/Language.da.xml | 1 + Translations/Language.de.xml | 1 + Translations/Language.el.xml | 1 + Translations/Language.es.xml | 1 + Translations/Language.et.xml | 1 + Translations/Language.eu.xml | 1 + Translations/Language.fa.xml | 1 + Translations/Language.fi.xml | 1 + Translations/Language.fr.xml | 1 + Translations/Language.hu.xml | 1 + Translations/Language.id.xml | 1 + Translations/Language.it.xml | 1 + Translations/Language.ja.xml | 1 + Translations/Language.ka.xml | 1 + Translations/Language.ko.xml | 1 + Translations/Language.lv.xml | 1 + Translations/Language.my.xml | 1 + Translations/Language.nl.xml | 1 + Translations/Language.nn.xml | 1 + Translations/Language.pl.xml | 1 + Translations/Language.pt-br.xml | 1 + Translations/Language.ro.xml | 1 + Translations/Language.ru.xml | 1 + Translations/Language.sk.xml | 1 + Translations/Language.sl.xml | 1 + Translations/Language.sv.xml | 1 + Translations/Language.tr.xml | 1 + Translations/Language.uk.xml | 1 + Translations/Language.uz.xml | 1 + Translations/Language.vi.xml | 1 + Translations/Language.zh-cn.xml | 1 + Translations/Language.zh-hk.xml | 1 + Translations/Language.zh-tw.xml | 1 + src/Common/Dlgcode.c | 13 +++++++++++++ src/Common/Dlgcode.h | 5 ++++- src/Common/Language.xml | 1 + src/Mount/Mount.c | 4 ++++ src/Setup/Setup.c | 8 ++++++++ src/Setup/Setup.h | 1 + 44 files changed, 69 insertions(+), 1 deletion(-) diff --git a/Translations/Language.ar.xml b/Translations/Language.ar.xml index ae57d082..24acc1c3 100644 --- a/Translations/Language.ar.xml +++ b/Translations/Language.ar.xml @@ -1422,6 +1422,7 @@ تحذير: المستخدم غير الخبير ينبغي ألا يحاول تعديل ملف تحميل الإقلاع يدويا\n\nاستمر? تحذير: فشل في التحقق من صحة صيغة XML لتهيئة بيئة الإقلاع. يرجى التأكد من التعديلات. خيارات متقدمة + It is strongly recommended that you create a new VeraCrypt Rescue Disk (which will contain the new version of the VeraCrypt Boot Loader) by selecting 'System' > 'Create Rescue Disk'.\nDo you want to do it now? diff --git a/Translations/Language.be.xml b/Translations/Language.be.xml index f6fcd7c0..d6c34fcf 100644 --- a/Translations/Language.be.xml +++ b/Translations/Language.be.xml @@ -1422,6 +1422,7 @@ WARNING: Inexperienced users should never attempt to manually edit boot loader configurations.\n\nContinue? WARNING: Failed to validate the XML format of the Boot Loader configuration. Please check your modifications. Advanced Options + It is strongly recommended that you create a new VeraCrypt Rescue Disk (which will contain the new version of the VeraCrypt Boot Loader) by selecting 'System' > 'Create Rescue Disk'.\nDo you want to do it now? diff --git a/Translations/Language.bg.xml b/Translations/Language.bg.xml index 71f21c1a..c13ef545 100644 --- a/Translations/Language.bg.xml +++ b/Translations/Language.bg.xml @@ -1422,6 +1422,7 @@ WARNING: Inexperienced users should never attempt to manually edit boot loader configurations.\n\nContinue? WARNING: Failed to validate the XML format of the Boot Loader configuration. Please check your modifications. Advanced Options + It is strongly recommended that you create a new VeraCrypt Rescue Disk (which will contain the new version of the VeraCrypt Boot Loader) by selecting 'System' > 'Create Rescue Disk'.\nDo you want to do it now? diff --git a/Translations/Language.ca.xml b/Translations/Language.ca.xml index 50a3dd02..e64b2d3d 100644 --- a/Translations/Language.ca.xml +++ b/Translations/Language.ca.xml @@ -1422,6 +1422,7 @@ WARNING: Inexperienced users should never attempt to manually edit boot loader configurations.\n\nContinue? WARNING: Failed to validate the XML format of the Boot Loader configuration. Please check your modifications. Advanced Options + It is strongly recommended that you create a new VeraCrypt Rescue Disk (which will contain the new version of the VeraCrypt Boot Loader) by selecting 'System' > 'Create Rescue Disk'.\nDo you want to do it now? diff --git a/Translations/Language.cs.xml b/Translations/Language.cs.xml index a1326e3b..08297693 100644 --- a/Translations/Language.cs.xml +++ b/Translations/Language.cs.xml @@ -1422,6 +1422,7 @@ UPOZORNĚNÍ: nezkušení uživatelé by se neměli pokoušet upravovat konfiguraci Boot Loaderu.\n\nPokračovat? UPOZORNĚNÍ: chyba při ověření formátu *.xml v konfiguraci Boot Loaderu. Zkontrolujte si vaše úpravy. Pokročilé možnosti + It is strongly recommended that you create a new VeraCrypt Rescue Disk (which will contain the new version of the VeraCrypt Boot Loader) by selecting 'System' > 'Create Rescue Disk'.\nDo you want to do it now? diff --git a/Translations/Language.da.xml b/Translations/Language.da.xml index 4ee8f9a6..46cd37a0 100644 --- a/Translations/Language.da.xml +++ b/Translations/Language.da.xml @@ -1422,6 +1422,7 @@ WARNING: Inexperienced users should never attempt to manually edit boot loader configurations.\n\nContinue? WARNING: Failed to validate the XML format of the Boot Loader configuration. Please check your modifications. Advanced Options + It is strongly recommended that you create a new VeraCrypt Rescue Disk (which will contain the new version of the VeraCrypt Boot Loader) by selecting 'System' > 'Create Rescue Disk'.\nDo you want to do it now? diff --git a/Translations/Language.de.xml b/Translations/Language.de.xml index 5293476c..ae2dcf48 100644 --- a/Translations/Language.de.xml +++ b/Translations/Language.de.xml @@ -1422,6 +1422,7 @@ WARNING: Inexperienced users should never attempt to manually edit boot loader configurations.\n\nContinue? WARNING: Failed to validate the XML format of the Boot Loader configuration. Please check your modifications. Advanced Options + It is strongly recommended that you create a new VeraCrypt Rescue Disk (which will contain the new version of the VeraCrypt Boot Loader) by selecting 'System' > 'Create Rescue Disk'.\nDo you want to do it now? diff --git a/Translations/Language.el.xml b/Translations/Language.el.xml index 286bcddb..cf0f0529 100644 --- a/Translations/Language.el.xml +++ b/Translations/Language.el.xml @@ -1422,6 +1422,7 @@ WARNING: Inexperienced users should never attempt to manually edit boot loader configurations.\n\nContinue? WARNING: Failed to validate the XML format of the Boot Loader configuration. Please check your modifications. Advanced Options + It is strongly recommended that you create a new VeraCrypt Rescue Disk (which will contain the new version of the VeraCrypt Boot Loader) by selecting 'System' > 'Create Rescue Disk'.\nDo you want to do it now? diff --git a/Translations/Language.es.xml b/Translations/Language.es.xml index a85122f6..ec67b8f3 100644 --- a/Translations/Language.es.xml +++ b/Translations/Language.es.xml @@ -1422,6 +1422,7 @@ WARNING: Inexperienced users should never attempt to manually edit boot loader configurations.\n\nContinue? WARNING: Failed to validate the XML format of the Boot Loader configuration. Please check your modifications. Advanced Options + It is strongly recommended that you create a new VeraCrypt Rescue Disk (which will contain the new version of the VeraCrypt Boot Loader) by selecting 'System' > 'Create Rescue Disk'.\nDo you want to do it now? diff --git a/Translations/Language.et.xml b/Translations/Language.et.xml index df7e440b..c9573819 100644 --- a/Translations/Language.et.xml +++ b/Translations/Language.et.xml @@ -1422,6 +1422,7 @@ WARNING: Inexperienced users should never attempt to manually edit boot loader configurations.\n\nContinue? WARNING: Failed to validate the XML format of the Boot Loader configuration. Please check your modifications. Advanced Options + It is strongly recommended that you create a new VeraCrypt Rescue Disk (which will contain the new version of the VeraCrypt Boot Loader) by selecting 'System' > 'Create Rescue Disk'.\nDo you want to do it now? diff --git a/Translations/Language.eu.xml b/Translations/Language.eu.xml index dc3fb689..82f94591 100644 --- a/Translations/Language.eu.xml +++ b/Translations/Language.eu.xml @@ -1422,6 +1422,7 @@ WARNING: Inexperienced users should never attempt to manually edit boot loader configurations.\n\nContinue? WARNING: Failed to validate the XML format of the Boot Loader configuration. Please check your modifications. Advanced Options + It is strongly recommended that you create a new VeraCrypt Rescue Disk (which will contain the new version of the VeraCrypt Boot Loader) by selecting 'System' > 'Create Rescue Disk'.\nDo you want to do it now? diff --git a/Translations/Language.fa.xml b/Translations/Language.fa.xml index c1e39a31..13824cfd 100644 --- a/Translations/Language.fa.xml +++ b/Translations/Language.fa.xml @@ -1422,6 +1422,7 @@ WARNING: Inexperienced users should never attempt to manually edit boot loader configurations.\n\nContinue? WARNING: Failed to validate the XML format of the Boot Loader configuration. Please check your modifications. Advanced Options + It is strongly recommended that you create a new VeraCrypt Rescue Disk (which will contain the new version of the VeraCrypt Boot Loader) by selecting 'System' > 'Create Rescue Disk'.\nDo you want to do it now? diff --git a/Translations/Language.fi.xml b/Translations/Language.fi.xml index f7340e69..e769b2df 100644 --- a/Translations/Language.fi.xml +++ b/Translations/Language.fi.xml @@ -1422,6 +1422,7 @@ WARNING: Inexperienced users should never attempt to manually edit boot loader configurations.\n\nContinue? WARNING: Failed to validate the XML format of the Boot Loader configuration. Please check your modifications. Advanced Options + It is strongly recommended that you create a new VeraCrypt Rescue Disk (which will contain the new version of the VeraCrypt Boot Loader) by selecting 'System' > 'Create Rescue Disk'.\nDo you want to do it now? diff --git a/Translations/Language.fr.xml b/Translations/Language.fr.xml index 3b6dab1d..efe34d54 100644 --- a/Translations/Language.fr.xml +++ b/Translations/Language.fr.xml @@ -1422,6 +1422,7 @@ AVERTISSEMENT : Les utilisateurs novices ne devraient pas modifier manuellement le fichier de configuration du chargeur de démarrage.\n\nContinuer ? ATTENTION: échec de la validation du format XML du fichier de configuration du chargeur de démarrage. Merci de vérifier vos modifications. Options Avancées + It is strongly recommended that you create a new VeraCrypt Rescue Disk (which will contain the new version of the VeraCrypt Boot Loader) by selecting 'System' > 'Create Rescue Disk'.\nDo you want to do it now? diff --git a/Translations/Language.hu.xml b/Translations/Language.hu.xml index ee8f9889..ff87ac9c 100644 --- a/Translations/Language.hu.xml +++ b/Translations/Language.hu.xml @@ -1422,6 +1422,7 @@ WARNING: Inexperienced users should never attempt to manually edit boot loader configurations.\n\nContinue? WARNING: Failed to validate the XML format of the Boot Loader configuration. Please check your modifications. Advanced Options + It is strongly recommended that you create a new VeraCrypt Rescue Disk (which will contain the new version of the VeraCrypt Boot Loader) by selecting 'System' > 'Create Rescue Disk'.\nDo you want to do it now? diff --git a/Translations/Language.id.xml b/Translations/Language.id.xml index e65a563c..96471ab0 100644 --- a/Translations/Language.id.xml +++ b/Translations/Language.id.xml @@ -1422,6 +1422,7 @@ WARNING: Inexperienced users should never attempt to manually edit boot loader configurations.\n\nContinue? WARNING: Failed to validate the XML format of the Boot Loader configuration. Please check your modifications. Advanced Options + It is strongly recommended that you create a new VeraCrypt Rescue Disk (which will contain the new version of the VeraCrypt Boot Loader) by selecting 'System' > 'Create Rescue Disk'.\nDo you want to do it now? diff --git a/Translations/Language.it.xml b/Translations/Language.it.xml index c4448782..a6402002 100644 --- a/Translations/Language.it.xml +++ b/Translations/Language.it.xml @@ -1422,6 +1422,7 @@ WARNING: Inexperienced users should never attempt to manually edit boot loader configurations.\n\nContinue? WARNING: Failed to validate the XML format of the Boot Loader configuration. Please check your modifications. Advanced Options + It is strongly recommended that you create a new VeraCrypt Rescue Disk (which will contain the new version of the VeraCrypt Boot Loader) by selecting 'System' > 'Create Rescue Disk'.\nDo you want to do it now? diff --git a/Translations/Language.ja.xml b/Translations/Language.ja.xml index ad9e5151..1ca1bd42 100644 --- a/Translations/Language.ja.xml +++ b/Translations/Language.ja.xml @@ -1422,6 +1422,7 @@ WARNING: Inexperienced users should never attempt to manually edit boot loader configurations.\n\nContinue? WARNING: Failed to validate the XML format of the Boot Loader configuration. Please check your modifications. Advanced Options + It is strongly recommended that you create a new VeraCrypt Rescue Disk (which will contain the new version of the VeraCrypt Boot Loader) by selecting 'System' > 'Create Rescue Disk'.\nDo you want to do it now? diff --git a/Translations/Language.ka.xml b/Translations/Language.ka.xml index b02544c5..b5837945 100644 --- a/Translations/Language.ka.xml +++ b/Translations/Language.ka.xml @@ -1422,6 +1422,7 @@ WARNING: Inexperienced users should never attempt to manually edit boot loader configurations.\n\nContinue? WARNING: Failed to validate the XML format of the Boot Loader configuration. Please check your modifications. Advanced Options + It is strongly recommended that you create a new VeraCrypt Rescue Disk (which will contain the new version of the VeraCrypt Boot Loader) by selecting 'System' > 'Create Rescue Disk'.\nDo you want to do it now? diff --git a/Translations/Language.ko.xml b/Translations/Language.ko.xml index b32ed721..a145878b 100644 --- a/Translations/Language.ko.xml +++ b/Translations/Language.ko.xml @@ -1422,6 +1422,7 @@ WARNING: Inexperienced users should never attempt to manually edit boot loader configurations.\n\nContinue? WARNING: Failed to validate the XML format of the Boot Loader configuration. Please check your modifications. Advanced Options + It is strongly recommended that you create a new VeraCrypt Rescue Disk (which will contain the new version of the VeraCrypt Boot Loader) by selecting 'System' > 'Create Rescue Disk'.\nDo you want to do it now? diff --git a/Translations/Language.lv.xml b/Translations/Language.lv.xml index 87e50fb8..f5dd0149 100644 --- a/Translations/Language.lv.xml +++ b/Translations/Language.lv.xml @@ -1422,6 +1422,7 @@ WARNING: Inexperienced users should never attempt to manually edit boot loader configurations.\n\nContinue? WARNING: Failed to validate the XML format of the Boot Loader configuration. Please check your modifications. Advanced Options + It is strongly recommended that you create a new VeraCrypt Rescue Disk (which will contain the new version of the VeraCrypt Boot Loader) by selecting 'System' > 'Create Rescue Disk'.\nDo you want to do it now? diff --git a/Translations/Language.my.xml b/Translations/Language.my.xml index c926cc7c..70d38679 100644 --- a/Translations/Language.my.xml +++ b/Translations/Language.my.xml @@ -1424,6 +1424,7 @@ WARNING: Inexperienced users should never attempt to manually edit boot loader configurations.\n\nContinue? WARNING: Failed to validate the XML format of the Boot Loader configuration. Please check your modifications. Advanced Options + It is strongly recommended that you create a new VeraCrypt Rescue Disk (which will contain the new version of the VeraCrypt Boot Loader) by selecting 'System' > 'Create Rescue Disk'.\nDo you want to do it now? diff --git a/Translations/Language.nl.xml b/Translations/Language.nl.xml index 7bfab218..4a62da5a 100644 --- a/Translations/Language.nl.xml +++ b/Translations/Language.nl.xml @@ -1423,6 +1423,7 @@ Waarschuwing: Onervaren gebruikers moeten niet proberen bootloader configuraties handmatig te bewerken.\n\nVerder gaan? Waarschuwing: Het valideren van de XML-opmaak van de bootloader configuratie is mislukt. Controleer uw wijzigingen. Geavanceerde opties + It is strongly recommended that you create a new VeraCrypt Rescue Disk (which will contain the new version of the VeraCrypt Boot Loader) by selecting 'System' > 'Create Rescue Disk'.\nDo you want to do it now? diff --git a/Translations/Language.nn.xml b/Translations/Language.nn.xml index 0348b624..0f5c79f2 100644 --- a/Translations/Language.nn.xml +++ b/Translations/Language.nn.xml @@ -1422,6 +1422,7 @@ WARNING: Inexperienced users should never attempt to manually edit boot loader configurations.\n\nContinue? WARNING: Failed to validate the XML format of the Boot Loader configuration. Please check your modifications. Advanced Options + It is strongly recommended that you create a new VeraCrypt Rescue Disk (which will contain the new version of the VeraCrypt Boot Loader) by selecting 'System' > 'Create Rescue Disk'.\nDo you want to do it now? diff --git a/Translations/Language.pl.xml b/Translations/Language.pl.xml index 3262fe87..1daefa75 100644 --- a/Translations/Language.pl.xml +++ b/Translations/Language.pl.xml @@ -1422,6 +1422,7 @@ UWAGA: Niedoświadczeni użytkownicy nie powinni próbować ręcznie edytować konfiguracje programu rozruchowego.\n\nKontynuować? UWAGA: Nie udało się zweryfikować formatu XML konfiguracji programu rozruchowego. Proszę sprawdzić swoje modyfikacje. Opcje zaawansowane + It is strongly recommended that you create a new VeraCrypt Rescue Disk (which will contain the new version of the VeraCrypt Boot Loader) by selecting 'System' > 'Create Rescue Disk'.\nDo you want to do it now? diff --git a/Translations/Language.pt-br.xml b/Translations/Language.pt-br.xml index cdcc5684..d445f618 100644 --- a/Translations/Language.pt-br.xml +++ b/Translations/Language.pt-br.xml @@ -1422,6 +1422,7 @@ WARNING: Inexperienced users should never attempt to manually edit boot loader configurations.\n\nContinue? WARNING: Failed to validate the XML format of the Boot Loader configuration. Please check your modifications. Advanced Options + It is strongly recommended that you create a new VeraCrypt Rescue Disk (which will contain the new version of the VeraCrypt Boot Loader) by selecting 'System' > 'Create Rescue Disk'.\nDo you want to do it now? diff --git a/Translations/Language.ro.xml b/Translations/Language.ro.xml index 38147cc4..a879abc2 100644 --- a/Translations/Language.ro.xml +++ b/Translations/Language.ro.xml @@ -1420,6 +1420,7 @@ ATENȚIE: Utilizatorii neexperimentați nu ar trebui să încerce editarea manuală a configurației încărcătorului de sistem.\n\nContinuați? ATENȚIE: Eșuare la validarea formatului XML al încărcătorului de sistem. Verificați modificările efectuate. Opțiuni avansate + It is strongly recommended that you create a new VeraCrypt Rescue Disk (which will contain the new version of the VeraCrypt Boot Loader) by selecting 'System' > 'Create Rescue Disk'.\nDo you want to do it now? diff --git a/Translations/Language.ru.xml b/Translations/Language.ru.xml index a288e746..ac1a83fe 100644 --- a/Translations/Language.ru.xml +++ b/Translations/Language.ru.xml @@ -1422,6 +1422,7 @@ ВНИМАНИЕ: Если у вас недостаточно опыта, не следует вручную редактировать настройки загрузчика.\n\nПродолжить? ВНИМАНИЕ: Ошибка проверки корректности XML-формата конфигурации загрузчика. Проверьте внесённые вами изменения. Расширенные настройки + It is strongly recommended that you create a new VeraCrypt Rescue Disk (which will contain the new version of the VeraCrypt Boot Loader) by selecting 'System' > 'Create Rescue Disk'.\nDo you want to do it now? diff --git a/Translations/Language.sk.xml b/Translations/Language.sk.xml index 6da9be51..660bcf52 100644 --- a/Translations/Language.sk.xml +++ b/Translations/Language.sk.xml @@ -1422,6 +1422,7 @@ WARNING: Inexperienced users should never attempt to manually edit boot loader configurations.\n\nContinue? WARNING: Failed to validate the XML format of the Boot Loader configuration. Please check your modifications. Advanced Options + It is strongly recommended that you create a new VeraCrypt Rescue Disk (which will contain the new version of the VeraCrypt Boot Loader) by selecting 'System' > 'Create Rescue Disk'.\nDo you want to do it now? diff --git a/Translations/Language.sl.xml b/Translations/Language.sl.xml index b9c6c570..8f89604b 100644 --- a/Translations/Language.sl.xml +++ b/Translations/Language.sl.xml @@ -1422,6 +1422,7 @@ WARNING: Inexperienced users should never attempt to manually edit boot loader configurations.\n\nContinue? WARNING: Failed to validate the XML format of the Boot Loader configuration. Please check your modifications. Advanced Options + It is strongly recommended that you create a new VeraCrypt Rescue Disk (which will contain the new version of the VeraCrypt Boot Loader) by selecting 'System' > 'Create Rescue Disk'.\nDo you want to do it now? diff --git a/Translations/Language.sv.xml b/Translations/Language.sv.xml index e7475d15..87664290 100644 --- a/Translations/Language.sv.xml +++ b/Translations/Language.sv.xml @@ -1422,6 +1422,7 @@ WARNING: Inexperienced users should never attempt to manually edit boot loader configurations.\n\nContinue? WARNING: Failed to validate the XML format of the Boot Loader configuration. Please check your modifications. Advanced Options + It is strongly recommended that you create a new VeraCrypt Rescue Disk (which will contain the new version of the VeraCrypt Boot Loader) by selecting 'System' > 'Create Rescue Disk'.\nDo you want to do it now? diff --git a/Translations/Language.tr.xml b/Translations/Language.tr.xml index 735a10e4..3ba719b7 100644 --- a/Translations/Language.tr.xml +++ b/Translations/Language.tr.xml @@ -1422,6 +1422,7 @@ WARNING: Inexperienced users should never attempt to manually edit boot loader configurations.\n\nContinue? WARNING: Failed to validate the XML format of the Boot Loader configuration. Please check your modifications. Advanced Options + It is strongly recommended that you create a new VeraCrypt Rescue Disk (which will contain the new version of the VeraCrypt Boot Loader) by selecting 'System' > 'Create Rescue Disk'.\nDo you want to do it now? diff --git a/Translations/Language.uk.xml b/Translations/Language.uk.xml index 726ed4d6..dff70587 100644 --- a/Translations/Language.uk.xml +++ b/Translations/Language.uk.xml @@ -1422,6 +1422,7 @@ WARNING: Inexperienced users should never attempt to manually edit boot loader configurations.\n\nContinue? WARNING: Failed to validate the XML format of the Boot Loader configuration. Please check your modifications. Advanced Options + It is strongly recommended that you create a new VeraCrypt Rescue Disk (which will contain the new version of the VeraCrypt Boot Loader) by selecting 'System' > 'Create Rescue Disk'.\nDo you want to do it now? diff --git a/Translations/Language.uz.xml b/Translations/Language.uz.xml index 611cbc42..81c7af9f 100644 --- a/Translations/Language.uz.xml +++ b/Translations/Language.uz.xml @@ -1422,6 +1422,7 @@ WARNING: Inexperienced users should never attempt to manually edit boot loader configurations.\n\nContinue? WARNING: Failed to validate the XML format of the Boot Loader configuration. Please check your modifications. Advanced Options + It is strongly recommended that you create a new VeraCrypt Rescue Disk (which will contain the new version of the VeraCrypt Boot Loader) by selecting 'System' > 'Create Rescue Disk'.\nDo you want to do it now? diff --git a/Translations/Language.vi.xml b/Translations/Language.vi.xml index 83f2553d..ff21d6c9 100644 --- a/Translations/Language.vi.xml +++ b/Translations/Language.vi.xml @@ -1422,6 +1422,7 @@ WARNING: Inexperienced users should never attempt to manually edit boot loader configurations.\n\nContinue? WARNING: Failed to validate the XML format of the Boot Loader configuration. Please check your modifications. Advanced Options + It is strongly recommended that you create a new VeraCrypt Rescue Disk (which will contain the new version of the VeraCrypt Boot Loader) by selecting 'System' > 'Create Rescue Disk'.\nDo you want to do it now? diff --git a/Translations/Language.zh-cn.xml b/Translations/Language.zh-cn.xml index 4a86a82b..c7001594 100644 --- a/Translations/Language.zh-cn.xml +++ b/Translations/Language.zh-cn.xml @@ -1422,6 +1422,7 @@ WARNING: Inexperienced users should never attempt to manually edit boot loader configurations.\n\nContinue? WARNING: Failed to validate the XML format of the Boot Loader configuration. Please check your modifications. Advanced Options + It is strongly recommended that you create a new VeraCrypt Rescue Disk (which will contain the new version of the VeraCrypt Boot Loader) by selecting 'System' > 'Create Rescue Disk'.\nDo you want to do it now? diff --git a/Translations/Language.zh-hk.xml b/Translations/Language.zh-hk.xml index dd863c98..8635241f 100644 --- a/Translations/Language.zh-hk.xml +++ b/Translations/Language.zh-hk.xml @@ -1422,6 +1422,7 @@ WARNING: Inexperienced users should never attempt to manually edit boot loader configurations.\n\nContinue? WARNING: Failed to validate the XML format of the Boot Loader configuration. Please check your modifications. Advanced Options + It is strongly recommended that you create a new VeraCrypt Rescue Disk (which will contain the new version of the VeraCrypt Boot Loader) by selecting 'System' > 'Create Rescue Disk'.\nDo you want to do it now? diff --git a/Translations/Language.zh-tw.xml b/Translations/Language.zh-tw.xml index b5bfcc83..0e097f32 100644 --- a/Translations/Language.zh-tw.xml +++ b/Translations/Language.zh-tw.xml @@ -1422,6 +1422,7 @@ WARNING: Inexperienced users should never attempt to manually edit boot loader configurations.\n\nContinue? WARNING: Failed to validate the XML format of the Boot Loader configuration. Please check your modifications. Advanced Options + It is strongly recommended that you create a new VeraCrypt Rescue Disk (which will contain the new version of the VeraCrypt Boot Loader) by selecting 'System' > 'Create Rescue Disk'.\nDo you want to do it now? diff --git a/src/Common/Dlgcode.c b/src/Common/Dlgcode.c index 5dedcd7e..a5c5a293 100644 --- a/src/Common/Dlgcode.c +++ b/src/Common/Dlgcode.c @@ -2534,6 +2534,7 @@ void SavePostInstallTasksSettings (int command) case TC_POST_INSTALL_CFG_REMOVE_ALL: _wremove (GetConfigPath (TC_APPD_FILENAME_POST_INSTALL_TASK_TUTORIAL)); _wremove (GetConfigPath (TC_APPD_FILENAME_POST_INSTALL_TASK_RELEASE_NOTES)); + _wremove (GetConfigPath (TC_APPD_FILENAME_POST_INSTALL_TASK_RESCUE_DISK)); break; case TC_POST_INSTALL_CFG_TUTORIAL: @@ -2544,6 +2545,10 @@ void SavePostInstallTasksSettings (int command) f = _wfopen (GetConfigPath (TC_APPD_FILENAME_POST_INSTALL_TASK_RELEASE_NOTES), L"w"); break; + case TC_POST_INSTALL_CFG_RESCUE_DISK: + f = _wfopen (GetConfigPath (TC_APPD_FILENAME_POST_INSTALL_TASK_RESCUE_DISK), L"w"); + break; + default: return; } @@ -2584,6 +2589,14 @@ void DoPostInstallTasks (HWND hwndDlg) bDone = TRUE; } + if (FileExists (GetConfigPath (TC_APPD_FILENAME_POST_INSTALL_TASK_RESCUE_DISK))) + { + if (AskYesNo ("AFTER_UPGRADE_RESCUE_DISK", hwndDlg) == IDYES) + PostMessage (hwndDlg, VC_APPMSG_CREATE_RESCUE_DISK, 0, 0); + + bDone = TRUE; + } + if (bDone) SavePostInstallTasksSettings (TC_POST_INSTALL_CFG_REMOVE_ALL); } diff --git a/src/Common/Dlgcode.h b/src/Common/Dlgcode.h index d2db4ba4..a997bfa8 100644 --- a/src/Common/Dlgcode.h +++ b/src/Common/Dlgcode.h @@ -79,6 +79,7 @@ enum #define TC_APPD_FILENAME_NONSYS_INPLACE_ENC_WIPE L"In-Place Encryption Wipe Algo" #define TC_APPD_FILENAME_POST_INSTALL_TASK_TUTORIAL L"Post-Install Task - Tutorial" #define TC_APPD_FILENAME_POST_INSTALL_TASK_RELEASE_NOTES L"Post-Install Task - Release Notes" +#define TC_APPD_FILENAME_POST_INSTALL_TASK_RESCUE_DISK L"Post-Install Task - Rescue Disk" #define VC_FILENAME_RENAMED_SUFFIX L"_old" @@ -94,7 +95,8 @@ enum { TC_POST_INSTALL_CFG_REMOVE_ALL = 0, TC_POST_INSTALL_CFG_TUTORIAL, - TC_POST_INSTALL_CFG_RELEASE_NOTES + TC_POST_INSTALL_CFG_RELEASE_NOTES, + TC_POST_INSTALL_CFG_RESCUE_DISK, }; extern char *LastDialogId; @@ -178,6 +180,7 @@ enum tc_app_msg_ids TC_APPMSG_MOUNT_ENABLE_DISABLE_CONTROLS = WM_APP + 201, TC_APPMSG_MOUNT_SHOW_WINDOW = WM_APP + 202, TC_APPMSG_PREBOOT_PASSWORD_MODE = WM_APP + 203, + VC_APPMSG_CREATE_RESCUE_DISK = WM_APP + 204, // Format TC_APPMSG_VOL_TRANSFORM_THREAD_ENDED = WM_APP + 301, TC_APPMSG_FORMAT_FINISHED = WM_APP + 302, diff --git a/src/Common/Language.xml b/src/Common/Language.xml index ab348a82..4fc56d28 100644 --- a/src/Common/Language.xml +++ b/src/Common/Language.xml @@ -1422,6 +1422,7 @@ WARNING: Inexperienced users should never attempt to manually edit boot loader configurations.\n\nContinue? WARNING: Failed to validate the XML format of the Boot Loader configuration. Please check your modifications. Advanced Options + It is strongly recommended that you create a new VeraCrypt Rescue Disk (which will contain the new version of the VeraCrypt Boot Loader) by selecting 'System' > 'Create Rescue Disk'.\nDo you want to do it now? diff --git a/src/Mount/Mount.c b/src/Mount/Mount.c index 51a7c98a..b3773b1a 100644 --- a/src/Mount/Mount.c +++ b/src/Mount/Mount.c @@ -8531,6 +8531,10 @@ BOOL CALLBACK MainDialogProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPa ShowWindow (hwndDlg, SW_RESTORE); return 1; + case VC_APPMSG_CREATE_RESCUE_DISK: + CreateRescueDisk (hwndDlg); + return 1; + case WM_COPYDATA: { PCOPYDATASTRUCT cd = (PCOPYDATASTRUCT)lParam; diff --git a/src/Setup/Setup.c b/src/Setup/Setup.c index a3d14c65..3da3609d 100644 --- a/src/Setup/Setup.c +++ b/src/Setup/Setup.c @@ -59,6 +59,7 @@ BOOL bMakePackage = FALSE; BOOL bDone = FALSE; BOOL Rollback = FALSE; BOOL bUpgrade = FALSE; +BOOL bUpdateRescueDisk = FALSE; BOOL bDowngrade = FALSE; BOOL SystemEncryptionUpdate = FALSE; BOOL PortableMode = FALSE; @@ -1688,7 +1689,10 @@ BOOL UpgradeBootLoader (HWND hwndDlg) bootEnc.InstallBootLoader (true); if (bootEnc.GetInstalledBootLoaderVersion() <= TC_RESCUE_DISK_UPGRADE_NOTICE_MAX_VERSION) + { + bUpdateRescueDisk = TRUE; Info (IsHiddenOSRunning() ? "BOOT_LOADER_UPGRADE_OK_HIDDEN_OS" : "BOOT_LOADER_UPGRADE_OK", hwndDlg); + } } return TRUE; } @@ -2276,6 +2280,10 @@ void DoInstall (void *arg) if (bUpgrade) { SavePostInstallTasksSettings (TC_POST_INSTALL_CFG_RELEASE_NOTES); + if (bUpdateRescueDisk) + { + SavePostInstallTasksSettings (TC_POST_INSTALL_CFG_RESCUE_DISK); + } } else if (bPossiblyFirstTimeInstall) { diff --git a/src/Setup/Setup.h b/src/Setup/Setup.h index 07655060..b29ad14a 100644 --- a/src/Setup/Setup.h +++ b/src/Setup/Setup.h @@ -95,6 +95,7 @@ BOOL CALLBACK InstallDlgProc ( HWND hwndDlg , UINT msg , WPARAM wParam , LPARAM extern BOOL bDevm; extern BOOL Rollback; extern BOOL bUpgrade; +extern BOOL bUpdateRescueDisk; extern BOOL bPossiblyFirstTimeInstall; extern BOOL bRepairMode; extern BOOL bReinstallMode; -- cgit v1.2.3