home *** CD-ROM | disk | FTP | other *** search
- @echo off
- install 31
- echo ┌──────────────────────────────────────────────────────────────────────────┐
- echo │ Michael L. Wester is a member │
- echo │ of the Association of Shareware QUIK-INSTALL v2.1 │
- echo │ Professionals (ASP). ASP wants │
- echo │ to make sure that the shareware Copyright 1994 Michael L. Wester │
- echo │ principle works for you. If you All rights reserved. │
- echo │ are unable to resolve a shareware │
- echo │ related problem with an ASP │
- echo │ member by contacting the member Michael L. Wester │
- echo │ directly, ASP may be able to Route 6 box 34 │
- echo │ help. The ASP Ombudsman can help Fuquay-Varina, N.C. 27526 │
- echo │ you resolve a dispute or problem 919-552-0767 │
- echo │ with an ASP member, but does not │
- echo │ provide technical support for ┌─────────┐ │
- echo │ member's products. Please write ┌─────┴───┐ │ (R) │
- echo │ to the ASP Ombudsman at 545 echo ──│ │o │────────────────── │
- echo │ Grover Road, Muskegon, MI 49442- │ ┌─────┴╨──┐ │ Association of │
- echo │ 9427 USA, FAX 616-788-2765 or │ │ │─┘ Shareware │
- echo │ send a Compuserv message via └───│ o │ Professionals │
- echo │ CompuServe Mail to ASP Ombudsman ──────│ ║ │──────────────────── │
- echo │ 70007,3536." └────╨────┘ MEMBER │
- echo ├──────────────────────────────────────────────────────────────────────────┤
- echo │ Press a key to continue... │
- echo └──────────────────────────────────────────────────────────────────────────┘
- pause >nul
-
- echo ┌──────────────────────────────────────────────────────────────────────┐
- echo │ Welcome to the super easy QUIK-INSTALL installation program! │
- echo ├──────────────────────────────────────────────────────────────────────┤
- echo │ In less than 5 minutes QUIK-INSTALL can create a self-contained, │
- echo │ fully functional INSTALL.EXE! This text is displayed by the START- │
- echo │ UP batch file. QUIK-INSTALL can execute any file before installation │
- echo │ begins. The QUIK-INSTALL program passes four pieces of information │
- echo │ to the START-UP file. They are: │
- echo └──────────────────────────────────────────────────────────────────────┘
- echo.
- echo The drive you are installing to: %1
- echo The directory you are installing to: %2
- echo The drive you are installing from: %3
- echo The directory you are installing from: %4
- echo.
- echo ┌──────────────────────────────────────────────────────────────────────┐
- echo │ QUIK-INSTALL can perform the entire installation without the use │
- echo │ of batch files. If you do use batch files QUIK-INSTALL can provide │
- echo │ additional, needed functionality to batch file operation. You even │
- echo │ have the option of having the START-UP batch file perform the entire │
- echo │ installation while QUIK-INSTALL simply passes it needed information. │
- echo ├──────────────────────────────────────────────────────────────────────┤
- echo │ Press (D)emo to see more or (C)ontinue to complete installation │
- echo └──────────────────────────────────────────────────────────────────────┘
-
- :keeplooping1
- install k
-
- REM Notice that when testing for keycodes the highest numbers must come
- REM before the lower numbers.
-
- if errorlevel 100 if not errorlevel 101 goto domore
- if errorlevel 99 if not errorlevel 100 goto finishup
- if errorlevel 68 if not errorlevel 69 goto domore
- if errorlevel 67 if not errorlevel 68 goto finishup
-
- goto keeplooping1
-
- :domore
- install 15
- echo.
- echo.
- echo.
- echo.
- echo ┌──────────────────────────────────────────────────────────────────────┐
- echo │ You pressed D to see more of the demo! │
- echo ├──────────────────────────────────────────────────────────────────────┤
- echo │ QUIK-INSTALL allows you to prompt for user input within batch files.│
- echo │ QUIK-INSTALL also determines where it was executed from even if it │
- echo │ was executed from a subdirectory or called from a drive different │
- echo │ from the one it resides on. It then passes this information along │
- echo │ with the drive and directory you are installing to, to the START-UP │
- echo │ batch file. These simple features give you remarkable flexibility. │
- echo │ │
- echo │ Knowing where your install disk resides allows you to unpack EXE │
- echo │ archives, run executable graphic files, copy files, execute setup or │
- echo │ application programs, create directories then copy or unpack files │
- echo │ accordingly and more! The START-UP batch file can do it all! │
- echo ├──────────────────────────────────────────────────────────────────────┤
- echo │ Press (D)emo to see more or (C)ontinue to complete installation │
- echo └──────────────────────────────────────────────────────────────────────┘
-
- :keeplooping2
- install k
-
- if errorlevel 100 if not errorlevel 101 goto domore2
- if errorlevel 99 if not errorlevel 100 goto finishup
- if errorlevel 68 if not errorlevel 69 goto domore2
- if errorlevel 67 if not errorlevel 68 goto finishup
-
- goto keeplooping2
-
- :domore2
- echo.
- echo.
- echo.
- echo.
- echo ┌──────────────────────────────────────────────────────────────────────┐
- echo │ QUIK-INSTALL can reset screen colors within batch files! │
- echo ├──────────────────────────────────────────────────────────────────────┤
- echo │ Calling the INSTALL.EXE while passing it a color code will cause it │
- echo │ to clear the screen in a new color. Example: INSTALL 23 sets the │
- echo │ screen color to blue with white letters. │
- echo │ │
- echo │ Press a few keys to give it a try or press the (C) key to finish │
- echo │ the installation. │
- echo │ │
- echo │ (W)White and green (Y)Yellow and blue (M)Magenta and white │
- echo │ (R)Red and white (G)Green and yellow (X)Black and white │
- echo │ (B)Blue and bright white (A)Cyan and white (Z)Brown and white │
- echo │ │
- echo ├──────────────────────────────────────────────────────────────────────┤
- echo │ Press (D)emo to see more or (C)ontinue to complete installation │
- echo └──────────────────────────────────────────────────────────────────────┘
- echo.
- echo.
- echo.
-
- :keepwaiting
- install k
-
- if errorlevel 122 if not errorlevel 123 goto Z
- if errorlevel 121 if not errorlevel 122 goto Y
- if errorlevel 120 if not errorlevel 121 goto X
- if errorlevel 119 if not errorlevel 120 goto W
- if errorlevel 114 if not errorlevel 115 goto R
- if errorlevel 109 if not errorlevel 110 goto M
- if errorlevel 103 if not errorlevel 104 goto G
- if errorlevel 100 if not errorlevel 101 goto domore3
- if errorlevel 99 if not errorlevel 100 goto finishup
- if errorlevel 98 if not errorlevel 99 goto B
- if errorlevel 97 if not errorlevel 98 goto A
-
- if errorlevel 90 if not errorlevel 91 goto Z
- if errorlevel 89 if not errorlevel 90 goto Y
- if errorlevel 88 if not errorlevel 89 goto X
- if errorlevel 87 if not errorlevel 88 goto W
- if errorlevel 82 if not errorlevel 83 goto R
- if errorlevel 77 if not errorlevel 78 goto M
- if errorlevel 71 if not errorlevel 72 goto G
- if errorlevel 68 if not errorlevel 69 goto domore3
- if errorlevel 67 if not errorlevel 68 goto finishup
- if errorlevel 66 if not errorlevel 67 goto B
- if errorlevel 65 if not errorlevel 66 goto A
-
- goto keepwaiting
-
- :A
- install 63
- goto domore2
-
- :Z
- install 111
- goto domore2
-
- :Y
- install 30
- goto domore2
-
- :X
- install 15
- goto domore2
-
- :W
- install 47
- goto domore2
-
- :R
- install 79
- goto domore2
-
- :M
- install 95
- goto domore2
-
- :G
- install 46
- goto domore2
-
- :B
- install 31
- goto domore2
-
- :domore3
- install 63
- echo ┌──────────────────────────────────────────────────────────────────────┐
- echo │ The QUIK-INSTALL INSTALL.EXE module is only 6.5k in size! │
- echo ├──────────────────────────────────────────────────────────────────────┤
- echo │ The INSTALL.EXE that you distribute royalty-free with your │
- echo │ applications is completely self-contained. All setup information is │
- echo │ stored inside the INSTALL.EXE program. All of QUIK-INSTALL's many │
- echo │ capabilities are packaged inside the tiny 6.5k INSTALL.EXE while a │
- echo │ menu driven interface with full mouse support & context sensitive │
- echo │ help provides an easy, step-by-step set-up process. │
- echo ├──────────────────────────────────────────────────────────────────────┤
- echo │ See for yourself how small the INSTALL.EXE is... │
- echo └──────────────────────────────────────────────────────────────────────┘
-
- dir %3%4\install.exe
-
- echo.
- echo.
- echo Press a key to complete the QUIK-INSTALL installation.
-
- pause >nul
-
-
-
- :finishup
- install 7
-
-