Virus Scanner Configuration

WinZip® supports many virus scanners that can be run from Windows or from the DOS command line, with a few important limitations noted below. Virus scanners can be run using the Virus Scan entry in the Actions menu or during CheckOut operations if the Run virus scanner option in the CheckOut dialog box is selected.

Virus scanner configuration is done from the Program Locations tab of the Configuration dialog.

When you first install WinZip, it automatically searches for virus scanners in the folders specified by your system's PATH and in the "App Paths" Windows registry entries. If one of the supported virus scanners is found, WinZip will automatically use the scanner. A listing of and further information about currently supported virus scanners can be found on the WinZip web site at http://www.winzip.com/xvirus.htm.

If the installation procedure does not automatically find one of the aforementioned virus scanners, you can have WinZip automatically fill in the Parameters field by selecting the desired scanner from the drop-down combo box (for example, scan.exe) and then adding the full filename for the scanner to the Scan program field (for example, c:\mcafee\scan.exe instead of just scan.exe).

You can also configure WinZip to work with another scanner. See the section titled Virus Scanner Configuration Details below for more information.

Notes:

WinZip's default virus scanner parameters work with the versions of the scanners that were tested. If the authors of a scanner change the command line parameters in future releases of the scanner, then WinZip's default parameters for the scanner may no longer work. For example, McAfee SCAN 2.1 parameters are incompatible with prior versions of SCAN. Version 2 requires the /ALL parameter while version 1 requires /A.

Unless a virus is found, no manual intervention is required while running most virus scanners. However, some virus scanners, such as TFINDVIR, always need to be closed manually, because they do not currently support options to close automatically.

Virus Scanner Configuration Details

This portion of the documentation describes how to configure WinZip to work with a scanner that is not listed above. Do not use WinZip's virus scanning support with a different virus scanner unless you have read and understood the following information.

To configure WinZip to work with a scanner, fill in the following fields in the Program Locations tab of the Configuration dialog:

Special character sequences for the Parameters field are:

 

*.*

indicates where WinZip should substitute the drive, folder, and the *.* characters for the files that are to be scanned. For example, "c:\temp\dir\*.*".

%d

indicates where WinZip should substitute the drive and folder of the files that are to be scanned. Note that the wild card characters *.* are NOT included when you use %d.

%f

indicates where WinZip should substitute the name of a temporary "report file". Report files should ONLY be used when running DOS virus scanners.

%wscan

a special parameter required for McAfee's WSCAN program.

If you do not specify any of the aforementioned special character sequences WinZip will append the filenames to be scanned at the end of the scanner command line.

Be sure to specify any parameters necessary to cause the scanner to check folders of the drive and folder of the files that are to be scanned.

To configure WinZip for a Windows-based virus scanner, first ascertain that the virus scanner reports suspected viruses by displaying a dialog box. If the scanner simply writes to a log file when a virus is found you (and WinZip) will not know about the problem.

To configure WinZip for a DOS-based virus scanner, be sure to verify that the scanner can either be used with the Run minimized option (see below for details) or issues a prompt if a virus is found. If neither of these conditions is met and a virus is found you (and WinZip) will not know about the problem.

The Run minimized check box should only be used for DOS scanners under the following circumstances: