Package: debian-cd Severity: wishlist Tags: patch As of 0.6.0~pre3, win32-loader checks for README.html when running. If found, it will:
- Minimize itself. - Open README.html with the system's default browser. Asides from the ability to continue installation using it, this makes two improvements in how README.html itself is handled: - No ugly DOS window. - Allows for l10n (if README.$lang.html is found it'll take preference, where $lang is an iso-639 code). I think this makes it suitable for being run by autorun.inf directly. See attached patch. -- System Information: Debian Release: lenny/sid APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-5-amd64 Locale: LANG=ca_AD.UTF-8, LC_CTYPE=ca_AD.UTF-8 (charmap=UTF-8)
Index: tools/boot/lenny/boot-x86 =================================================================== --- tools/boot/lenny/boot-x86 (revision 1462) +++ tools/boot/lenny/boot-x86 (working copy) @@ -253,10 +253,16 @@ fi fi -# Add autorun if we have README.html -if [ -f $CDDIR/README.html ]; then +# Add autorun +if [ -f $CDDIR/setup.exe ]; then +# when win32-loader is present, use that (it already checks for README.html) todos > $CDDIR/autorun.inf <<EOF [autorun] +open=setup.exe +EOF +elif [ -f $CDDIR/README.html ]; then + todos > $CDDIR/autorun.inf <<EOF +[autorun] open=autorun.bat EOF todos > $CDDIR/autorun.bat <<EOF