Automatic Installation Notes for...

MacroVirusBUSTER
================

MacroVirusBUSTER can be installed automatically (hands off) 
using the following method.

Step 1 - record a typical installation
Step 2 - locate the setup files on a shared directory
Step 3 - run the setup
Note 1 - install errors
Note 2 - avoiding re-install


Step 1
------

Record a typical installation. To do this run Setup.exe with 
a "-r" switch. This will both install the product and create 
a response file. 

The response file will be created in the Windows directory and 
is called "Setup.iss".

This is a text file and it can be edited if required. Normally
you do not need to do this. 

e.g. to record and installation

>>setup -r

Step 2
------

Include the Setup.iss file with the distributed setup files.

Typically, all setup files (from the distribution diskette) are
located in a shared central network directory. Copy the Setup.iss
file into this directory.  


Step 3
------

To perform an automated installation, run Setup.exe with the 
"-s" switch. This will install the product with no screen display
and no user interaction, using the choices you recorded earlier.

In addition, a log file of the install is created. By default 
this is called Setup.log and will be created in the same directory
as the setup files.

When installing in a network you may want to specify another location
for the log file. To do this use the "-f2" switch. 

e.g. to run an automated installation and log results to the local hard 
drive:

>>n:\central\newinst\mvb\setup -s -f2c:\temp\mvbsetup.log


Note 1
------

You can later check the installation log for errors. At the bottom 
of the log file you will find a line with [ResponseResult].
It will have one of these values:

	0	Success.
	-1	General error.
	-2	Invalid mode.
	-3	Required data not found in the Setup.iss file.
	-4	Not enough memory available.
	-5	File does not exist.
	-6	Cannot write to the response file.
	-7	Unable to write to the log file.
	-8	Invalid path to the InstallShield Silent response file.
	-9	Not a valid list type (string or number).
	-10	Data type is invalid.
	-11	Unknown error during setup.
	-12	Dialogs are out of order.
	-51	Cannot create the specified folder.
	-52	Cannot access the specified file or folder.
	-53	Invalid option selected.


Note 2
------

If you have added the automatic setup command to something like a
login script then you may need to avoid repeated re-installations
every time the user logs in. 

To do this set the log file to the defined name "C:\MVBINST.LOG"
using the "-f2" switch described above. When Setup runs in automatic
mode, it checks for the existence of this file. If it is found, then
it is assumed that installation has already been attempted, and 
Setup immediately terminates.  

If there is a problem with the installation, you can try to correct the 
problem (using the ResponseResult code described above as a guide)
then delete the log file and allow the setup to rerun.  

Once all PCs have sucessfully installed, remove the setup from the
login script, and then the log files can also be deleted if required.  


