1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 19:08:26 -06:00

Windows Setup: Warn about Fast Startup during install if it is enabled and propose to disable it at the end of the installation.

This commit is contained in:
Mounir IDRASSI
2020-07-21 12:14:31 +02:00
parent f9782fb3f6
commit 290412afce
4 changed files with 21 additions and 0 deletions

View File

@@ -2362,6 +2362,15 @@ void DoInstall (void *arg)
if (bOK && !bUninstall && !bDowngrade && !bRepairMode && !bDevm)
{
BOOL bHibernateEnabled = FALSE, bHiberbootEnabled = FALSE;
if (GetHibernateStatus (bHibernateEnabled, bHiberbootEnabled))
{
if (bHiberbootEnabled)
{
bPromptFastStartup = TRUE;
}
}
if (!IsHiddenOSRunning()) // A hidden OS user should not see the post-install notes twice (on decoy OS and then on hidden OS).
{
if (bRestartRequired || SystemEncryptionUpdate)