home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1997 November
/
PCWorld_1997-11_cd.bin
/
software
/
sharware
/
antiviry
/
scanDOS
/
INSTALL.DAT
< prev
next >
Wrap
Text File
|
1997-09-02
|
5KB
|
198 lines
@DefineProject
@Name = "VirusScan"
@Version = "3.0.4"
@OutDrive = C
@Subdir = "\\MCAFEE"
@AssumeHardDisk = 1
@EndProject
@ClearOption(1001)
@ClearOption(1002)
@ClearOption(2001)
@ClearOption(2002)
@ClearOption(3001)
@ClearOption(3002)
@ClearOption(4001)
@ClearOption(4002)
@ClearOption(5000)
@ClearOption(5001)
@ClearOption(9000)
@ClearOption(9001)
@DefineVars
@Drive @SCANDrive = C
@Dir @SCANDir = "\\MCAFEE\\VIRUSCAN"
@EndVars
@Display
@cls
Welcome to McAfee VirusScan Installation!
This Install program will copy the VirusScan files to your
system, back-up and update your AUTOEXEC.BAT if you allow it.
Thank you for evaluating McAfee VirusScan
Press Escape at any time to abort installation
Copyright (c) 1994-1997 McAfee Associates, Inc.. All right reserved.
@Pause
@EndDisplay
GetAll:
@ClearOption(4001)
@ClearOption(4002)
@GetOutDrive @SCANDrive
@suppress(A)
@suppress(B)
@Cls
VirusScan Installation Drive
This allows you to specify which hard disk or partition to install
the VirusScan files on. This includes the program and documentation
files, along with the other companion files for the program. The
next screen will allow you to specify which directory to install
VirusScan in.
@EndOutDrive
@GetSubDir @SCANDir
In which directory of your @SCANDrive drive should all VirusScan files be installed?
@EndSubDir
@If (@Exists("@SCANDrive:\\@SCANDir\\SCANPM.EXE"))
@Goto Update
@EndIf
@If (@Exists("@SCANDrive:\\@SCANDir\\CLEAN.EXE"))
@Goto Update
@EndIf
@If (@Exists("@SCANDrive:\\@SCANDir\\VSHIELD.EXE"))
@Goto Update
@EndIf
@Goto SCAN_OK
Update:
@GetOption
VirusScan appears to be installed in @SCANDrive:@SCANDir.
Do you wish to update the prior version?
@Option 4001 = "Yes, Update prior version"
@Option 4002 = "No, Select another drive"
@EndOption
@If (4002 [= @Option) @Goto GetAll @EndIf
SCAN_OK:
@If (@Exists("C:\\AUTOEXEC.BAT"))
@GetOption
Back-Up and Update Your AUTOEXEC.BAT File
To fully install VirusScan, a few changes should be made to your
AUTOEXEC.BAT file. Your PATH statement will be updated to include the
MCAFEE directory, and VShield statements will be added to allow VShield
to load each time you reboot your machine.
Do you want Install to do this for you?
@Option 5000 = "Yes, Back-Up and Modify AUTOEXEC.BAT."
@Option 5001 = "No, Save sample modification to MCAFEE.BAT."
@EndOption
@else
@display
The AUTOEXEC.BAT file cannot be found in your root directory.
Normal Installation would modify this file to load
VirusScan's VShield automatically when you reboot your machine
A sample file is provided in @SCANDrive:@SCANDir\VSH.TXT
@pause
@enddisplay
@EndIf
@endif
/*
* All information available now, go ahead and copy files
*/
CompleteInstall:
@copy("C:\\AUTOEXEC.BAT","C:\\AUTOEXEC.MCF")
@If (@Exists("C:\\MCAFEE.BAT"))
@system("del C:\\MCAFEE.BAT > nul")
@endif
@system("echo REM >> C:\\MCAFEE.BAT")
@system("echo REM This line loads McAfee VSHIELD >> C:\\MCAFEE.BAT")
@system("echo @SCANDrive:@SCANDir\\VSHIELD >> C:\\MCAFEE.BAT")
@system("echo REM >> C:\\MCAFEE.BAT")
@system("type C:\\AUTOEXEC.BAT >> C:\\MCAFEE.BAT")
@system("echo REM >> C:\\MCAFEE.BAT")
@system("echo REM This line reloads McAfee VSHIELD after any network or keyboard drivers >> C:\\MCAFEE.BAT")
@system("echo @SCANDrive:@SCANDir\\VSHIELD /reconnect >> C:\\MCAFEE.BAT")
@system("echo REM >> C:\\MCAFEE.BAT")
@if (5001 [= @Option)
@else
@copy("C:\\MCAFEE.BAT","C:\\AUTOEXEC.BAT")
@setautoexec
@Overwrite
@path = "@SCANDrive:\\@SCANDir;"
@endautoexec
@copy("C:\\AUTOEXEC.BAT","C:\\MCAFEE.BAT")
@endif
@If (!(@Exists("@SCANDrive:\\@SCANDir")))
@MkDir ("@SCANDrive:\\@SCANDir")
@EndIf
@MoveCStr(01,01,31," Copying VirusScan for DOS files... ")
@Copy("SCANPM.EXE","@SCANDrive:\\@SCANDir\\*.*")
@Copy("SCAN.DAT","@SCANDrive:\\@SCANDir\\*.*")
@Copy("NAMES.DAT","@SCANDrive:\\@SCANDir\\*.*")
@Copy("CLEAN.DAT","@SCANDrive:\\@SCANDir\\*.*")
@Copy("FILE_ID.DIZ","@SCANDrive:\\@SCANDir\\*.*")
@DefineDisk
@Label = "Disk #1"
@BeginLib SPMI304E.001
@F CHKVSHLD.EXE @S 19109 @O @SCANDrive:\\@SCANDir\\CHKVSHLD.EXE
@F PACKING.LST @S 1765 @O @SCANDrive:\\@SCANDir\\PACKING.LST
@F README.1ST @S 16858 @O @SCANDrive:\\@SCANDir\\README.1ST
@F RESELLER.TXT @S 30172 @O @SCANDrive:\\@SCANDir\\RESELLER.TXT
@F VALIDATE.EXE @S 16326 @O @SCANDrive:\\@SCANDir\\VALIDATE.EXE
@F VSHEML.EXE @S 34055 @O @SCANDrive:\\@SCANDir\\VSHEML.EXE
@F VSHIELD.EXE @S 207927 @O @SCANDrive:\\@SCANDir\\VSHIELD.EXE
@F VSHLDCRC.EXE @S 44987 @O @SCANDrive:\\@SCANDir\\VSHLDCRC.EXE
@F WHATSNEW.TXT @S 19685 @O @SCANDrive:\\@SCANDir\\WHATSNEW.TXT
@EndLib
@EndDisk