Using the AUTOINST Utility
272
Management Edition
AUTOINST.EXE also adds the following section and key to WIN.INI:
[NetworkAssociates]
NetworkAssociatesInstalled=Yes
These lines prevent AUTOINST from adding the installer’s executable path to
the RUN= line more than once. If on a subsequent server login, AUTOINST
runs, it will not alter the RUN= line if it finds the
NetworkAssociatesInstalled
key. Without this, the users will run the installer SETUP.EXE each time they
log in.
Optional parameters
The optional /FORCE parameter will add to the RUN= key, regardless of
whether the AUTOINST program has been run before.
So, to run the Update Requester you need something like this example:
MAP ROOT I:=SERVER\SYS:PUBLIC\REQUESTR
#AUTOINST C:\WINDOWS I:MEUPRQ16.EXE /FORCE
DOS error levels
AUTOINST.EXE returns DOS error levels that may be tested within batch
files. Consult the following table for an explanation of these levels:
Error level
Description
4
The program failed the integrity check. The file is corrupted or
has been tampered with.
3
An invalid parameter was passed to AUTOINST.
2
Unable to locate WIN.INI file in specified location.
1
Unable to read file; file too large.
0
Program completed successfully.