Skip to content

Commit e128727

Browse files
committed
[wue] fix WUE dialog not being presented on WIMs with a single image
* As opposed to what we used with the old parser, ezxml's indexes now start at 0 rather than 1. * Closes #2754. * Also set rufus-next to 4.9.
1 parent d06b729 commit e128727

File tree

5 files changed

+20
-20
lines changed

5 files changed

+20
-20
lines changed

ChangeLog.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ o Version 4.8 (2025.06.11)
99
Improve reporting of UEFI bootloaders in the log, with info on the Secure Boot status
1010
Fix an issue with size limitations when writing an uncompressed VHD back to the same drive
1111
Fix a crash when opening the log with the 32-bit MinGW compiled version
12-
Fix commandline parameters not being forwared to original Windows setup.exe
12+
Fix commandline parameters not being forwarded to original Windows setup.exe
1313

1414
o Version 4.7 (2025.04.09)
1515
Add a mechanism to detect and download updated DBXs from the official UEFI repository

configure

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#! /bin/sh
22
# Guess values for system-dependent variables and create Makefiles.
3-
# Generated by GNU Autoconf 2.71 for rufus 4.8.
3+
# Generated by GNU Autoconf 2.71 for rufus 4.9.
44
#
55
# Report bugs to <https://github.com/pbatard/rufus/issues>.
66
#
@@ -611,8 +611,8 @@ MAKEFLAGS=
611611
# Identity of this package.
612612
PACKAGE_NAME='rufus'
613613
PACKAGE_TARNAME='rufus'
614-
PACKAGE_VERSION='4.8'
615-
PACKAGE_STRING='rufus 4.8'
614+
PACKAGE_VERSION='4.9'
615+
PACKAGE_STRING='rufus 4.9'
616616
PACKAGE_BUGREPORT='https://github.com/pbatard/rufus/issues'
617617
PACKAGE_URL='https://rufus.ie'
618618

@@ -1269,7 +1269,7 @@ if test "$ac_init_help" = "long"; then
12691269
# Omit some internal or obsolete options to make the list less imposing.
12701270
# This message is too long to be a string in the A/UX 3.1 sh.
12711271
cat <<_ACEOF
1272-
\`configure' configures rufus 4.8 to adapt to many kinds of systems.
1272+
\`configure' configures rufus 4.9 to adapt to many kinds of systems.
12731273
12741274
Usage: $0 [OPTION]... [VAR=VALUE]...
12751275
@@ -1336,7 +1336,7 @@ fi
13361336

13371337
if test -n "$ac_init_help"; then
13381338
case $ac_init_help in
1339-
short | recursive ) echo "Configuration of rufus 4.8:";;
1339+
short | recursive ) echo "Configuration of rufus 4.9:";;
13401340
esac
13411341
cat <<\_ACEOF
13421342
@@ -1428,7 +1428,7 @@ fi
14281428
test -n "$ac_init_help" && exit $ac_status
14291429
if $ac_init_version; then
14301430
cat <<\_ACEOF
1431-
rufus configure 4.8
1431+
rufus configure 4.9
14321432
generated by GNU Autoconf 2.71
14331433
14341434
Copyright (C) 2021 Free Software Foundation, Inc.
@@ -1504,7 +1504,7 @@ cat >config.log <<_ACEOF
15041504
This file contains any messages produced by compilers while
15051505
running configure, to aid debugging if configure makes a mistake.
15061506
1507-
It was created by rufus $as_me 4.8, which was
1507+
It was created by rufus $as_me 4.9, which was
15081508
generated by GNU Autoconf 2.71. Invocation command line was
15091509
15101510
$ $0$ac_configure_args_raw
@@ -2767,7 +2767,7 @@ fi
27672767
27682768
# Define the identity of the package.
27692769
PACKAGE='rufus'
2770-
VERSION='4.8'
2770+
VERSION='4.9'
27712771
27722772
27732773
printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
@@ -5313,7 +5313,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
53135313
# report actual input values of CONFIG_FILES etc. instead of their
53145314
# values after options handling.
53155315
ac_log="
5316-
This file was extended by rufus $as_me 4.8, which was
5316+
This file was extended by rufus $as_me 4.9, which was
53175317
generated by GNU Autoconf 2.71. Invocation command line was
53185318
53195319
CONFIG_FILES = $CONFIG_FILES
@@ -5369,7 +5369,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\
53695369
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
53705370
ac_cs_config='$ac_cs_config_escaped'
53715371
ac_cs_version="\\
5372-
rufus config.status 4.8
5372+
rufus config.status 4.9
53735373
configured by $0, generated by GNU Autoconf 2.71,
53745374
with options \\"\$ac_cs_config\\"
53755375

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
AC_INIT([rufus], [4.8], [https://github.com/pbatard/rufus/issues], [rufus], [https://rufus.ie])
1+
AC_INIT([rufus], [4.9], [https://github.com/pbatard/rufus/issues], [rufus], [https://rufus.ie])
22
AM_INIT_AUTOMAKE([-Wno-portability foreign no-dist no-dependencies])
33
AC_CONFIG_SRCDIR([src/rufus.c])
44
AC_CONFIG_MACRO_DIR([m4])

src/rufus.rc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
3333
IDD_DIALOG DIALOGEX 12, 12, 232, 326
3434
STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU
3535
EXSTYLE WS_EX_ACCEPTFILES
36-
CAPTION "Rufus 4.8.2253"
36+
CAPTION "Rufus 4.9.2254"
3737
FONT 9, "Segoe UI Symbol", 400, 0, 0x0
3838
BEGIN
3939
LTEXT "Drive Properties",IDS_DRIVE_PROPERTIES_TXT,8,6,53,12,NOT WS_GROUP
@@ -407,8 +407,8 @@ END
407407
//
408408

409409
VS_VERSION_INFO VERSIONINFO
410-
FILEVERSION 4,8,2253,0
411-
PRODUCTVERSION 4,8,2253,0
410+
FILEVERSION 4,9,2254,0
411+
PRODUCTVERSION 4,9,2254,0
412412
FILEFLAGSMASK 0x3fL
413413
#ifdef _DEBUG
414414
FILEFLAGS 0x1L
@@ -426,13 +426,13 @@ BEGIN
426426
VALUE "Comments", "https://rufus.ie"
427427
VALUE "CompanyName", "Akeo Consulting"
428428
VALUE "FileDescription", "Rufus"
429-
VALUE "FileVersion", "4.8.2253"
429+
VALUE "FileVersion", "4.9.2254"
430430
VALUE "InternalName", "Rufus"
431431
VALUE "LegalCopyright", "� 2011-2025 Pete Batard (GPL v3)"
432432
VALUE "LegalTrademarks", "https://www.gnu.org/licenses/gpl-3.0.html"
433-
VALUE "OriginalFilename", "rufus-4.8.exe"
433+
VALUE "OriginalFilename", "rufus-4.9.exe"
434434
VALUE "ProductName", "Rufus"
435-
VALUE "ProductVersion", "4.8.2253"
435+
VALUE "ProductVersion", "4.9.2254"
436436
END
437437
END
438438
BLOCK "VarFileInfo"

src/wue.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ BOOL PopulateWindowsVersion(void)
500500
goto out;
501501
}
502502

503-
PopulateWindowsVersionFromXml(xml, xml_len, 1);
503+
PopulateWindowsVersionFromXml(xml, xml_len, 0);
504504

505505
out:
506506
free(xml);
@@ -621,7 +621,7 @@ int SetWinToGoIndex(void)
621621
wintogo_index = atoi(version_index.String[i - 1]);
622622
if (i > 0) {
623623
// re-populate the version data from the selected XML index
624-
PopulateWindowsVersionFromXml(xml, xml_len, i);
624+
PopulateWindowsVersionFromXml(xml, xml_len, i - 1);
625625
// If we couldn't obtain the major and build, we have a problem
626626
if (img_report.win_version.major == 0 || img_report.win_version.build == 0)
627627
uprintf("Warning: Could not obtain version information from XML index (Nonstandard Windows image?)");

0 commit comments

Comments
 (0)