Op 30-7-2011 16:48, Rugxulo schreef:

> Which one? Does it have to be a TSR or is cmdline after-the-fact "good 
> enough"?

http://www.bttr-software.de/products/jhoffmann/#dosutils

It's already on the FD1.1 CD in the \FREEDOS\CUSTOM\PACKAGES\BASE 
directory. Simply do a:
D:\SETUP.BAT D:\FREEDOS\CUSTOM

Which reminds me of a bugfix I should likely perform: don't execute 
SAMCFG package contents (more than once) if it exists in destination 
directory. Perhaps also an idea to copy INSTALL to installed FD1.1 just 
to be able to install other packages from a FD1.0 CD for example.


:fd11
for %%x in ( %1\PACKAGES\BASE\*.ZIP ) do if exist %%x goto custom
for %%x in ( %_CWD%\PACKAGES\BASE\*.ZIP ) do if exist %%x goto goodinst
echo SETUP could not find any packages to install, cancelling installation.
goto cleanup

:custom
CDD %1
goto goodinst

:goodinst
if exist %_CWD%\PACKAGES\BASE\SAMCFGX.ZIP set showpost=yes
set tz=UTC
rem TZ variable required external file (in path): UNZIP (Infozip 6.00)
INSTALL
echo Package installation to harddisk completed.
rem Assuming INSTALL switched to target directory after finishing
rem Any errorlevels to consider for branching?
if exist POSTINST.BAT goto dopost
if not "%showpost%"=="" goto showpost
goto cleanup

:showpost
set showpost=
echo Please switch to wherever you installed FreeDOS,
echo and type POSTINST to generate configuration files
echo (config.sys / autoexec.bat)
echo.
echo Diagnostic info:
echo SETUP called as: %0 %1 %2 %3 %4 %5 %6 %7 %8 %9
echo SETUP file is: %thisfile%
rem echo SETUP started checking for packages at %cddrv%\PACKAGES\BASE\
if not exist C:\NUL echo No drive C: found, run Fdisk?
goto cleanup

:dopost
if "%2"=="" pause Press a key to finish installation by generating 
configuration files
call POSTINST.BAT
goto cleanup

:cleanup
set tz=
set thisfile=
goto end

------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to