home *** CD-ROM | disk | FTP | other *** search
- ECHO OFF
- :CHECKSUB
- If -%1 == - GOTO ERROR1
-
- :INSTALL
- CLS
- ECHO ┌────────────────────────────────────────────────────────────────────┐
- ECHO └ This install file will install Tombstone Artist 1.5 to: ┘
- ECHO %1
- ECHO ┌ If this directory does not exist, then it will be created. ┐
- ECHO │ This install file requires that PKUNZIP either be in your current │
- ECHO │ directory, or in your path. If it isn't, please abort this file │
- ECHO │ now and install Tombstone Artist 1.5 Manually. │
- ECHO │ │
- ECHO │ To install Tombstone Artist 1.5 manually, create the directory │
- ECHO │ that you wish to stick Tombstone Artist 1.5 in. Change to that │
- ECHO │ directory, and unzip the TOMBART.ZIP archive with the -D parameter.│
- ECHO │ │
- ECHO │ If you do not wish to continue the installation, then press │
- ECHO │ CTRL-C, otherwise, press any key to continue. │
- ECHO └────────────────────────────────────────────────────────────────────┘
- PAUSE >NUL
- If EXIST %1 goto Unzip
- MD %1
-
- :UNZIP
- PKUNZIP -D TOMBART.ZIP %1
- IF ERRORLEVEL 1 GOTO ERROR2
- CD %1
- ECHO ┌────────────────────────────────────────────────────────────────────┐
- ECHO │ Tombstone Artist should now be installed. To run, type: │
- ECHO │ TOMBART [ENTER] │
- ECHO │ │
- ECHO │ Please press any key to continue. │
- ECHO └────────────────────────────────────────────────────────────────────┘
- Pause >NUL
- VIEWRIP DEMO1
- GOTO END
-
- :ERROR1
- ECHO ┌────────────────────────────────────────────────────────────────────┐
- ECHO │ Please supply a path to install Tombstone Artist 1.5 to, IE: │
- ECHO │ INSTALL C:\TOMBART [ENTER] │
- ECHO └────────────────────────────────────────────────────────────────────┘
- GOTO END
-
- :ERROR2
- ECHO ┌────────────────────────────────────────────────────────────────────┐
- ECHO │ PKUNZIP was not able to unarchive some or all of the files. │
- ECHO │ Please make sure you gave a valid drive and path. │
- ECHO └────────────────────────────────────────────────────────────────────┘
- GOTO END
-
- :END
-