home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CYBERdelic Screensavers
/
QuantumAxcess-CyberdelicScreenSaversForWindows-Win31.iso
/
scr
/
bmpsa1
/
install.bat
< prev
next >
Wrap
DOS Batch File
|
1994-01-01
|
8KB
|
192 lines
@Echo OFF
CLS
Echo Installing Windows Bitmaps Screen Saver Ver 2.5
Echo
Echo The 2 Programs Bitmaps.SCR & Bitmaps.EXE are Copyright 1993, 1994 by
Echo Dave Charbonnet Jan 1994 all right reserved.
Echo
Echo Use these Programs at your own risk! Although I thoroughly tested it
Echo and scanned it for all Viruses I knew of, and did not put any harmful
Echo or risky code in it on purpose, I am not willing to be liable in ANY
Echo Way for Problems you may incur and assume to be caused by this program.
Echo Thus by continuing to install this program you are agreeing to
Echo relinquish any legal actions against Me, Dave Charbonnet or the
Echo company I work with DCI Computers.
Echo
Echo If you do not agree to the above then ABORT this installation NOW by
Echo Hitting Ctrl Break or Turning off or Resetting this computer Now!
Pause
Echo
Echo This Program Requires Windows, and requires Windows to be setup to run
Echo in 256 or more Colors, ie a Super VGA Mode. If you are not running
Echo Windows at 256 on more colors there is NO reason to use this program
Echo and you may as well abort this installation now by hitting Ctrl Break
Echo or Ctrl C. and Answering Y for Yes to Abort BAT File.
Pause
CLS
Echo Searching for Windows Directory ... Please wait a few Seconds!
Echo
IF NOT EXIST Bitmaps.scr GOTO ERR1
IF EXIST WIN.COM GOTO ERR5
SET WD=
IF EXIST C:\WINNT\NUL SET WD=C:\WINNT
IF EXIST E:\WIN\WIN.COM SET WD=E:\WIN
IF EXIST E:\WINDOWS\WIN.COM SET WD=E:\WINDOWS
IF EXIST D:\WIN\WIN.COM SET WD=D:\WIN
IF EXIST D:\WINDOWS\WIN.COM SET WD=D:\WINDOWS
IF EXIST C:\WIN\WIN.COM SET WD=C:\WIN
IF EXIST C:\WINDOWS\WIN.COM SET WD=C:\WINDOWS
IF NOT EXIST %WD%\WIN.COM IF NOT EXIST C:\WINNT\NUL GOTO ERR2
IF NOT EXIST %WD%\SYSTEM\SYSTEM.DRV GOTO ERR2
Echo
CLS
Echo Starting Installation Now!
Echo I will now copy 4 Files (Bitmaps.*) to %WD%
Pause
Echo Copying Bitmaps SCReen Blanker to %WD%
COPY Bitmaps.SCR %WD%
Echo
Echo Copying Bitmaps Executable File Too so you can Start it at will.
Echo If YOU Add its Icon to your Menu/Program Manager Utitlites Menu.
Echo
COPY BITMAPS.EXE %WD%
Echo Copying Documentation & Registration File to %WD%
Copy Bitmaps.Txt %WD%
Echo
DEL Bitmaps.SCR > nul
DEL BITMAPS.TXT > nul
DEL BITMAPS.EXE > nul
IF EXIST %WD%\BITMAPS.INI DEL %WD%\BITMAPS.INI
REM NOW TRY TO COPY VB Runtime
IF EXIST %WD%\SYSTEM\VBRun300.DLL GOTO SKIPVBRUN
IF EXIST %WD%\VBRun300.DLL GOTO SKIPVBRUN
IF NOT EXIST VBRun300.DLL GOTO TRYZIP
Echo Copying VBRun300.DLL to System Dir
COPY VBRUN300.DLL %WD%\SYSTEM
GOTO SKIPVBRUN
:TRYZIP
IF NOT EXIST BMPSAV2.EXE GOTO SKIPVBRUN
IF EXIST BMPSAV2.EXE BMPSAV2 *.DLL -o %WD%\SYSTEM
IF EXIST %WD%\SYSTEM\VBRun300.DLL GOTO SKIPVBRUN
IF EXIST BMPSAV2.ZIP PKUNZIP -o BMPSAV2
IF NOT EXIST VBRun300.DLL GOTO SKIPVBRUN
Echo Copying VBRun300.DLL to System Dir
COPY VBRUN300.DLL %WD%\SYSTEM
:SKIPVBRUN
IF EXIST VBRUN300.DLL DEL VBRUN300.DLL >nul
IF EXIST INSTALL2.BAT DEL INSTALL2.BAT >nul
REM Now Try to Move Sample Bitmaps if Downloaded
IF NOT EXIST BMPSAV3.* GOTO NOBMPS
IF EXIST BMPSAV3.EXE BMPSAV3 *.BMP -o %WD%
IF EXIST BMPSAV3.EXE IF EXIST %WD%\1*.BMP GOTO NOBMPS
IF EXIST BMPSAV3.ZIP PKUNZIP BMPSAV3 -o
IF NOT EXIST 1*.BMP GOTO NOBMPS
Echo
Echo Copying Sample Quality Bitmaps to your windows directory
COPY 1*.BMP %WD%
:NOBMPS
IF NOT EXIST WIN.COM IF EXIST 1*.BMP DEL 1*.BMP > nul
IF EXIST INSTALL3.BAT DEL INSTALL3.BAT >nul
REM FINAL Checks
IF NOT EXIST %WD%\Bitmaps.SCR GOTO Err3
IF NOT EXIST %WD%\Bitmaps.TXT GOTO Err3
IF NOT EXIST %WD%\Bitmaps.EXE GOTO Err3
IF NOT EXIST %WD%\SYSTEM\VBRun300.DLL IF NOT EXIST %WD%\VBRun300.DLL GOTO Err4
CLS
Echo To complete the installation you need to tell Windows to USE this
Echo Screen Saver. Restart Windows and Start the Control panel Program.
Echo Within Control Panel Run the Desktop Utility. Within Desktop Set the
Echo Screen Saver Section to Bitmaps by DCI and set the Delay Interval
Echo as you desire. You can run this program separately (without waiting
Echo for the delay time to pass by setting up a separate application in
Echo a program manager group of your choice to execute the program
Echo Bitmaps.EXE located in your windows directory.
Echo
Echo When the Screen Saver is running Remember the Special Key Stroke
Echo combination of SHIFT H for Help with the other Special Keyboard
Echo commands and to view the complete documentation (in the file
Echo Bitmaps.TXT in your Windows Directory).
Echo
Echo The 1st Time you run this screen saver it will be looking for Bitmaps
Echo that start with a 1 as their file name in you windows directory. If
Echo you do not have any such Bitmaps their you will just get an error
Echo message! Part 3 of this 3 part Package contains about 7 Quality
Echo 256 Color Bitmaps that start with a 1. If you have no such files
Echo you can run this programs Setup Routine (which edits the ASCII
Echo bitmaps.ini file in your windows directory) by executing Setup in
Echo Control Panels Desktop Screen Saver Section or at any time this
Pause
Echo saver is running by hitting SHIFT S, Also Setup gets run
Echo automatically if the program encounters most errors. Within
Echo Setup can specify Bitmaps Patterns other than 1*.BMP (BMPs that
Echo start with a 1) as well as bitmaps locations other than your windows
Echo directory. We set it up by default to show 1*.BMP files so that
Echo it will skip the BMPs that come with windows as they are not 256
Echo color bitmaps and do not fill the screen.
Echo
Echo
Echo You can Delete any left over files in the Temp Directory you ran this
Echo install from. Or give the ones you downloaded to a friend!
GOTO END
:ERR1
Echo
Echo ERROR!
Echo To Install This you must in the directory with the unZipped files
Echo from BMPSav you downloaded... Install Aborted. Try Again.
GOTO END2
:ERR2
Echo
Echo ERROR!
Echo I Could Not Find your Windows Directory! You will have to Install this
Echo Manually. Or Try Running the Setup Routine from Windows Program Manager.
Echo Displaying Documention that includes Manual Installation Instructions
Pause
Type %WD%\Bitmaps.TXT | more
GOTO END2
:ERR3
Echo
Echo ERROR!
Echo Installation did NOT Seem to Complete Suscessfully!
Echo Could Not Find the 3 Files Bitmaps.SCR & Bitmaps.INI & Bitmaps.TXT
Echo in your Windows Directory!
Echo Check your Free Disk Space and Try the Manual Installation.
Echo Showing Documentation Now which contains Manual Installation Instructions.
Pause
Type %WD%\Bitmaps.TXT | more
GOTO END
:ERR4
IF EXIST %WD%\VBRun300.DLL GOTO END
Echo
Echo Problem! You will need the free utility VBRun300.DLL to be in your
Echo windows or Windows System Directory before you can use this program!
Echo It is available on many Bulletin Boards or from Us and is a common
Echo routine you would need to run any Visual Basic Ver 3 Application
Echo like this one. It is on Compuserve the 2nd File of this Package
Echo in the Win Fun Directory with Screen Savers in a File called
Echo BMPSAV2.ZIP
Echo
Echo Install Incomplete you need VB Runtime!
pause
GOTO END2
:ERR5
Echo Error! You seem to be in your windows Directory
Echo You were supposed to install from a Temporary Directory
Echo NOT your Windows Directory
GOTO END2
:END
Echo
Echo Installation Completed!...SUCESSFULLY...Hit a key to Exit Install
Pause>nul
Echo
Echo Ignore the next message...BAT file Missing
DIR README.DOC
DEL INSTALL.BAT >nul
:END2