diff --git a/src/rufus.c b/src/rufus.c index 87fba22d881..276a724d078 100644 --- a/src/rufus.c +++ b/src/rufus.c @@ -946,48 +946,40 @@ static void CALLBACK BlockingTimer(HWND hWnd, UINT uMsg, UINT_PTR idEvent, DWORD } // Report the features of the selected ISO images -static const char* YesNo(BOOL b) { - return (b) ? "Yes" : "No"; -} +#define PRINT_ISO_PROP(b, ...) do {if (b) uprintf(__VA_ARGS__);} while(0) static void DisplayISOProps(void) { int i; - char isolinux_str[16] = "No"; - - if (HAS_SYSLINUX(img_report)) { - safe_sprintf(isolinux_str, sizeof(isolinux_str), "Yes (%s)", img_report.sl_version_str); - } - // TODO: Only report features that are present uprintf("ISO label: '%s'", img_report.label); uprintf(" Size: %" PRIu64 " bytes", img_report.projected_size); - uprintf(" Has a >64 chars filename: %s", YesNo(img_report.has_long_filename)); - uprintf(" Has Symlinks: %s", YesNo(img_report.has_symlinks)); - uprintf(" Has a >4GB file: %s", YesNo(img_report.has_4GB_file)); - uprintf(" Uses Bootmgr: %s", YesNo(img_report.has_bootmgr)); - uprintf(" Uses EFI: %s%s", YesNo(img_report.has_efi), IS_WIN7_EFI(img_report) ? " (win7_x64)" : ""); - uprintf(" Uses Grub 2: %s", YesNo(img_report.has_grub2)); - uprintf(" Uses Grub4DOS: %s", YesNo(img_report.has_grub4dos)); - uprintf(" Uses isolinux: %s", isolinux_str); + PRINT_ISO_PROP(img_report.has_4GB_file, " Has a >4GB file"); + PRINT_ISO_PROP(img_report.has_long_filename, " Has a >64 chars filename"); + PRINT_ISO_PROP(HAS_SYSLINUX(img_report), " Uses: Syslinux/Isolinux v%s", img_report.sl_version_str); if (HAS_SYSLINUX(img_report) && (SL_MAJOR(img_report.sl_version) < 5)) { for (i = 0; i> 24) & 0xff, + uprintf(" Uses: Install.wim (version %d.%d.%d)", (img_report.install_wim_version >> 24) & 0xff, (img_report.install_wim_version >> 16) & 0xff, (img_report.install_wim_version >> 8) & 0xff); // Microsoft somehow managed to make their ESD WIMs incompatible with their own APIs // (yes, EVEN the Windows 10 APIs), so we must filter them out... if (img_report.install_wim_version >= MAX_WIM_VERSION) uprintf(" Note: This WIM version is NOT compatible with Windows To Go"); } + PRINT_ISO_PROP(img_report.has_symlinks, " Note: This ISO uses symbolic links, which will not be replicated due to file system limitations."); + PRINT_ISO_PROP(img_report.has_symlinks, " Because of this, some features from this image may not work..."); - // We don't support ToGo on Windows 7 or earlier, for lack of ISO mount capabilities - // TODO: add install.wim extraction workaround for Windows 7 + // We don't support ToGo on Windows 7 or earlier, for lack of native ISO mounting capabilities if (nWindowsVersion >= WINDOWS_8) if ( ((!togo_mode) && (HAS_TOGO(img_report))) || ((togo_mode) && (!HAS_TOGO(img_report))) ) ToggleToGo(); diff --git a/src/rufus.rc b/src/rufus.rc index fcbc1936aab..b98ef8da7b8 100644 --- a/src/rufus.rc +++ b/src/rufus.rc @@ -33,7 +33,7 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL IDD_DIALOG DIALOGEX 12, 12, 242, 376 STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_ACCEPTFILES -CAPTION "Rufus 2.8.862" +CAPTION "Rufus 2.8.863" FONT 8, "Segoe UI Symbol", 400, 0, 0x0 BEGIN LTEXT "Device",IDS_DEVICE_TXT,9,6,200,8 @@ -320,8 +320,8 @@ END // VS_VERSION_INFO VERSIONINFO - FILEVERSION 2,8,862,0 - PRODUCTVERSION 2,8,862,0 + FILEVERSION 2,8,863,0 + PRODUCTVERSION 2,8,863,0 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x1L @@ -338,13 +338,13 @@ BEGIN BEGIN VALUE "CompanyName", "Akeo Consulting (http://akeo.ie)" VALUE "FileDescription", "Rufus" - VALUE "FileVersion", "2.8.862" + VALUE "FileVersion", "2.8.863" VALUE "InternalName", "Rufus" VALUE "LegalCopyright", "© 2011-2016 Pete Batard (GPL v3)" VALUE "LegalTrademarks", "http://www.gnu.org/copyleft/gpl.html" VALUE "OriginalFilename", "rufus.exe" VALUE "ProductName", "Rufus" - VALUE "ProductVersion", "2.8.862" + VALUE "ProductVersion", "2.8.863" END END BLOCK "VarFileInfo"