[Freedos-devel] FDI 1.2

2015-10-02 Thread Jerome E. Shidel Jr.
Well, best guess. I’m 70% done with the installer.

Just need to port the backup creation code, the system files transfer stuff and 
example package/zip installer portion.

But, the readme on using it for the OS release is mostly done. 

https://github.com/shidel/FDI/blob/master/README.md 


FreeDOS 1.2 Installer Prototype

This project is for creating the FreeDOS  1.2+ 
installation kit based on V8Power Tools  batch file 
enhancement utilities.

 File List

README.md   - This file.
LICENSE - GNU GPL v2.
mkFDI.bat   - Create the Floppy installation media.
 
Build
 files in INSFILES\

MKBIN.LSTList of files copyied from C:\FDOS\BIN\ to A:\FDSETUP\BIN\
MKHELP.LST   List of files copyied from C:\FDOS\HELP\ to A:\FDSETUP\HELP\
MKV8P.LSTList of files copyied from V8POWER\ to A:\FDSETUP\V8POWER\
MKSETUP.LST  List of files copyied from INSFILES\ to A:\FDSETUP\SETUP\
AUTOEXEC.BAT Copied as-is to A:\
FDCONFIG.SYS Copied as-is to A:\
SETUP.BATCopied as-is to A:\
 
What
 the installer does.

AUTOEXEC.BAT calls SETUP.BAT RECOVERY

SETUP.BAT

Tests for presence of V8Power Tools.
Tests for I/O redirection support at present.
Does some basic settings initialization.

Loads configuration from STAGE000.BAT. This is where some of the
built-in default settings are stored. Things like New Volume Label,
OS Version and etc.

if RECOVERY option was present at launceh, tests if this version of
FreeDOS is already installed using STAGE001. If so, just exists to
prompt with a welcome message. Otherwise, proceeds with installer.

STAGE002, Loads current color scheme from either THEMENUL.BAT or
if THEMEADV.BAT (Advanced Mode).

STAGE003, Displays welcome to FreeDOS installer message. Offers to
continue or exit.

STAGE004, Checks if drive C exists. If not prompts user that C needs
partitioned and offers to run fdisk or exit. If user selects fdisk,
then offers to reboot or exit.

STAGE005, Checks if drive C is readble. If not prompts user that C
needs formatted and offers to format or exit. If user selects formats,
then rechecks if C is readble. If not, offers to reboot or exit.

STAGE006, Sets up temporary TEMP Directory so I/O redirection can
function and for storage of a couple temporary files. If I/O
redirection is still unavailable, it will abort the installation.

NOTE: Now that a TEMP directory exists,  FDIWIND.BAT and other
batch files that use I/O redirection for utilities like vmath can
now be used.

STAGE007, Calls all Installation configuration batch files named
FDASK???.BAT located in the FDSETUP\SETUP directory.

STAGE008, Prompts user that installation will now begin, Offers
to continue or exit. Then, scans current FDSETUP\SETUP for all
FDINS???.BAT files. The scans all other drives for
\FDSETUP\SETUP\FDINS???.BAT files and calls them in that order to
perform the installation.

STAGE009, Informs user that instalation is complete offers reboot or
exit.

STAGE999, Performs cleanup and is always run. It is only not run
if the STAGE001 test for existing OS installation passes and the
batch script is exiting without running the installer.

If user had selected reboot in STAGE009, it is done now.
 
Some
 global environment variables.

OS_NAME = Should always be "FreeDOS"
OS_VERSION  = Current OS Version.

FADV= "y" if running in advanced mode.
FDIDFMT = "y" if during this execution the batch file formatted
drive C.
FWAIT   = If your going to use vpause, This is how many seconds you
should pause. Example: vpause /t %FWAIT%
 
Options
 configured by FDASK???.BAT files.

OVOLIf drive is formatted, set its labal to this text
(actually OVOL is set in STAGE000)

OBAKSet in FDASK000. If an operating system is detected.
and user selects backup it will be set to "y". In advanced
mode user can select 'archive to zip' then it is set as
"z". If no OS was detected, or uses selects no backup it
will be set to "n"

OSYSSet in FDASK001. If user is in basic mode it is set to
"y" to transfer system boot files. In advanced mode,
it is set to either "y" or "n" depended on choice.
 

Re: [Freedos-devel] XFTOOLS - exFAT access a la LTOOLS

2015-10-02 Thread Jim Hall
> On Thu, Oct 1, 2015 at 4:32 AM, Eric Auer  wrote:
> > Regarding LTOOLS quality: This thing is ancient and of course it supports
> > only ext2, not ext3 or ext4. It is probably better to use the
> > source of VMSMOUNT as basis for TSR drivers for exFAT access :-)
>

On Thu, Oct 1, 2015 at 5:42 PM, Rugxulo  wrote:
> ext2 might be harder to support, but at least it wouldn't go near the
> stupid proprietary hell-fire.
>



I would love to see ext2/3/4 support in FreeDOS. This would be a great idea.

--
___
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel


Re: [Freedos-devel] FDI 1.2

2015-10-02 Thread Antony Gordon
Hey,

Couldn't you use 4DOS as the command shell during the installation process?
On Oct 2, 2015 1:18 PM, "Jerome E. Shidel Jr."  wrote:

> Well, best guess. I’m 70% done with the installer.
>
> Just need to port the backup creation code, the system files transfer
> stuff and example package/zip installer portion.
>
> But, the readme on using it for the OS release is mostly done.
>
> https://github.com/shidel/FDI/blob/master/README.md
>
> FreeDOS 1.2 Installer Prototype
>
> This project is for creating the FreeDOS  1.2+
> installation kit based on V8Power Tools  batch
> file enhancement utilities.
> --
> File List
>
> README.md   - This file.
> LICENSE - GNU GPL v2.
> mkFDI.bat   - Create the Floppy installation media.
>
>
> Build
> files in INSFILES\
>
> MKBIN.LSTList of files copyied from C:\FDOS\BIN\ to A:\FDSETUP\BIN\
> MKHELP.LST   List of files copyied from C:\FDOS\HELP\ to A:\FDSETUP\HELP\
> MKV8P.LSTList of files copyied from V8POWER\ to A:\FDSETUP\V8POWER\
> MKSETUP.LST  List of files copyied from INSFILES\ to A:\FDSETUP\SETUP\
> AUTOEXEC.BAT Copied as-is to A:\
> FDCONFIG.SYS Copied as-is to A:\
> SETUP.BATCopied as-is to A:\
>
>
> What
> the installer does.
>
> AUTOEXEC.BAT calls SETUP.BAT RECOVERY
>
> SETUP.BAT
>
> Tests for presence of V8Power Tools.
> Tests for I/O redirection support at present.
> Does some basic settings initialization.
>
> Loads configuration from STAGE000.BAT. This is where some of the
> built-in default settings are stored. Things like New Volume Label,
> OS Version and etc.
>
> if RECOVERY option was present at launceh, tests if this version of
> FreeDOS is already installed using STAGE001. If so, just exists to
> prompt with a welcome message. Otherwise, proceeds with installer.
>
> STAGE002, Loads current color scheme from either THEMENUL.BAT or
> if THEMEADV.BAT (Advanced Mode).
>
> STAGE003, Displays welcome to FreeDOS installer message. Offers to
> continue or exit.
>
> STAGE004, Checks if drive C exists. If not prompts user that C needs
> partitioned and offers to run fdisk or exit. If user selects fdisk,
> then offers to reboot or exit.
>
> STAGE005, Checks if drive C is readble. If not prompts user that C
> needs formatted and offers to format or exit. If user selects formats,
> then rechecks if C is readble. If not, offers to reboot or exit.
>
> STAGE006, Sets up temporary TEMP Directory so I/O redirection can
> function and for storage of a couple temporary files. If I/O
> redirection is still unavailable, it will abort the installation.
>
> NOTE: Now that a TEMP directory exists,  FDIWIND.BAT and other
> batch files that use I/O redirection for utilities like vmath can
> now be used.
>
> STAGE007, Calls all Installation configuration batch files named
> FDASK???.BAT located in the FDSETUP\SETUP directory.
>
> STAGE008, Prompts user that installation will now begin, Offers
> to continue or exit. Then, scans current FDSETUP\SETUP for all
> FDINS???.BAT files. The scans all other drives for
> \FDSETUP\SETUP\FDINS???.BAT files and calls them in that order to
> perform the installation.
>
> STAGE009, Informs user that instalation is complete offers reboot or
> exit.
>
> STAGE999, Performs cleanup and is always run. It is only not run
> if the STAGE001 test for existing OS installation passes and the
> batch script is exiting without running the installer.
>
> If user had selected reboot in STAGE009, it is done now.
>
>
> Some
> global environment variables.
>
> OS_NAME = Should always be "FreeDOS"
> OS_VERSION  = Current OS Version.
>
> FADV= "y" if running in advanced mode.
> FDIDFMT = "y" if during this execution the batch file formatted
> drive C.
> FWAIT   = If your going to use vpause, This is how many seconds you
> should pause. Example: vpause /t %FWAIT%
>
>
> Options
> configured by FDASK???.BAT files.
>
> OVOLIf drive is formatted, set its labal to this text
> (actually OVOL is set in STAGE000)
>
> OBAKSet in FDASK000. If an operating system is detected.
> and user selects backup it will be set to "y". In advanced
> mode user can select 'archive to zip' then it is set as
> "z". If no OS was detected, or uses selects no backup it
> will be 

Re: [Freedos-devel] FDI 1.2

2015-10-02 Thread Jerome Shidel

> On Oct 2, 2015, at 6:26 PM, Antony Gordon  wrote:
> 
> Hey,
> 
> Couldn't you use 4DOS as the command shell during the installation process?
> 
Unfortunately, no. 

Some of the things that need to be done require I/O redirection (pipes and 
such) and using the output of some process to set the values of environment 
variables. This does not work using the 4DOS shell. 

V8Power Tools work fine. However, there is no way to make any use of many of 
their advanced features without this capability. 

For example, when using the standard command.com in FreeDOS and with MS-DOS (I 
think 7, with XP), you can do smithing like this to hide and restore the 
current cursor.

vcursor | set /p OldCursor=
vcursor hide
rem do stuff with hidden cursor
vcursor %OldCursor%
set OldCursor=

The cursor would be read, stored, hidden then restored to its original state. 

>> On Oct 2, 2015 1:18 PM, "Jerome E. Shidel Jr."  wrote:
>> Well, best guess. I’m 70% done with the installer.
>> 
>> Just need to port the backup creation code, the system files transfer stuff 
>> and example package/zip installer portion.
>> 
>> But, the readme on using it for the OS release is mostly done. 
>> 
>> https://github.com/shidel/FDI/blob/master/README.md
>> 
>> FreeDOS 1.2 Installer Prototype
>> This project is for creating the FreeDOS 1.2+ installation kit based on 
>> V8Power Tools batch file enhancement utilities.
>> 
>> File List
>> 
>> README.md   - This file.
>> LICENSE - GNU GPL v2.
>> mkFDI.bat   - Create the Floppy installation media.
>> Build files in INSFILES\
>> 
>> MKBIN.LSTList of files copyied from C:\FDOS\BIN\ to A:\FDSETUP\BIN\
>> MKHELP.LST   List of files copyied from C:\FDOS\HELP\ to A:\FDSETUP\HELP\
>> MKV8P.LSTList of files copyied from V8POWER\ to A:\FDSETUP\V8POWER\
>> MKSETUP.LST  List of files copyied from INSFILES\ to A:\FDSETUP\SETUP\
>> AUTOEXEC.BAT Copied as-is to A:\
>> FDCONFIG.SYS Copied as-is to A:\
>> SETUP.BATCopied as-is to A:\
>> What the installer does.
>> 
>> AUTOEXEC.BAT calls SETUP.BAT RECOVERY
>> 
>> SETUP.BAT
>> 
>> Tests for presence of V8Power Tools.
>> Tests for I/O redirection support at present.
>> Does some basic settings initialization.
>> 
>> Loads configuration from STAGE000.BAT. This is where some of the
>> built-in default settings are stored. Things like New Volume Label,
>> OS Version and etc.
>> 
>> if RECOVERY option was present at launceh, tests if this version of
>> FreeDOS is already installed using STAGE001. If so, just exists to
>> prompt with a welcome message. Otherwise, proceeds with installer.
>> 
>> STAGE002, Loads current color scheme from either THEMENUL.BAT or
>> if THEMEADV.BAT (Advanced Mode).
>> 
>> STAGE003, Displays welcome to FreeDOS installer message. Offers to
>> continue or exit.
>> 
>> STAGE004, Checks if drive C exists. If not prompts user that C needs
>> partitioned and offers to run fdisk or exit. If user selects fdisk,
>> then offers to reboot or exit.
>> 
>> STAGE005, Checks if drive C is readble. If not prompts user that C
>> needs formatted and offers to format or exit. If user selects formats,
>> then rechecks if C is readble. If not, offers to reboot or exit.
>> 
>> STAGE006, Sets up temporary TEMP Directory so I/O redirection can
>> function and for storage of a couple temporary files. If I/O
>> redirection is still unavailable, it will abort the installation.
>> 
>> NOTE: Now that a TEMP directory exists,  FDIWIND.BAT and other
>> batch files that use I/O redirection for utilities like vmath can
>> now be used.
>> 
>> STAGE007, Calls all Installation configuration batch files named
>> FDASK???.BAT located in the FDSETUP\SETUP directory.
>> 
>> STAGE008, Prompts user that installation will now begin, Offers
>> to continue or exit. Then, scans current FDSETUP\SETUP for all
>> FDINS???.BAT files. The scans all other drives for
>> \FDSETUP\SETUP\FDINS???.BAT files and calls them in that order to
>> perform the installation.
>> 
>> STAGE009, Informs user that instalation is complete offers reboot or
>> exit.
>> 
>> STAGE999, Performs cleanup and is always run. It is only not run
>> if the STAGE001 test for existing OS installation passes and the
>> batch script is exiting without running the installer.
>> 
>> If user had selected reboot in STAGE009, it is done now.
>> Some global environment variables.
>> 
>> OS_NAME = Should always be "FreeDOS"
>> OS_VERSION  = Current OS Version.
>> 
>> FADV= "y" if running in advanced mode.
>> FDIDFMT = "y" if during this execution the batch file formatted
>> drive C.
>> FWAIT   = If your going to use vpause, This is how many seconds you
>> should pause. Example: vpause /t %FWAIT%
>> Options configured by FDASK???.BAT files.
>> 
>> OVOL