Ok, this is my thought process on the logic of the Installer batch. 
(That demo installer I shared does stages 2, 3 and 4)

------------------------------------------------------------------------------------------------------------------------------

STAGE 1:  This will enable auto setup if FD1.2 not installed, or usage as 
recovery a disk.

        System boots from FreeDOS Floppy A:. (or CD-ROM as pseudo floppy A:)

        At boot, floppy checks if FD1.2 is already installed by executing 
SETUP.BAT /CheckState

                If not already installed, proceed with installer.

                If installed, just exit to prompt with message.

STAGE 2: Welcome to the installer.

        Ask user if the want to proceed with FreeDOS installer.

                If not, exit to prompt.

STAGE 3: Verify drive C is ready for FreeDOS.

        Test Drive is C is found and is readable by FreeDOS.

                If not found, it is probably not partitioned. So, offer to run 
partitioner. (FDISK)

                                If run partitioner, then reboot and back to 
STAGE 1

                                if not run, exit with message.

                If drive was found, but cannot be read, it needs formatted. So, 
offer to format. (FORMAT C: /V:FreeDOS /Q /U)

                                If was formatted, go back to STAGE 3 or maybe 
STAGE 2 and test again.

                                If not format, exit with message.

STAGE 4: Inform user drive C is ready for install, ask if they want to

                No, exit to prompt.

STAGE 5: Locate and verify CD-ROM install packages. 

                if missing, invalid, etc. Recommend, stopping install.

MAYBE STAGE 6: Test for existing, OS files. back them up somewhere.

STAGE 7: Install FreeDOS 1.2.

                Transfer system files. (sys c:)

                Install packages.

                Install fresh AUTOEXEC.BAT and FDCONFIG.SYS

STAGE 8: Installed success. Offer to reboot.



------------------------------------------------------------------------------
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to