diff --git a/src/install.sh b/src/install.sh index fce3baf..7ed9970 100644 --- a/src/install.sh +++ b/src/install.sh @@ -490,13 +490,13 @@ detectImage() { [ ! -f "$loc" ] && loc="$dir/sources/install.esd" if [ ! -f "$loc" ]; then - + if [ -f "$dir/WIN51" ] || [ -f "$dir/SETUPXP.HTM" ]; then DETECTED="winxpx86" info "Detected: Windows XP" return 0 fi - + warn "failed to locate 'install.wim' or 'install.esd' in ISO image, $FB" BOOT_MODE="windows_legacy" return 1