mirror of
https://github.com/pbatard/rufus.git
synced 2024-08-14 23:57:05 +00:00
[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:
parent
8a09b9b9fc
commit
0b618f3de7
9 changed files with 25 additions and 22 deletions
|
@ -1,3 +1,2 @@
|
||||||
@echo off
|
@echo off
|
||||||
"C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64\signtool" sign /v /sha1 9ce9a71ccab3b38a74781b975f1c228222cf7d3b /fd SHA256 /tr http://sha256timestamp.ws.symantec.com/sha256/timestamp %1
|
"C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64\signtool" sign /v /sha1 9ce9a71ccab3b38a74781b975f1c228222cf7d3b /fd SHA256 /tr http://sha256timestamp.ws.symantec.com/sha256/timestamp %1
|
||||||
exit
|
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
<Identity
|
<Identity
|
||||||
Name="19453.net.Rufus"
|
Name="19453.net.Rufus"
|
||||||
Publisher="CN=7AC86D13-3E5A-491A-ADD5-80095C212740"
|
Publisher="CN=7AC86D13-3E5A-491A-ADD5-80095C212740"
|
||||||
Version="3.16.1836.0" />
|
Version="3.16.1837.0" />
|
||||||
|
|
||||||
<Properties>
|
<Properties>
|
||||||
<DisplayName>Rufus</DisplayName>
|
<DisplayName>Rufus</DisplayName>
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
<PackageLogoSource>..\icons\rufus-512.png</PackageLogoSource>
|
<PackageLogoSource>..\icons\rufus-512.png</PackageLogoSource>
|
||||||
<AppxShowAllApps>True</AppxShowAllApps>
|
<AppxShowAllApps>True</AppxShowAllApps>
|
||||||
<AppxBuildConfigurationSelection>x86|x64|arm|arm64</AppxBuildConfigurationSelection>
|
<AppxBuildConfigurationSelection>x86|x64|arm|arm64</AppxBuildConfigurationSelection>
|
||||||
<PackageOptionalProjectsInIdeBuilds>False</PackageOptionalProjectsInIdeBuilds>
|
<PackageOptionalProjectsInIdeBuilds>True</PackageOptionalProjectsInIdeBuilds>
|
||||||
<UapAppxPackageBuildMode>StoreOnly</UapAppxPackageBuildMode>
|
<UapAppxPackageBuildMode>StoreOnly</UapAppxPackageBuildMode>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'">
|
||||||
|
|
|
@ -7,8 +7,8 @@ Or simply download https://rufus-web.akeo.ie/locale/pollock.exe and follow its d
|
||||||
|
|
||||||
o v3.?? (????.??.??)
|
o v3.?? (????.??.??)
|
||||||
- *UPDATED* MSG_305 Reworked the message to mention the new Windows 11 Extended option
|
- *UPDATED* MSG_305 Reworked the message to mention the new Windows 11 Extended option
|
||||||
- *NEW* MSG_322 "Standard Windows 11 Installation (TPM 2.0, Secure Boot, 8GB+ RAM)"
|
- *NEW* MSG_322 "Standard Windows 11 Installation (TPM 2.0 + Secure Boot)"
|
||||||
- *NEW* MSG_323 "Extended Windows 11 Installation (no TPM/no Secure Boot/8GB- RAM)"
|
- *NEW* MSG_323 "Extended Windows 11 Installation (no TPM / no Secure Boot)"
|
||||||
- *NEW* MSG_324 "Removing Windows 11 installation restrictions: %s"
|
- *NEW* MSG_324 "Removing Windows 11 installation restrictions: %s"
|
||||||
|
|
||||||
o v3.14 (2021.03.31)
|
o v3.14 (2021.03.31)
|
||||||
|
|
|
@ -2,8 +2,8 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: 3.14\n"
|
"Project-Id-Version: 3.14\n"
|
||||||
"Report-Msgid-Bugs-To: pete@akeo.ie\n"
|
"Report-Msgid-Bugs-To: pete@akeo.ie\n"
|
||||||
"POT-Creation-Date: 2021-10-12 10:34+0100\n"
|
"POT-Creation-Date: 2021-10-15 12:59+0100\n"
|
||||||
"PO-Revision-Date: 2021-10-12 10:40+0100\n"
|
"PO-Revision-Date: 2021-10-15 13:07+0100\n"
|
||||||
"Language: fr_FR\n"
|
"Language: fr_FR\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
@ -1791,12 +1791,12 @@ msgstr ""
|
||||||
"A cause de cela, seule l’écriture en mode DD est applicable."
|
"A cause de cela, seule l’écriture en mode DD est applicable."
|
||||||
|
|
||||||
#. • MSG_322
|
#. • MSG_322
|
||||||
msgid "Standard Windows 11 Installation (TPM 2.0, Secure Boot, 8GB+ RAM)"
|
msgid "Standard Windows 11 Installation (TPM 2.0 + Secure Boot)"
|
||||||
msgstr "Installation standard de Windows 11 (TPM 2.0, Secure Boot, 8Go+ RAM)"
|
msgstr "Installation standard de Windows 11 (TPM 2.0 + Secure Boot)"
|
||||||
|
|
||||||
#. • MSG_323
|
#. • MSG_323
|
||||||
msgid "Extended Windows 11 Installation (no TPM/no Secure Boot/8GB- RAM)"
|
msgid "Extended Windows 11 Installation (no TPM / no Secure Boot)"
|
||||||
msgstr "Installation Windows 11 étendue (sans TPM/Secure Boot/8Go+ RAM)"
|
msgstr "Installation Windows 11 étendue (sans TPM / sans Secure Boot)"
|
||||||
|
|
||||||
#. • MSG_324
|
#. • MSG_324
|
||||||
msgid "Removing Windows 11 installation restrictions: %s"
|
msgid "Removing Windows 11 installation restrictions: %s"
|
||||||
|
|
|
@ -584,8 +584,8 @@ t MSG_319 "Ignore Boot Marker"
|
||||||
t MSG_320 "Refreshing partition layout (%s)..."
|
t MSG_320 "Refreshing partition layout (%s)..."
|
||||||
t MSG_321 "The image you have selected is an ISOHybrid, but its creators have not made it compatible with ISO/File "
|
t MSG_321 "The image you have selected is an ISOHybrid, but its creators have not made it compatible with ISO/File "
|
||||||
"copy mode.\nAs a result, DD image writing mode will be enforced."
|
"copy mode.\nAs a result, DD image writing mode will be enforced."
|
||||||
t MSG_322 "Standard Windows 11 Installation (TPM 2.0, Secure Boot, 8GB+ RAM)"
|
t MSG_322 "Standard Windows 11 Installation (TPM 2.0 + Secure Boot)"
|
||||||
t MSG_323 "Extended Windows 11 Installation (no TPM/no Secure Boot/8GB- RAM)"
|
t MSG_323 "Extended Windows 11 Installation (no TPM / no Secure Boot)"
|
||||||
t MSG_324 "Removing Windows 11 installation restrictions: %s"
|
t MSG_324 "Removing Windows 11 installation restrictions: %s"
|
||||||
|
|
||||||
#########################################################################
|
#########################################################################
|
||||||
|
@ -4294,8 +4294,8 @@ t MSG_318 "Priorité de thread part default : %d"
|
||||||
t MSG_319 "Ignorer le marqueur de démarrage"
|
t MSG_319 "Ignorer le marqueur de démarrage"
|
||||||
t MSG_320 "Rafraichissement du schéma de partition (%s)..."
|
t MSG_320 "Rafraichissement du schéma de partition (%s)..."
|
||||||
t MSG_321 "L’image que vous avez sélectionnée est de type ISOHybrid, mais ses créateurs ne l’ont pas rendue compatible avec le mode ISO (i.e. copie de fichier).\nA cause de cela, seule l’écriture en mode DD est applicable."
|
t MSG_321 "L’image que vous avez sélectionnée est de type ISOHybrid, mais ses créateurs ne l’ont pas rendue compatible avec le mode ISO (i.e. copie de fichier).\nA cause de cela, seule l’écriture en mode DD est applicable."
|
||||||
t MSG_322 "Installation standard de Windows 11 (TPM 2.0, Secure Boot, 8Go+ RAM)"
|
t MSG_322 "Installation standard de Windows 11 (TPM 2.0 + Secure Boot)"
|
||||||
t MSG_323 "Installation Windows 11 étendue (sans TPM/Secure Boot/8Go+ RAM)"
|
t MSG_323 "Installation Windows 11 étendue (sans TPM / sans Secure Boot)"
|
||||||
t MSG_324 "Elimination des restrictions d’installation de Windows 11: %s"
|
t MSG_324 "Elimination des restrictions d’installation de Windows 11: %s"
|
||||||
|
|
||||||
#########################################################################
|
#########################################################################
|
||||||
|
|
|
@ -1442,7 +1442,7 @@ BOOL RemoveWindows11Restrictions(char drive_letter)
|
||||||
int i;
|
int i;
|
||||||
const int wim_index = 2;
|
const int wim_index = 2;
|
||||||
const char* offline_hive_name = "RUFUS_OFFLINE_HIVE";
|
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 boot_wim_path[] = "#:\\sources\\boot.wim", key_path[64];
|
||||||
char* mount_path = NULL;
|
char* mount_path = NULL;
|
||||||
char path[MAX_PATH];
|
char path[MAX_PATH];
|
||||||
|
|
10
src/rufus.rc
10
src/rufus.rc
|
@ -33,7 +33,7 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
|
||||||
IDD_DIALOG DIALOGEX 12, 12, 232, 326
|
IDD_DIALOG DIALOGEX 12, 12, 232, 326
|
||||||
STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||||
EXSTYLE WS_EX_ACCEPTFILES
|
EXSTYLE WS_EX_ACCEPTFILES
|
||||||
CAPTION "Rufus 3.16.1836"
|
CAPTION "Rufus 3.16.1837"
|
||||||
FONT 9, "Segoe UI Symbol", 400, 0, 0x0
|
FONT 9, "Segoe UI Symbol", 400, 0, 0x0
|
||||||
BEGIN
|
BEGIN
|
||||||
LTEXT "Drive Properties",IDS_DRIVE_PROPERTIES_TXT,8,6,53,12,NOT WS_GROUP
|
LTEXT "Drive Properties",IDS_DRIVE_PROPERTIES_TXT,8,6,53,12,NOT WS_GROUP
|
||||||
|
@ -395,8 +395,8 @@ END
|
||||||
//
|
//
|
||||||
|
|
||||||
VS_VERSION_INFO VERSIONINFO
|
VS_VERSION_INFO VERSIONINFO
|
||||||
FILEVERSION 3,16,1836,0
|
FILEVERSION 3,16,1837,0
|
||||||
PRODUCTVERSION 3,16,1836,0
|
PRODUCTVERSION 3,16,1837,0
|
||||||
FILEFLAGSMASK 0x3fL
|
FILEFLAGSMASK 0x3fL
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
FILEFLAGS 0x1L
|
FILEFLAGS 0x1L
|
||||||
|
@ -414,13 +414,13 @@ BEGIN
|
||||||
VALUE "Comments", "https://rufus.ie"
|
VALUE "Comments", "https://rufus.ie"
|
||||||
VALUE "CompanyName", "Akeo Consulting"
|
VALUE "CompanyName", "Akeo Consulting"
|
||||||
VALUE "FileDescription", "Rufus"
|
VALUE "FileDescription", "Rufus"
|
||||||
VALUE "FileVersion", "3.16.1836"
|
VALUE "FileVersion", "3.16.1837"
|
||||||
VALUE "InternalName", "Rufus"
|
VALUE "InternalName", "Rufus"
|
||||||
VALUE "LegalCopyright", "© 2011-2021 Pete Batard (GPL v3)"
|
VALUE "LegalCopyright", "© 2011-2021 Pete Batard (GPL v3)"
|
||||||
VALUE "LegalTrademarks", "https://www.gnu.org/licenses/gpl-3.0.html"
|
VALUE "LegalTrademarks", "https://www.gnu.org/licenses/gpl-3.0.html"
|
||||||
VALUE "OriginalFilename", "rufus-3.16.exe"
|
VALUE "OriginalFilename", "rufus-3.16.exe"
|
||||||
VALUE "ProductName", "Rufus"
|
VALUE "ProductName", "Rufus"
|
||||||
VALUE "ProductVersion", "3.16.1836"
|
VALUE "ProductVersion", "3.16.1837"
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
BLOCK "VarFileInfo"
|
BLOCK "VarFileInfo"
|
||||||
|
|
|
@ -242,6 +242,8 @@ int GetCpuArch(void)
|
||||||
|
|
||||||
static const char* GetEdition(DWORD ProductType)
|
static const char* GetEdition(DWORD ProductType)
|
||||||
{
|
{
|
||||||
|
static char unknown_edition_str[64];
|
||||||
|
|
||||||
// From: https://docs.microsoft.com/en-us/windows/win32/api/sysinfoapi/nf-sysinfoapi-getproductinfo
|
// From: https://docs.microsoft.com/en-us/windows/win32/api/sysinfoapi/nf-sysinfoapi-getproductinfo
|
||||||
// These values can be found in the winnt.h header.
|
// These values can be found in the winnt.h header.
|
||||||
switch (ProductType) {
|
switch (ProductType) {
|
||||||
|
@ -307,7 +309,9 @@ static const char* GetEdition(DWORD ProductType)
|
||||||
case 0x000000B8: return "Cloud E N";
|
case 0x000000B8: return "Cloud E N";
|
||||||
case 0x000000BD: return "Lite";
|
case 0x000000BD: return "Lite";
|
||||||
case 0xABCDABCD: return "(Unlicensed)";
|
case 0xABCDABCD: return "(Unlicensed)";
|
||||||
default: return "(Unknown Edition)";
|
default:
|
||||||
|
static_sprintf(unknown_edition_str, "(Unknown Edition 0x%02X)", ProductType);
|
||||||
|
return unknown_edition_str;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue