home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 June
/
PCWorld_1998-06_cd.bin
/
software
/
sharware
/
antiviry
/
scanDOS
/
INSTALL.DAT
< prev
next >
Wrap
Text File
|
1998-03-19
|
5KB
|
200 lines
@DefineProject
@Name = "McAfee VirusScan"
@Version = "3.1.7"
@OutDrive = C
@Subdir = "\\NETA"
@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 = "\\NETA\\VIRUSCAN"
@EndVars
@Display
@cls
Welcome to McAfee VirusScan Installation!
This Install program will copy the McAfee 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-1998 Network Associates, Inc.. All right reserved.
@Pause
@EndDisplay
GetAll:
@ClearOption(4001)
@ClearOption(4002)
@GetOutDrive @SCANDrive
@suppress(A)
@suppress(B)
@Cls
McAfee VirusScan Installation Drive
This allows you to specify which hard disk or partition to install
the McAfee 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 McAfee VirusScan in.
@EndOutDrive
@GetSubDir @SCANDir
In which directory of your @SCANDrive drive should all McAfee VirusScan
files be installed?
@EndSubDir
@If (@Exists("@SCANDrive:\\@SCANDir\\SCAN.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
McAfee 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 McAfee VirusScan, a few changes should be made to your
AUTOEXEC.BAT file. Your PATH statement will be updated to include the
NETA 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 McAfee VirusScan for DOS files... ")
@Copy("SCAN.EXE","@SCANDrive:\\@SCANDir\\*.*")
@Copy("SCAN.DAT","@SCANDrive:\\@SCANDir\\*.*")
@Copy("NAMES.DAT","@SCANDrive:\\@SCANDir\\*.*")
@Copy("CLEAN.DAT","@SCANDrive:\\@SCANDir\\*.*")
@Copy("FILE_ID.DIZ","@SCANDrive:\\@SCANDir\\*.*")
@Copy("CHKVSHLD.EXE","@SCANDrive:\\@SCANDir\\*.*")
@DefineDisk
@Label = "Disk #1"
@BeginLib SCNI317E.001
@F PACKING.LST @S 1764 @O @SCANDrive:\\@SCANDir\\PACKING.LST
@F README.1ST @S 19582 @O @SCANDrive:\\@SCANDir\\README.1ST
@F RESELLER.TXT @S 41163 @O @SCANDrive:\\@SCANDir\\RESELLER.TXT
@F VALIDATE.EXE @S 51200 @O @SCANDrive:\\@SCANDir\\VALIDATE.EXE
@F VSHEML.EXE @S 34055 @O @SCANDrive:\\@SCANDir\\VSHEML.EXE
@F VSHIELD.EXE @S 207941 @O @SCANDrive:\\@SCANDir\\VSHIELD.EXE
@F VSHLDCRC.EXE @S 44999 @O @SCANDrive:\\@SCANDir\\VSHLDCRC.EXE
@F WHATSNEW.TXT @S 23002 @O @SCANDrive:\\@SCANDir\\WHATSNEW.TXT
@EndLib
@EndDisk