home *** CD-ROM | disk | FTP | other *** search
- @echo off
- cls
- echo ╔════════════════════════════════════════════════════════════════════════════╗
- echo ║ CadKey 4.0 Install ║
- echo ╚════════════════════════════════════════════════════════════════════════════╝
- echo
- echo
- if "%1" == "" goto error
- echo This batch program will install the CadKey system from Drive A:
- echo to your hard disk.
- echo
- echo Press (CTRL-C) now if you wish to ABORT the install procedure.
- echo
- pause
- %1
- cd\
- md cadkey4
- cd cadkey4
- :loop1
- if exist a:file01 goto start1
- echo
- echo WRONG disk! Please insert the System #1 into drive A.
- echo
- pause
- goto loop1
- :start1
- a:unpack -d a:file01. > nul
- echo
- echo Insert distribution disk 2 into Drive A.
- pause
- :loop2
- if exist a:file02 goto start2
- echo
- echo WRONG disk! Please insert the System #2 into drive A.
- echo
- pause
- goto loop2
- :start2
- a:unpack -d a:file02. > nul
- a:unpack -d a:file03. > nul
- a:unpack -d a:file04. > nul
- a:unpack -d a:file05. > nul
- echo
- echo Insert distribution disk 3 into Drive A.
- pause
- :loop3
- if exist a:file06 goto start3
- echo
- echo WRONG disk! Please insert the System #3 into drive A.
- echo
- goto loop3
- :start3
- a:unpack -d a:file06. > nul
- a:unpack -d a:file07. > nul
- a:unpack -d a:file08. > nul
- a:unpack -d a:file09. > nul
- a:unpack -d a:file10. > nul
- a:unpack -d a:file11. > nul
- a:unpack -d a:file12. > nul
- a:unpack -d a:file13. > nul
- goto complete
- :error
- echo
- echo You must include the name of the target drive to install
- echo Example: SETUPCK [drive:]
- echo
- echo Installation Aborted!
- echo
- goto end
- :COMPLETE
- echo
- echo Installation Completed.
- echo Type Keysave ┘ before running CadKey 4.0
- echo
- :END
-