[misc] misc improvements and fixes

* Remove BypassRAMCheck from Extended Windows 11 installation since the minimum
  RAM requirements for Windows 11 are 4 GB and not 8 GB as pointed out in #1791.
* Display Windows edition code when we can't resolve it.
* VS2019 wants us to have PackageOptionalProjectsInIdeBuilds enabled? So be it.
This commit is contained in:
Pete Batard 2021-10-15 13:13:36 +01:00
parent 8a09b9b9fc
commit 0b618f3de7
No known key found for this signature in database
GPG key ID: 38E0CF5E69EDD671
9 changed files with 25 additions and 22 deletions

View file

@ -1442,7 +1442,7 @@ BOOL RemoveWindows11Restrictions(char drive_letter)
int i;
const int wim_index = 2;
const char* offline_hive_name = "RUFUS_OFFLINE_HIVE";
const char* key_name[] = { "BypassTPMCheck", "BypassSecureBootCheck", "BypassRAMCheck" };
const char* key_name[] = { "BypassTPMCheck", "BypassSecureBootCheck" };
char boot_wim_path[] = "#:\\sources\\boot.wim", key_path[64];
char* mount_path = NULL;
char path[MAX_PATH];