diff --git a/src/Common/Dlgcode.c b/src/Common/Dlgcode.c index a81dc984..d9bb776e 100644 --- a/src/Common/Dlgcode.c +++ b/src/Common/Dlgcode.c @@ -11223,8 +11223,14 @@ void Applink (const char *dest) if (buildUrl) { + // in case of setup, always open the online documentation because existing documentation may be outdated +#ifdef SETUP + StringCbPrintfW (url, sizeof (url), L"https://www.veracrypt.fr/en/%s", page); + buildUrl = FALSE; +#else StringCbPrintfW (url, sizeof (url), L"file:///%sdocs/html/en/%s", installDir, page); CorrectURL (url); +#endif } if (IsAdmin ()) diff --git a/src/Setup/Wizard.c b/src/Setup/Wizard.c index 66e24571..3dcb138e 100644 --- a/src/Setup/Wizard.c +++ b/src/Setup/Wizard.c @@ -702,7 +702,7 @@ BOOL CALLBACK PageDialogProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPa return 1; case IDC_DISABLE_MEMORY_PROTECTION_HELP: - Applink("memoryprotection") + Applink("memoryprotection"); return 1; case IDC_FILE_TYPE: