#
# Copyright (C) 2017 FAUmachine Team <info@faumachine.org>.
# This program is free software. You can redistribute it and/or modify it
# under the terms of the GNU General Public License, either version 2 of
# the License, or (at your option) any later version. See COPYING.
#

#
# Insert FreeDOS-1.0-CD
#
cdrom_insert	FreeDOS-1.0-CD
#
# Power-on machine.
#
power_on
#
# Wait for "Continue to boot FreeDOS from CD-ROM".
# Type <Return>.
#
wait_asc	Continue to boot FreeDOS from CD-ROM		20min
delay								10sec
type		"\0d"
#
# Wait for "FreeDOS 1.0 Final (2006-July-30) INSTALLATION/LIVE CD".
# Type <Return>.
#
wait_asc	FreeDOS 1.0 Final (2006-July-30) INSTALLATION/LIVE CD	20min
type		"\0d"
#
# Wait for "Please select your language and keyboard layout".
# Use pre-selected "English".
# Type <Return>.
#
wait_asc	Please select your language and keyboard layout		20min
type		"\0d"
#
# Wait for "FreeDOS 1.0 Final Distribution".
# Use pre-selected "Prepare the harddisk for FreeDOS 1.0 Final by running XFdisk".
# Type <Return>.
#
wait_asc	Prepare the harddisk for FreeDOS 1.0 Final by running XFdisk	20min
type		"\0d"
#
# Wait for "eXtended FDisk I Version 0.9.3 Beta EN".
# Wait for "XFDisk Options".
# Wait for "XFDisk uses the following options from its INI file".
# Wait for "and command line parameters:".
# Wait for "- Monochrome".
# Wait for "- Hide primary partitions from each other".
# Wait for "OK".
# Type <Return>.
#
wait_asc	eXtended FDisk I Version 0.9.3 Beta EN			20min
wait_asc	XFDisk Options						10sec
wait_asc	XFDisk uses the following options from its INI file	10sec
wait_asc	and command line parameters:				10sec
wait_asc	- Monochrome						10sec
wait_asc	- Hide primary partitions from each other		10sec
wait_asc	OK							10sec
type		"\0d"
#
# Wait for "eXtended FDisk I Version 0.9.3 Beta EN".
# Wait for "Harddisk 1".
# Wait for "FREE ... PRI/LOG ... 256MB ... N/A ... N/A".
# Wait for "F1 Help  ENTER Options  TAB Change Disk ... F3 Quit".
# Type <Return>.
#
# wait_asc	eXtended FDisk I Version 0.9.3 Beta EN		20min
wait_asc	Harddisk 1					20min
wait_asc	FREE						20min
wait_asc	PRI/LOG						10sec
wait_asc	256MB						10sec
wait_asc	N/A						10sec
wait_asc	N/A						10sec
wait_asc	F1 Help  ENTER Options  TAB Change Disk		10sec
wait_asc	F3 Quit						10sec
type		"\0d"
#
# Wait for "eXtended FDisk I Version 0.9.3 Beta EN".
# Wait for "Harddisk 1".
# Wait for "Options".
# Wait for "New Partition".
# Wait for "Install Bootmanager".
# Wait for "Load Configuration...".
# Wait for "Save Configuration...".
# Use pre-selected "New Partition".
# Type <Return>.
#
# wait_asc	eXtended FDisk I Version 0.9.3 Beta EN		20min
# wait_asc	Harddisk 1					10sec
wait_asc	Options						20min
wait_asc	New Partition					10sec
wait_asc	Install Bootmanager				10sec
wait_asc	Load Configuration				10sec
wait_asc	Save Configuration				10sec
type		"\0d"
#
# Wait for "eXtended FDisk I Version 0.9.3 Beta EN".
# Wait for "Harddisk 1".
# Wait for "Options".
# Wait for "New Partition".
# Wait for "Primary Partition...".
# Wait for "Logical Drive...".
# Use pre-selected "Primary Partition".
# Type <Return>.
#
# wait_asc	eXtended FDisk I Version 0.9.3 Beta EN		20min
# wait_asc	Harddisk 1					10sec
# wait_asc	Options						10sec
# wait_asc	New Partition					10sec
wait_asc	Primary Partition...				20min
wait_asc	Logical Drive...				10sec
type		"\0d"
#
# Wait for "Partition Size".
# Wait for "Please enter the new Partition Size.".
# Wait for "(1..256 MB):".
# Wait for "256".
# Use pre-selected "256".
# Type <Return>.
#
wait_asc	Partition Size					20min
wait_asc	Please enter the new Partition Size.		10sec
wait_asc	(1..256 MB):					10sec
wait_asc	256						10sec
type		"\0d"
#
# Wait for "[?] Q U E R Y".
# Wait for "Do you want to initialize the Partition Area".
# Wait for "(necessary for formating with DOS/WINDOWS, all".
# Wait for "existing data on this partition will be lost) ?".
# Wait for "YES ... NO ... CANCEL".
# Use pre-selected "YES".
# Type <Return>.
#
wait_asc	[?] Q U E R Y					20min
wait_asc	Do you want to initialize the Partition Area	10sec
wait_asc	(necessary for formating with DOS/WINDOWS, all	10sec
wait_asc	existing data on this partition will be lost) ?	10sec
wait_asc	YES						10sec
wait_asc	NO						10sec
wait_asc	CANCEL						10sec
type		"\0d"
#
# Wait for "[?] Q U E R Y".
# Wait for "Do you want to initialize the whole Partition".
# Wait for "Area (complete Partition Area will be erased) ?".
# Wait for "YES ... NO ... CANCEL".
# Select "YES".
# Type <Return>.
#
# wait_asc	[?] Q U E R Y					20min
wait_asc	Do you want to initialize the whole Partition	20min
wait_asc	Area (complete Partition Area will be erased) ?	10sec
wait_asc	YES						10sec
wait_asc	NO						10sec
wait_asc	CANCEL						10sec
type		"\09"
type		"\09"
type		"\0d"
#
# Wait for "C: ... ACTIVE ... PRIMARY ... 256MB ... FAT16 ... INT13X".
# Type <F3>.
#
wait_asc	C:				20min
wait_asc	ACTIVE				10sec
wait_asc	PRIMARY				10sec
wait_asc	256MB				10sec
wait_asc	FAT16				10sec
wait_asc	INT13X				10sec
type		"\12"
#
# Wait for "Write Partition Table".
# Wait for "[?] Q U E R Y".
# Wait for "Do you want to write the Partition Table of".
# Wait for "hard disk 1 now?".
# Wait for "YES ... NO ... CANCEL".
# Select "YES".
# Type <Return>.
#
wait_asc	Write Partition Table				20min
wait_asc	[?] Q U E R Y					10sec
wait_asc	Do you want to write the Partition Table of	10sec
wait_asc	hard disk 1 now?				10sec
wait_asc	YES						10sec
wait_asc	NO						10sec
wait_asc	CANCEL						10sec
type		"\09"
type		"\09"
type		"\0d"
#
# Intermediate steps.
#
#
# Wait for "Restart Computer".
# Wait for "[?] Q U E R Y".
# Wait for "To make the changes active, the computer needs to be".
# Wait for "restarted. Do you want to restart now?".
# Wait for "YES ... NO".
# Use pre-selected "YES".
# Type <Return>.
#
wait_asc	Restart Computer					20min
wait_asc	[?] Q U E R Y						10sec
wait_asc	To make the changes active, the computer needs to be	10sec
wait_asc	restarted. Do you want to restart now?			10sec
wait_asc	YES							10sec
wait_asc	NO							10sec
type		"\0d"
#
# Wait for "Continue to boot FreeDOS from CD-ROM".
# Type <Return>.
#
wait_asc	Continue to boot FreeDOS from CD-ROM		20min
type		"\0d"
#
# Wait for "FreeDOS 1.0 Final (2006-July-30) INSTALLATION/LIVE CD".
# Type <Return>.
#
wait_asc	FreeDOS 1.0 Final (2006-July-30) INSTALLATION/LIVE CD	20min
type		"\0d"
#
# Wait for "Please select your language and keyboard layout".
# Use pre-selected "English".
# Type <Return>.
#
wait_asc	Please select your language and keyboard layout		20min
type		"\0d"
#
# Wait for "FreeDOS SETUP has determined that you need to format".
# Wait for "...".
# Wait for "Are you sure you want to do this?".
# Wait for "Yes".
# Wait for "No (return to command prompt)".
# Use pre-selected "Yes".
# Type <Return>.
#
wait_asc	FreeDOS SETUP has determined that you need to format	20min
# wait_asc	...
wait_asc	Are you sure you want to do this?			10sec
wait_asc	Yes							10sec
wait_asc	No (return to command prompt)				10sec
type		"\0d"
#
# Wait for "WARNING: ALL DATA ON NON-REMOVALBE DISK".
# Wait for "DRIVE C: WILL BE LOST! PLEASE CONFIRM!".
# Wait for "Proceed with format (YES/NO)?".
# Type
#
wait_asc	WARNING: ALL DATA ON NON-REMOVABLE DISK		20min
wait_asc	DRIVE C: WILL BE LOST! PLEASE CONFIRM!		10sec
wait_asc	Proceed with format (YES/NO)?			10sec
type		"YES\0d"
#
# Wait for "FreeDOS 1.0 Final Distribution".
# Wait for "1) Continue with FreeDOS installation".
# Wait for "2) View the install text for using this CD-ROM (Esc to exit)".
# ...
# Use pre-selected "1) Continue...".
# Type <Return>.
#
wait_asc	FreeDOS 1.0 Final Distribution			20min
wait_asc	1) Continue with FreeDOS installation		10sec
wait_asc	2) View the install text for using this CD-ROM (Esc to exit)	10sec
# ...
type		"\0d"
#
# Wait for "FreeDOS 1.0 Final Distribution".
# Wait for "1) Start installation of FreeDOS 1.1 Final".
# Wait for "2) Change installation mode".
# Wait for "3) Reset language to English".
# Wait for "4) Return to previous menu".
# Use pre-selected "1) Start...".
# Type <Return>.
#
# wait_asc	FreeDOS 1.0 Final Distribution			20min
wait_asc	1) Start installation of FreeDOS 1.0 Final	20min
wait_asc	2) Change installation mode			10sec
wait_asc	3) Reset language to English			10sec
wait_asc	Q) Return to previous menu			10sec
type		"\0d"
#
# Wait for "FreeDOS Install".
# Wait for "...".
# Wait for "This program is free software; ...".
# Wait for "..."
# Wait for "Press any key to continue".
# Type <Return>.
#
wait_asc	FreeDOS Install				20min
# wait_asc	...
wait_asc	This program is free software;		10sec
# wait_asc	...
wait_asc	Press any key to continue		10sec
type		"\0d"
#
# Wait for "FreeDOS Install".
# Wait for "Ready to install the FreeDOS software? ...".
# Wait for "...".
# Wait for "Floppy access is still a little slow. ...".
# Wait for "...".
# Wait for "Press any key to continue".
# Type <Return>.
#
# wait_asc	FreeDOS Install				20min
wait_asc	Ready to install the FreeDOS software?	20min
# wait_asc	...
wait_asc	Floppy access is still a little slow.	10sec
# wait_asc	...
wait_asc	Press any key to continue		10sec
type		"\0d"
#
# Wait for "FreeDOS Install".
# Wait for "Where are the install files? (where to install from?)".
# Wait for "X:\FREEDOS\PACKAGES".
# Wait for "Where will files be installed? (where to install to?)".
# Wait for "C:\FDOS".
# Type <Return>.
#
# wait_asc	FreeDOS Install				20min
wait_asc	Where are the install files? (where to install from?)	20min
wait_asc	X:\FREEDOS\PACKAGES					10sec
wait_asc	Where will files be installed? (where to install to?)	10sec
wait_asc	C:\FDOS							10sec
type		"\0d"
#
# Wait for "Are above directories correct?".
# Wait for "Yes".
# Wait for "No".
# Use pre-selected "Yes".
# Type <Return>.
#
wait_asc	Are above directories correct?			20min
wait_asc	Yes						10sec
wait_asc	No						10sec
type		"\0d"
#
# Wait for "<X> base ... [X] compress ... [X] driver ...".
# Wait for "[X] gui  ... [X] lang     ... [X] media  ...".
# Wait for "[DONE]".
# Wait for "The essential DOS utilities, which reproduce the functionality".
# Wait for "of MS-DOS.".
# Type <Return>.
#
wait_asc	<X> base				20min
wait_asc	[X] compress				10sec
wait_asc	[X] driver				10sec
wait_asc	[X] edit				10sec
wait_asc	[X] games				10sec
wait_asc	[X] gui					10sec
wait_asc	[X] lang				10sec
wait_asc	[X] media				10sec
wait_asc	[X] net					10sec
wait_asc	[X] util				10sec
wait_asc	[DONE]					10sec
wait_asc	The essential DOS utilities, which	10sec
wait_asc	of MS-DOS				10sec
type		"\0d"
#
# Wait for "Proceed with installation?".
# Wait for "Yes".
# Wait for "No".
# Use pre-selected "Yes".
# Type <Return>.
#
wait_asc	Proceed with installation?		20min
wait_asc	Yes					10sec
wait_asc	No					10sec
type		"\0d"
#
# Wait for "<X> ... [X] ... [X] ...".
# Wait for "[DONE]".
# Wait for "Description: ... APPEND enables programs to open data files ...".
# Wait for "directories as if the files were in the current directory".
# Type <Return>.
#
wait_asc	<X>					20min
wait_asc	[X]					10sec
wait_asc	[DONE]					10sec
wait_asc	Description:				10sec
wait_asc	APPEND enables programs to open data	10sec
wait_asc	directories as if the files were in	10sec
type		"\0d"
#
# Wait for "Proceed with installation?".
# Wait for "Yes".
# Wait for "No".
# Use pre-selected "Yes".
# Type <Return>.
#
wait_asc	Proceed with installation?		20min
wait_asc	Yes					10sec
wait_asc	No					10sec
type		"\0d"
#
# Wait for "Done installing this disk series.".
# Wait for "If you are installing other disk series, please insert".
# Wait for "disk #1 of the next series in the drive now.".
# Wait for "Press any key to continue".
# Type <Return>.
#
wait_asc	Done installing this disk series.	20min
wait_asc	If you are installing other disk series	10sec
wait_asc	disk #1 of the next series in the drive	10sec
wait_asc	Press any key to continue		10sec
type		"\0d"
#
# Wait for "<X> ... [X] ... [X] ...".
# Wait for "[DONE]".
# Wait for "Description: ...".
# Type <Return>.
#
wait_asc	<X>					20min
wait_asc	[X]					10sec
wait_asc	[DONE]					10sec
wait_asc	Description:				10sec
type		"\0d"
#
# Wait for "Proceed with installation?".
# Wait for "Yes".
# Wait for "No".
# Use pre-selected "Yes".
# Type <Return>.
#
wait_asc	Proceed with installation?		20min
wait_asc	Yes					10sec
wait_asc	No					10sec
type		"\0d"
#
# Wait for "Done installing this disk series.".
# Wait for "If you are installing other disk series, please insert".
# Wait for "disk #1 of the next series in the drive now.".
# Wait for "Press any key to continue".
# Type <Return>.
#
wait_asc	Done installing this disk series.	20min
wait_asc	If you are installing other disk series	10sec
wait_asc	disk #1 of the next series in the drive	10sec
wait_asc	Press any key to continue		10sec
type		"\0d"
#
# Wait for "<X> ... [X] ... [X] ...".
# Wait for "[DONE]".
# Wait for "Description: ...".
# Type <Return>.
#
wait_asc	<X>					20min
wait_asc	[X]					10sec
wait_asc	[DONE]					10sec
wait_asc	Description:				10sec
type		"\0d"
#
# Wait for "Proceed with installation?".
# Wait for "Yes".
# Wait for "No".
# Use pre-selected "Yes".
# Type <Return>.
#
wait_asc	Proceed with installation?		20min
wait_asc	Yes					10sec
wait_asc	No					10sec
type		"\0d"
#
# Wait for "Done installing this disk series.".
# Wait for "If you are installing other disk series, please insert".
# Wait for "disk #1 of the next series in the drive now.".
# Wait for "Press any key to continue".
# Type <Return>.
#
wait_asc	Done installing this disk series.	20min
wait_asc	If you are installing other disk series	10sec
wait_asc	disk #1 of the next series in the drive	10sec
wait_asc	Press any key to continue		10sec
type		"\0d"
#
# Wait for "<X> ... [X] ... [X] ...".
# Wait for "[DONE]".
# Wait for "Description: ...".
# Type <Return>.
#
wait_asc	<X>					20min
wait_asc	[X]					10sec
wait_asc	[DONE]					10sec
wait_asc	Description:				10sec
type		"\0d"
#
# Wait for "Proceed with installation?".
# Wait for "Yes".
# Wait for "No".
# Use pre-selected "Yes".
# Type <Return>.
#
wait_asc	Proceed with installation?		20min
wait_asc	Yes					10sec
wait_asc	No					10sec
type		"\0d"
#
# Wait for "Done installing this disk series.".
# Wait for "If you are installing other disk series, please insert".
# Wait for "disk #1 of the next series in the drive now.".
# Wait for "Press any key to continue".
# Type <Return>.
#
wait_asc	Done installing this disk series.	20min
wait_asc	If you are installing other disk series	10sec
wait_asc	disk #1 of the next series in the drive	10sec
wait_asc	Press any key to continue		10sec
type		"\0d"
#
# Wait for "<X> ... [X] ... [X] ...".
# Wait for "[DONE]".
# Wait for "Description: ...".
# Type <Return>.
#
wait_asc	<X>					20min
wait_asc	[X]					10sec
wait_asc	[DONE]					10sec
wait_asc	Description:				10sec
type		"\0d"
#
# Wait for "Proceed with installation?".
# Wait for "Yes".
# Wait for "No".
# Use pre-selected "Yes".
# Type <Return>.
#
wait_asc	Proceed with installation?		20min
wait_asc	Yes					10sec
wait_asc	No					10sec
type		"\0d"
#
# Wait for "Done installing this disk series.".
# Wait for "If you are installing other disk series, please insert".
# Wait for "disk #1 of the next series in the drive now.".
# Wait for "Press any key to continue".
# Type <Return>.
#
wait_asc	Done installing this disk series.	20min
wait_asc	If you are installing other disk series	10sec
wait_asc	disk #1 of the next series in the drive	10sec
wait_asc	Press any key to continue		10sec
type		"\0d"
#
# Wait for "<X> ...".
# Wait for "[DONE]".
# Wait for "Description: ...".
# Type <Return>.
#
wait_asc	<X>					20min
wait_asc	[DONE]					10sec
wait_asc	Description:				10sec
type		"\0d"
#
# Wait for "Proceed with installation?".
# Wait for "Yes".
# Wait for "No".
# Use pre-selected "Yes".
# Type <Return>.
#
wait_asc	Proceed with installation?		20min
wait_asc	Yes					10sec
wait_asc	No					10sec
type		"\0d"
#
# Wait for "Done installing this disk series.".
# Wait for "If you are installing other disk series, please insert".
# Wait for "disk #1 of the next series in the drive now.".
# Wait for "Press any key to continue".
# Type <Return>.
#
wait_asc	Done installing this disk series.	20min
wait_asc	If you are installing other disk series	10sec
wait_asc	disk #1 of the next series in the drive	10sec
wait_asc	Press any key to continue		10sec
type		"\0d"
#
# Wait for "<X> ... [X] ... [X] ...".
# Wait for "[DONE]".
# Wait for "Description: ...".
# Type <Return>.
#
wait_asc	<X>					20min
wait_asc	[X]					10sec
wait_asc	[DONE]					10sec
wait_asc	Description:				10sec
type		"\0d"
#
# Wait for "Proceed with installation?".
# Wait for "Yes".
# Wait for "No".
# Use pre-selected "Yes".
# Type <Return>.
#
wait_asc	Proceed with installation?		20min
wait_asc	Yes					10sec
wait_asc	No					10sec
type		"\0d"
#
# Wait for "Done installing this disk series.".
# Wait for "If you are installing other disk series, please insert".
# Wait for "disk #1 of the next series in the drive now.".
# Wait for "Press any key to continue".
# Type <Return>.
#
wait_asc	Done installing this disk series.	20min
wait_asc	If you are installing other disk series	10sec
wait_asc	disk #1 of the next series in the drive	10sec
wait_asc	Press any key to continue		10sec
type		"\0d"
#
# Wait for "<X> ... [X] ... [X] ...".
# Wait for "[DONE]".
# Wait for "Description: ...".
# Type <Return>.
#
wait_asc	<X>					20min
wait_asc	[X]					10sec
wait_asc	[DONE]					10sec
wait_asc	Description:				10sec
type		"\0d"
#
# Wait for "Proceed with installation?".
# Wait for "Yes".
# Wait for "No".
# Use pre-selected "Yes".
# Type <Return>.
#
wait_asc	Proceed with installation?		20min
wait_asc	Yes					10sec
wait_asc	No					10sec
type		"\0d"
#
# Wait for "Done installing this disk series.".
# Wait for "If you are installing other disk series, please insert".
# Wait for "disk #1 of the next series in the drive now.".
# Wait for "Press any key to continue".
# Type <Return>.
#
wait_asc	Done installing this disk series.	20min
wait_asc	If you are installing other disk series	10sec
wait_asc	disk #1 of the next series in the drive	10sec
wait_asc	Press any key to continue		10sec
type		"\0d"
#
# Wait for "<X> ... [X] ... [X] ...".
# Wait for "[DONE]".
# Wait for "Description: ...".
# Type <Return>.
#
wait_asc	<X>					20min
wait_asc	[X]					10sec
wait_asc	[DONE]					10sec
wait_asc	Description:				10sec
type		"\0d"
#
# Wait for "Proceed with installation?".
# Wait for "Yes".
# Wait for "No".
# Use pre-selected "Yes".
# Type <Return>.
#
wait_asc	Proceed with installation?		20min
wait_asc	Yes					10sec
wait_asc	No					10sec
type		"\0d"
#
# Wait for "Done installing this disk series.".
# Wait for "If you are installing other disk series, please insert".
# Wait for "disk #1 of the next series in the drive now.".
# Wait for "Press any key to continue".
# Type <Return>.
#
wait_asc	Done installing this disk series.	20min
wait_asc	If you are installing other disk series	10sec
wait_asc	disk #1 of the next series in the drive	10sec
wait_asc	Press any key to continue		10sec
type		"\0d"
#
# Wait for "<X> ... [X] ... [X] ...".
# Wait for "[DONE]".
# Wait for "Description: ...".
# Type <Return>.
#
wait_asc	<X>					20min
wait_asc	[X]					10sec
wait_asc	[DONE]					10sec
wait_asc	Description:				10sec
type		"\0d"
#
# Wait for "Proceed with installation?".
# Wait for "Yes".
# Wait for "No".
# Use pre-selected "Yes".
# Type <Return>.
#
wait_asc	Proceed with installation?		20min
wait_asc	Yes					10sec
wait_asc	No					10sec
type		"\0d"
#
# Wait for "Done installing this disk series.".
# Wait for "Press any key to continue".
# Type <Return>.
#
wait_asc	Done installing this disk series.	20min
wait_asc	Press any key to continue		10sec
type		"\0d"
#
# Intermediate steps (show up shortly):
# "FreeDOS 1.0 Final cdrom distribution."
# "Performing post installation steps:"
# "[-] State 1 : Install FAT32-enabled kernel"
# "[-] State 2 : Create startup configuration file"
# "[-] State 3 : Create startup automation file"
# "[-] State 4 : Setting up translated programs."
# "[-] State 5 : Setup all packages."
# "[-] State 6 : Done, reboot system?"
#
# wait_asc ...
#
# Intermediate steps (show up shortly):
# "C:\FDOS\bin\kernel.sys => C:\kernel.sys"
#
# wait_asc ...
#
# Intermediate steps (show up shortly):
# "FreeDOS 1.0 Final cdrom distribution."
# "Performing post installation steps:"
# "[+] State 1 : Install FAT32-enabled kernel"
# "[-] State 2 : Create startup configuration file"
# "[-] State 3 : Create startup automation file"
# "[-] State 4 : Setting up translated programs."
# "[-] State 5 : Setup all packages."
# "[-] State 6 : Done, reboot system?"
#
# wait_asc ...
#
# Intermediate steps (show up shortly):
# "C:\FDOS\fdauto.bat => C:\autoexec.bat"
#
# wait_asc ...
#
# Intermediate steps (show up shortly):
# "FreeDOS 1.0 Final cdrom distribution."
# "Performing post installation steps:"
# "[+] State 1 : Install FAT32-enabled kernel"
# "[+] State 2 : Create startup configuration file"
# "[-] State 3 : Create startup automation file"
# "[-] State 4 : Setting up translated programs."
# "[-] State 5 : Setup all packages."
# "[-] State 6 : Done, reboot system?"
#
# wait_asc ...
#
# Intermediate steps (show up shortly):
# "File not found. - 'C:\FDOS\NLS\COMMAND.COM'"
# "command.com => 'C:\FDOS\bin\COMMAND.COM'"
#
# wait_asc ...
#
# Intermediate steps (show up shortly):
# "FreeDOS 1.0 Final cdrom distribution."
# "Performing post installation steps:"
# "[+] State 1 : Install FAT32-enabled kernel"
# "[+] State 2 : Create startup configuration file"
# "[+] State 3 : Create startup automation file"
# "[-] State 4 : Setting up translated programs."
# "[-] State 5 : Setup all packages."
# "[-] State 6 : Done, reboot system?"
#
# wait_asc ...
#
# Intermediate steps (show up shortly):
# "C:\FDOS\bin\kernel32.sys => C:\kernel.sys"
#
# wait_asc ...
#
# Intermediate steps (show up shortly):
# "FreeDOS 1.0 Final cdrom distribution."
# "Performing post installation steps:"
# "[+] State 1 : Install FAT32-enabled kernel"
# "[+] State 2 : Create startup configuration file"
# "[+] State 3 : Create startup automation file"
# "[+] State 4 : Setting up translated programs."
# "[-] State 5 : Setup all packages."
# "[-] State 6 : Done, reboot system?"
#
# wait_asc ...
#
# Intermediate steps (show up shortly):
# "Trying to install mouse support (may hang your computer)"
# "CuteMouse v1.9.1 alpha 1 [FreeDOS]"
# "Resident part reset to PS/2 port"
# "C:\FDOS\bin\ctmouse.exe => C:\FDOS\bin\mouse.exe"
# "C:\FDOS\bin\ctmouse\ctm-EN.exe => C:\FDOS\bin\mouse.exe"
# "Dependencies met or there aren't dependencies."
# "Configuring..."
#
# wait_asc ...
#
# Wait for "Set up a packet driver[Y,N]?".
# Type "Y".
#
wait_asc	Set up a packet driver[Y,N]?				20min
type		"Y"
#
# Wait for "1) Attempt to detect PCI-based adapters (recommended)".
# Wait for "2) Select an ISA-based packet driver and specify parameters".
# Wait for "...".
# Wait for "8) Do not load a packet driver".
# Type		"1".
#
wait_asc	1) Attempt to detect PCI-based adapters			20min
wait_asc	2) Select an ISA-based packet driver and		10sec
# wait_asc	...
wait_asc	8) Do not load a packet driver				10sec
type		"1"
#
# Wait for "Attempting to detect PCI-based adapters...".
#
wait_asc	Attempting to detect PCI-based adapters...		20min
#
# Wait for "Install packet driver in C:\autoexec.bat[Y,N]?"
# Type "Y".
#
wait_asc	Install packet driver in C:\autoexec.bat[Y,N]?		1min
type		"Y"
#
# Wait for "Wattcp.cfg Setup Menu".
# Wait for "1) Use default DHCP for wattcp.cfg".
# Wait for "2) Set up wattcp.cfg according to user input"...
# Wait for "3) Edit wattcp.cfg manyally".
# Type "1"
#
wait_asc	Wattcp.cfg Setup Menu					1min
wait_asc	1) Use default DHCP for wattcp.cfg			10sec
wait_asc	2) Set up wattcp.cfg according to user input		10sec
wait_asc	3) Edit wattcp.cfg manually				10sec
type		"1"
#
# FIXME ...
#
#
# Wait for "This package conflicts with "vim32"".
# Type "Y".
# Wait for "Are you sure? Remove the VIM32 binaries (Y/N)?".
# Type "Y".
#
wait_asc	This package conflicts with				5min
type		"Y"
wait_asc	Are you sure? Remove the VIM32 binaries (Y/N)?		1min
type		"Y"
#
# Wait for "Press Enter to exit...".
# Type <Enter>
#
wait_asc	Press Enter to exit...					1min
type		"\0d"
#
# Wait for "Welcome to OpenGEM!".
# Wait for ...
# Type "1".
wait_asc	Welcome to OpenGEM!					1min
type		"1"
#
# Wait for "OpenGEM is free software; you can"...
# Wait for "1 - Accept and install OpenGEM".
# Wait for "2 - Decline the license and exit".
# Type "1".
#
wait_asc	OpenGEM is free software; you can			1min
wait_asc	1 - Accept and install OpenGEM				10sec
wait_asc	2 - Decline the license and exit			10sec
type		"1"
#
# Wait for "OpenGEM is now installed on Drive C:".
# Wait for "Press any key to continue . . .".
# Type <Enter>.
#
wait_asc	OpenGEM is now installed on Drive C:			1min
wait_asc	Press any key to continue . . .				10sec
type		"\0d"
#
# Wait for "Thank you for installing OpenGEM".
# Wait for ...
# Type <Enter>.
#
wait_asc	Thank you for installing OpenGEM			1min
wait_asc	Press any key to continue . . .				10sec
type		"\0d"
#
# Wait for "Remove installation directory[Y,N]?".
# Type "Y".
#
wait_asc	Remove installation directory[Y,N]?			1min
type		"Y"
#
wait_asc	FIXME							1min
