home *** CD-ROM | disk | FTP | other *** search
- echo off
- rem *** AS-EASY-AS Installation Procedure ***
- if not %1a==a goto num
- cls
- echo * AS-EASY-AS Installation *
- echo * ERROR - No Disk Specified *
- echo ----------------------------------------------------------------
- echo SETUP command must be followed by a drive letter, and if
- echo necessary by a directory name. For example, to install ASEASYAS
- echo on a formatted floppy disk, place the ASEASY disk in Drive A, the
- echo blank disk in drive B, and use the command: SETUP b:
- echo ----------------------------------------------------------------
- echo To install the program on drive C in a directory named ASEASY,
- echo place the ASEASYAS disk in drive A, and use the command:
- echo SETUP C:\ASEASY
- echo (No trailing backslash)
- echo ----------------------------------------------------------------
- echo Decide which installation you want to use and try again.
- echo ----------------------------------------------------------------
- goto finals
- :num
- if exist aseasy.EXE goto insprog1
- if exist aseasy.com goto oldone
- cls
- echo ** AS-EASY-AS Installation **
- echo ** Error - ASEASY files not Found **
- echo ----------------------------------------------------------------
- echo The ASEASY Files are not on the current logged drive. Either
- ECHO place the diskette with the original ASEASY files in the
- echo default drive and press Y to continue, or press N to
- echo abort the installation process !!!
- echo ----------------------------------------------------------------
- yesno Continue
- if not errorlevel=1 goto fin1
- :insprog1
- if not exist aseasy.EXE goto num
- if not exist setup.bat goto num
- copy setup.bat %1\setup.bat >nul
- if not exist %1\setup.bat goto isnotdir
- cls
- echo AS-EASY-AS Installation
- echo *
- echo Copying the ASEASY Files
- copy yesno.com %1\yesno.com >nul
- copy aseasy.* %1\*.* >nul
- copy htree.exe %1\htree.exe >nul
- copy *.doc %1\*.doc >nul
- echo *** Completed ***
- echo ----------------------------------------------------------------
- echo Please refer to the file READ.ME for instructions on how
- echo to extract the Add-ins and worksheet sample files.
- echo ----------------------------------------------------------------
- goto finals
- :fin1
- echo ** Abnormal Termination, Retry **
- goto finals
- :isnotdir
- echo ** AS-EASY-AS Installation **
- echo ----------------------------------------------------------------
- echo The specified sub-directory %1 DOES NOT exist.
- echo Please create it or use a different sub-directory.
- echo (Remember! No Trailing Backslash)
- echo ----------------------------------------------------------------
- goto finals
- :oldone
- echo ** Incorrect SETUP version, only for AS-EASY-AS Ver. 4.0 **
- goto finals
- :fin
- echo ** Normal Termination **
- :finals
-