home *** CD-ROM | disk | FTP | other *** search
- @echo off
- cls
- echo\
- echo ╒══════════════════════════════════════════════════════════════╕
- echo │ INSTALL.BAT FSLOGIN 1.4 │
- echo │ │
- echo │ This batch file installs Full Screen Login on a server. │
- echo │ │
- echo │ Please be sure that you have SUPERVISOR or EQUIVALENT rights │
- echo │ because files must be copied to the SYS:LOGIN and the SYS: │
- echo │ PUBLIC directories. │
- echo │ │
- echo │ Continue? 'Y'es or 'N'o. │
- echo ╘══════════════════════════════════════════════════════════════╛
- echo\
- yesno
- if errorlevel 1 goto check_source
- goto end
- ::
- :check_source
- ::
- if exist fslogin.com goto check_target
- cls
- echo\
- echo ╒══════════════════════════════════════════════════════════════╕
- echo │ HELP_1 1.4 │
- echo │ │
- echo │ This batch file should be run from the same drive and │
- echo │ directory, where the other files of the FSLOGIN package │
- echo │ reside. │
- echo │ Please change the current drive and directory first. │
- echo │ │
- echo ╘══════════════════════════════════════════════════════════════╛
- echo\
- pause
- goto end
- ::
- :check_target
- ::
- if NOT exist sys:login\fslogin.* goto select
- cls
- echo\
- echo ╒══════════════════════════════════════════════════════════════╕
- echo │ HELP_2 1.4 │
- echo │ │
- echo │ Full Screen Login is already installed on this server. │
- echo │ Do you want to write over the currently installed version? │
- echo │ │
- echo │ Continue? 'Y'es or 'N'o. │
- echo ╘══════════════════════════════════════════════════════════════╛
- echo\
- yesno
- if errorlevel 1 goto write_over
- goto end
- ::
- :write_over
- ::
- flag sys:login\fslogin.* rw
- flag sys:public\fslogin.com rw
- ::
- :select
- ::
- cls
- echo\
- echo ╒══════════════════════════════════════════════════════════════╕
- echo │ HELP_3 1.4 │
- echo │ │
- echo │ Full Screen Login has support for English and Dutch. │
- echo │ Please answer 'Y'es to ONE of the following questions. │
- echo │ │
- echo ╘══════════════════════════════════════════════════════════════╛
- echo\
- echo ╒══════════════════════════════════════════════════════════════╕
- echo │ Do you want to install the English version? │
- echo │ │
- echo │ Continue? 'Y'es or 'N'o. │
- echo ╘══════════════════════════════════════════════════════════════╛
- echo\
- yesno
- if errorlevel 1 goto english
- echo\
- echo ╒══════════════════════════════════════════════════════════════╕
- echo │ Do you want to install the Dutch version? │
- echo │ │
- echo │ Continue? 'Y'es or 'N'o. │
- echo ╘══════════════════════════════════════════════════════════════╛
- yesno
- if errorlevel 1 goto dutch
- goto end
- ::
- :english
- ::
- cls
- ncopy US.* sys:login\fslogin.*
- goto generic
- ::
- :dutch
- ::
- cls
- ncopy NL.* sys:login\fslogin.*
- goto generic
- ::
- :generic
- ::
- ncopy fslogin.* sys:login
- ncopy fslogin.com sys:public
- flag sys:login\fslogin.* ro s
- flag sys:login\fslogin.ini rw s
- flag sys:public\fslogin.com ro s
- pause
- cls
- echo\
- echo ╒══════════════════════════════════════════════════════════════╕
- echo │ HELP_4 1.4 │
- echo │ │
- echo │ When there are no error messages from the ncopy and flag │
- echo │ commands, Full Screen Login has been installed. │
- echo │ │
- echo │ Just type FSLOGIN at the dos prompt to use this program, or │
- echo │ refer to the documentation for further instructions. │
- echo │ │
- echo │ ┌─────────┐ │
- echo │ ┌─────┴───┐ │ (R) │
- echo │ ──│ │o │────────────────── │
- echo │ │ ┌─────┴╨──┐ │ Association of │
- echo │ │ │ │─┘ Shareware │
- echo │ └───│ o │ Professionals │
- echo │ ──────│ ║ │──────────────────── │
- echo │ └────╨────┘ MEMBER │
- echo ╘══════════════════════════════════════════════════════════════╛
- echo\
- pause
- goto end
- ::
- :end
- ::
-