home *** CD-ROM | disk | FTP | other *** search
/ Magazyn WWW 1998 October / www_10_1998.iso / prog / w32 / ssh / sshwin.exe / Fsssh.lib / AUTOINST.TXT < prev    next >
Text File  |  1997-08-28  |  45KB  |  1,069 lines

  1.  
  2.     =================================================================
  3.     F-PROT for Windows
  4.  
  5.     AUTOINST installation utility
  6.  
  7.     Specification version   : 1.18
  8.     Last update             : 30.07.1997
  9.  
  10.     Urmas Rahu
  11.     Data Fellows Ltd.
  12.  
  13.     
  14.     NOTE:   This specification is implemented by Autoinst versions
  15.             97.03a0 and later.  However, a small number of features
  16.             of this specification are not supported by Autoinst yet:
  17.             see NOTIMPL.TXT for a list of such features.
  18.  
  19.     =================================================================
  20.  
  21.  
  22.  
  23. ===================================================
  24. CONTENTS
  25. ===================================================
  26.  
  27.     [1]     General
  28.     [2]     Invoking the program
  29.     [3]     Installing the files
  30.     [4]     Finding the local Windows directory
  31.     [5]     Administration features
  32.     [6]     Forcing preferences
  33.     [7]     Settings for AUTOINST
  34.     [8]     Gatekeeper's preferences
  35.     [9]     F-Agent
  36.     [10]    FPW
  37.     [11]    Windows version of AUTOINST
  38.     [12]    Installing TSRs (VIRSTOP etc)
  39.     [13]    Win 32 version of AUTOINST
  40.     [14]    SNMP
  41.     [15]    Generic groups
  42.  
  43. ===================================================
  44.  
  45.  
  46.     
  47.         
  48.     
  49. [1] General
  50. ===========
  51.  
  52. AUTOINST will enable the system administrators to have Gatekeeper
  53. and/or FPW installed automatically on workstations that log on a
  54. network: the workstations will call a login batch script (LOGIN.BAT
  55. or smth) that will invoke AUTOINST.  The program files and 
  56. configuration files will be placed on a network drive by the 
  57. administrator; AUTOINST will copy them to the local drive and
  58. make necessary changes to user's WIN.INI and SYSTEM.INI.  AUTOINST
  59. will also handle updating and uninstallation, and can be used for
  60. changing the user's configuration (preferences).
  61.  
  62. Security issues:
  63.  
  64.     [1.1] AUTOINST and its initialization file can be write protected
  65.           by the administrator so that the workstations will only have
  66.           read access to them.
  67.  
  68.     [1.2] AUTOINST will be checksum-protected to avoid its infection.
  69.  
  70.  
  71.  
  72. [2] Invoking the program
  73. ========================
  74.  
  75. The installation parameters for AUTOINST are stored in an inifile,
  76. whose name may be given to AUTOINST on the command line:
  77.  
  78.     AUTOINST [switches] [inifile]
  79.  
  80. If no inifile is given, AUTOINST will use AUTOINST.INI in the
  81. same subdirectory where it resides.  Throughout this document,
  82. AUTOINST.INI will refer to the inifile for AUTOINST.
  83.  
  84.  
  85.  
  86. [3] Installing the files
  87. ========================
  88.  
  89. [3.1] The [Install] section of AUTOINST.INI will specify the source 
  90. directory (from where the files will be copied, on a network drive) 
  91. and the destination directory (where the files will be installed,
  92. on a local drive), eg:
  93.  
  94.     [Install]
  95.     InstallFrom=V:\GATEKEEP
  96.     InstallTo=C:\WINDOWS\GATEKEEP
  97.  
  98. Note: The "InstallTo=" and "InstallFrom=" entries may contain UNC pathnames.
  99.  
  100.     [3.1.1] Since version 96.10a2, Autoinst supports relative pathnames in 
  101.     the "InstallFrom=" entry: in that case, the path name is relative to
  102.     the directory where the Autoinst executable is located.
  103.     
  104. [3.2] Alternatively, "InstallToWin" may be used in place of 
  105. "InstallTo" to specify a destination path relative to the user's 
  106. Windows directory, eg:
  107.  
  108.     InstallToWin=GATEKEEP
  109.  
  110. would install the program files to C:\WINDOWS\GATEKEEP if the workstation's
  111. Windows directory happened to be C:\WINDOWS (see section [4] about
  112. determining the user's Windows directory).  If both "InstallTo=" and
  113. "InstallToWin=" are specified, "InstallTo=" will be used.
  114.  
  115. [3.3] If the destination directory does not exist, it will be created.
  116.  
  117. [3.4] The source directory may be write protected by the administrator.
  118.  
  119. [3.5] If the "InstallFrom=" entry is not present or is empty, no error message
  120. will be produced.  If it is not empty, error message will be produced if
  121. the specified directory does not exist, or if the specified destination
  122. directory is invalid (does not exist and creation fails).
  123.  
  124. [3.6] AUTOINST would not have to copy files from the source to the destination 
  125. directory each time it was invoked.  The administrator may create a file
  126. named UPDATE.INI in the source directory and write an entry
  127.  
  128.     [LastChange]
  129.     LastChange=YY-MM-DD
  130.     
  131. specifying the date of creation or last change of the source files.
  132. AUTOINST will copy UPDATE.INI to the destination directory; therefore,
  133. both UPDATE.INIs in the source and destination directories will be identical
  134. after the installation.  When AUTOINST gets invoked again, it will perform
  135. the copying only if the dates in the UPDATE.INIs in the source and destination
  136. directories don't match (or if either of them is missing, of course).
  137.  
  138. [3.7] AUTOINST can also be used for performing remote installations.  This
  139. means that AUTOINST will not perform copying of files from a net drive to
  140. a local drive: the installed application will be run straight from the net
  141. drive.  For changing inifiles appropriately, AUTOINST will have to know
  142. where the application resides; this is specified in the [Install] section
  143. as eg:
  144.  
  145.     InstallRemote=V:\GATEKEEP
  146.  
  147. "InstallFrom=" takes precedence over "InstallRemote=".  "InstallTo=" and
  148. "InstallToWin=" will be ignored if "InstallFrom=" is not given.
  149.  
  150. Note: The "InstallRemote=" entry may contain a UNC pathname.
  151.  
  152.     [3.7.1] Since version 96.10a2, Autoinst supports relative pathnames in 
  153.     the "InstallRemote=" entry: in that case, the path name is relative to
  154.     the directory where the Autoinst executable is located.
  155.  
  156. [3.8] For keeping track of installed software, AUTOINST will store the
  157. ID and the location of the software it installs in the [DFAPPS] section
  158. of user's WIN.INI, eg:
  159.  
  160.     [DFAPPS]
  161.     FPW=C:\WINDOWS\GATEKEEP
  162.  
  163. AUTOINST assumes that either F-PROT for Windows or Gatekeeper or both are
  164. installed, and the ID for them is "FPW".  For installing other software,
  165. the ID should be specified in the [Install] section, as eg:
  166.  
  167.     SoftwareID=MySoftware
  168.  
  169. No entry will be written to WIN.INI if a "null" software ID is specified:
  170.  
  171.     SoftwreID=0
  172.  
  173. IMPORTANT: Do NOT use a different ID when installing Gatekeeper or FPW;
  174. Either set "SoftwareID=FPW", or leave the "SoftwareID=" entry out.
  175.  
  176.  
  177.  
  178. [4] Finding the local Windows directory
  179. =======================================
  180.  
  181. [4.1] AUTOINST will normally have to alter the workstation's local WIN.INI and
  182. SYSTEM.INI; for that, it would need to know the location of the workstation's
  183. Windows directory.  The "WindowsDirectory=" entry in the [Local] section of
  184. AUTOINST.INI will determine that.  As different PCs in the network may have
  185. different locations for their Windows directories, multiple paths may be given,
  186. eg:
  187.  
  188.     [Local]
  189.     WindowsDirectory=C:\WINDOWS
  190.     WindowsDirectory=C:\WINWG
  191.  
  192. AUTOINST will examine the specified paths for the existence of certain Windows'
  193. files to make sure which of them is the proper Windows directory, if any.
  194.  
  195. [4.1.1] Autoinst versions 96.04 and later accept environment variables in 
  196. "WindowsDirectory=" entries in order to support network installations of
  197. Windows.  The environment variable name must be enclosed in double quotation
  198. marks, eg:
  199.  
  200.     WindowsDirectory=H:\HOME\"USER"\WINDOWS
  201.  
  202. [4.2] In case Autoinst is being run in a DOS session under Windows, the Windows
  203. directory will be obtained from the WINDIR environment variable, and the method
  204. described in [4.1] will only be used if this directory is not recognized as the
  205. Windows directory.
  206.  
  207. [4.3] Note that none of the above ([4.1-2]) will apply for the Windows versions 
  208. of Autoinst (see [11.3]).
  209.  
  210.  
  211.         
  212. [5] Administration features
  213. ===========================
  214.  
  215. Note that none of the settings here will have any effect if the 
  216. preferences are not otherwise changed (see [6.4]).
  217.  
  218. Gatekeeper and/or FPW may be set up in a networked environment so that 
  219. information about infected files will be sent to the administrator (for
  220. FPW, there are also other admin-user communication features, see the
  221. documentation for FPW).  For that, the communication directory must be 
  222. established on a shared drive.  The administrator will have to properly 
  223. install F-PROT for Windows on his system to set up the communications 
  224. directory and to manage that information.
  225.  
  226. [5.1] Once this has been done, the administrator can specify the 
  227. communication parameters in the [Administration] section of AUTOINST.INI, 
  228. as eg:
  229.  
  230.     [Administration]
  231.     AdministrationEnabled=1
  232.     CommunicationDirectory=V:\GATEKEEP\SHARED
  233.     SpoolDirectory=C:\WINDOWS\GATEKEEP\SHARED
  234.     UserName=%USER%
  235.     WorkstationName=%USER%'s PC
  236.  
  237. The rest of the settings in the [Administration] section will only take
  238. effect if the "AdministrationEnabled=" entry has a nonzero value.  However,
  239. since version 96.07b0, Autoinst will set the user and workstation names
  240. even if AdministrationEnabled= is missing or has a value if zero.
  241.     
  242. Note: The "CommunicationDirectory=" and "SpoolDirectory=" entries may 
  243. contain UNC pathnames.
  244.  
  245. [5.2] The "UserName=" and "WorkstationName=" entries specify the names of
  246. environment variables that contain the user and workstation names for the
  247. local workstation, respectively.  These names are necessary for the
  248. administrator to identify the infected computer: upon finding an infected 
  249. file, Gatekeeper (FPW) will send a message to the administrator, including 
  250. the user and workstation names in the message.  AUTOINST will fetch the 
  251. values of the specified environment variables and store them in F-PROTW.CFG.
  252. The environment variables must be between the "%" characters; the rest of
  253. the text will be stored in F-PROTW.CFG as given.
  254.  
  255. All these parameters are actually stored in the configuration file for
  256. FPW and Gatekeeper, F-PROTW.CFG.  AUTOINST will simply take the values
  257. specified in AUTOINST.INI, perform the substitutions of environment 
  258. variables, and store them in F-PROTW.CFG.
  259.     
  260. Note: 
  261. Upon activation, Gatekeeper will prompt for the user for the username and 
  262. workstation name in case one of them is not specified, while administration
  263. has been enabled.
  264.  
  265.     [5.2.1] The user and workstation names can also be obtained from 
  266.     initialization files instead of the environment variables.  For that,
  267.     "UserNameFromIni=" and "WorkstationNameFromIni=" can be specified.  
  268.     The format for these entries is "inifile|section|entry".  For example, 
  269.     if there was an entry
  270.  
  271.         UserNameFromIni=C:\TOOLS\PCTCP\PCTCP.INI|pctcp general|full-name
  272.  
  273.     then the user name would be obtained from C:\TOOLS\PCTCP\PCTCP.INI,
  274.     from the "full-name=" entry in the [pctcp general] section.  If there
  275.     is no full pathname specified for the initialization file, it is 
  276.     assumed that the file is in the user's Windows directory.
  277.  
  278.     The "section" part of the entry can be a single space (" ") to specify
  279.     that the entry in an inifile is not part of any section, eg
  280.  
  281.         UserNameFromIni=C:\USER.INI| |full-name
  282.  
  283.     [5.2.2] Multiple "UserNameFromIni=" and "WorkstationNameFromIni=" 
  284.     entries may be given.  In that case, the first entry for which the 
  285.     specified value is found, will be used.  Error message will be 
  286.     produced only if none of the given entries points to a value in 
  287.     an inifile.
  288.  
  289. [5.3] If administration is to be enabled, AUTOINST will create an appropriate
  290. subdirectories structure on the local workstation.  Gatekeeper and FPW will
  291. use these directories as a temporary storage before the data gets sent to 
  292. the shared directory created by the administrator.  These directories will
  293. be created under the directory specified in the "SpoolDirectory=" entry;
  294. if no such entry is present, a directory named "SHARED" under the program
  295. files directory (see section [3]) will be used.  The directories created 
  296. under the specified directory are:
  297.  
  298.     +--INFECT       (used for storing infected files)
  299.     |--REPORTS      (used for storing reports and messages)
  300.     \--SUSPECT      (used for storing suspectedly infected files)
  301.  
  302. The "SpoolDirectory=" entry should always be specified if remote 
  303. installations (see [3.7]) are made, AUTOINST will give an error
  304. message if the entry is not present with a remote installation.
  305.  
  306. [5.4] If administration is to be enabled, AUTOINST will make the following
  307. changes to the settings of the installed FPW: (1) Enable network features, 
  308. (2) Switch to user mode, (3) Disable single installation setting.
  309.  
  310.  
  311.  
  312. [6] Forcing preferences
  313. =======================
  314.  
  315. The settings for FPW and Gatekeeper are stored mainly in F-PROTW.CFG,
  316. and partially in some other files, like DFAPPS.INI and F-PROTW.INI.
  317.  
  318. [6.1] AUTOINST will copy the files from the directory given in the 
  319. "PreferencesFrom=" entry in the [Preferences] section to the local 
  320. workstation's Windows directory, but the files previously residing
  321. there will not be overwritten.  This will make sure that the changes 
  322. to the settings made by a user will be retained.  For example:
  323.  
  324.     [Preferences]
  325.     PreferencesFrom=V:\GATEKEEP\USERS
  326.  
  327. The administrator may thereby specify different configurations for 
  328. different user groups by specifying different AUTOINST.INI configu-
  329. ration files with pointers to different preferences directories for
  330. distinct user groups.
  331.  
  332. Note: The "PreferencesFrom=" entry may contain a UNC pathname.
  333.  
  334.     [6.1.1] Since version 96.09a0, Autoinst may be foreced to overwrite
  335.     the previous configuration files by using the setting
  336.  
  337.         [Preferences]
  338.         PreferencesOverwrite=1
  339.  
  340.     Note that this setting is to be used for special purposes only, and
  341.     is not generally recommended.  A common problem is that the F-PROT
  342.     toolbar will get corrupted with this setting: because of that, use
  343.     it together with the [FPW] TasksOverwrite= setting (see [10.3.1]).
  344.  
  345.     [6.1.2] Since version 96.10a2, Autoinst supports relative pathnames in 
  346.     the "PreferencesFrom=" entry: in that case, the path name is relative to
  347.     the directory where the Autoinst executable is located.
  348.  
  349. [6.2] If there is no "PreferencesFrom=" entry specified, the following 
  350. files, if present, will be copied from the directory specified in
  351. by "InstallFrom=" (or "InstallRemote=", if applicable) entry of the 
  352. [Install] section: F-PROTW.CFG, F-PROTW.INI, DFAPPS.INI.
  353.  
  354. [6.3] The administrator may force certain settings to be set to 
  355. certain values each time AUTOINST is run by specifying these values 
  356. in the [Preferences] section of AUTOINST.INI.  The entry format is:
  357.  
  358.     set=filename|section|entry|value
  359.  
  360. <filename> refers to a file in the local workstation's Windows 
  361. directory.  Note that this feature will also enable the system 
  362. administrators to change settings in files like WIN.INI, SYSTEM.INI
  363. etc.
  364.     
  365. For example, to force confirmation of killing a DOS section upon finding
  366. a virus, the administrator would write:
  367.  
  368.     [Preferences]
  369.     set=F-PROTW.CFG|Protection|APActDOSKillConfirm|1
  370.  
  371. Because such section and entry names are often cryptic and not described
  372. in the FPW documentation, this feature might stay undocumented and 
  373. reserved for special needs only.  Instead, aliases for the mostly needed
  374. preferences would be defined and documented (essentially, "Communication-
  375. Directory=" in the [Administration] section is such an alias); for 
  376. Gatekeeper, such preferences would be specified in the [Gatekeeper] 
  377. section of AUTOINST.INI, as eg
  378.  
  379.     [Gatekeeper]
  380.     ConfirmDosSessionKill=1
  381.  
  382. See section [8] for the description of Gatekeeper's preferences.
  383.  
  384. [6.4] The administrator may specify that the changes to preferences are
  385. made only at certain times.  For that, he would write
  386.  
  387.     LastChange=YY-MM-DD
  388.  
  389. in the [Preferences] section.  The specified date will be written into
  390. WIN.INI as
  391.  
  392.     [DFAPPS]
  393.     SOFTWARE_ID|PrefsLastChange=YY-MM-DD
  394.  
  395. (see [3.8] about the software ID.)  If AUTOINST is run, and the respective
  396. dates in AUTOINST.INI and WIN.INI match, no changes are made to the settings.
  397. If no "LastChange=" entry is present, the changes will always be made.
  398.  
  399. [6.5] AUTOINST can be used for adding Program Manager groups.  For doing 
  400. that, the administrator would have to prepare a groupfile and store it in
  401. a directory specified in the "PreferencesFrom=" entry: AUTOINST will then
  402. copy it to the user's Windows directory (see [6.1]).  To add this group
  403. to Program Manager's groups, the administrator would have to write its
  404. name in an "AddGroup=" entry of the [Preferences] section, as eg
  405.  
  406.     AddGroup=F-PROTW.GRP
  407.  
  408. [6.6] Certain initialization files, as eg F-PROTW.CFG, are encrypted to
  409. disallow the users from changing the settings manually.  AUTOINST will
  410. decrypt such files before making changes there, and re-encrypt them 
  411. afterwards.
  412.  
  413.  
  414.  
  415. [7] Settings for AUTOINST
  416. =========================
  417.  
  418. The [Autoinst] section of AUTOINST.INI will specify the settings for the
  419. AUTOINST program itself:
  420.  
  421.     [Autoinst]
  422.     ShowErrorMessages=1
  423.     ContactAdmin=Please contact your network administrators Beavis and Butt-Head at ext 666!
  424.     ShowProgress=1
  425.  
  426. [7.1] The "ShowErrorMessages=" entry will specify whether AUTOINST will show 
  427. error messages when it encounters problems with creating directories,
  428. copying files etc.  On error, AUTOINST would display a message describing
  429. the error, along with the text specified in the "ContactAdmin=" entry.
  430.  
  431. [7.2] The "ShowProgress=" entry will determine whether AUTOINST will display
  432. information about its actions (copying files etc).
  433.  
  434. [7.3] The "ErrorIfNoWinDir=" entry will specify whether an error message will
  435. be shown if no Windows directory is found; the default value is 1.
  436.  
  437. [7.4] The "InstallIfWinOnly=" entry will specify whether the software will be
  438. installed always, or only if Windows is found on the system.  The default 
  439. value is "0" (always install).  Any combination of the following values may 
  440. be used, separated by spaces, eg "InstallIfWinOnly=Win31 Win95":
  441.  
  442.     Win31   : install if Windows 3.1x installed
  443.     Win95   : install if Windows 95 installed
  444.     WinNT   : install if Windows NT installed
  445.     
  446. If the value is anything else but "0" and does not contain any of the 
  447. platform identifiers above, installation will be made if any version
  448. of Windows is found.
  449.  
  450. [7.5] The "StopAtExit=" entry will specify whether AUTOINST will stop 
  451. execution after performing all its actions; the default value is 0.  If the
  452. entry value is nonzero, AUTOINST will stop and show a message:
  453.     
  454.     "AUTOINST has terminated.  Press ENTER to continue."
  455.  
  456. [7.5.1] If the "StopAtExit=" entry equals "OnInstall", Autoinst will stop
  457. at exit and show the message only if a first-time local installation has 
  458. been made.  NOTE: This will change in a future version so that Autoinst
  459. will also stop after making a first-time remote installation.
  460.  
  461. [7.6] AUTOINST can be forced to show special messages, specified in the 
  462. inifile.  Texts specified by the "WriteAtStartup=" entries will be shown at 
  463. startup; texts specified by the "WriteAtInstall=" entries will be shown
  464. before program files are being copied; texts specified by the "WriteAtExit="
  465. entries will be shown at the end.  Multiple entries may be given, the 
  466. messages get shown in the order of appearance in the inifile; empty lines
  467. will be shown for empty entries.
  468.  
  469. [7.7] If "WriteAtExit=" is specified (see [7.6]), the default exit message
  470. as described in [7.5] will not be shown.
  471.  
  472. [7.8] If the "NoVersionInfoDisplay=" entry is nonzero, no copyright and 
  473. version information for AUTOINST will be shown.
  474.  
  475. [7.9] Since version 97.02a0, Autoinst supports writing of its output into
  476. a logfile.  The written text is exactly the same as shown on display, with
  477. the addition of timestamps of opening and closing of the log file.
  478.  
  479.     [7.9.1] The "LogFile=" entry specifies the name of the log file.  For
  480.     example, 
  481.         
  482.             LogFile=C:\TMP\AILOG.TXT
  483.  
  484.     [7.9.2] The "LogFileAppend=" entry specifies whether the previous 
  485.     logfile should be overwritten, or appended to.  If nonzero (default
  486.     is zero), text will be appended to the previous logfile.
  487.  
  488.  
  489.  
  490. [8] Gatekeeper's preferences
  491. ============================
  492.  
  493. The administrator may force certain Gatekeeper's preferences to be set in
  494. the [Gatekeeper] section of AUTOINST.INI.  The settings that remain 
  495. unspecified there will retain their values as stored in F-PROTW.CFG.
  496. Note that none of the settings here will have any effect if the 
  497. preferences are not otherwise changed (see [6.4]).
  498.  
  499.   [8.1] Enabling Gatekeeper
  500.  
  501.         The "Enable=" entry will determine whether Gatekeeper will be
  502.         enabled upon Windows startup.  If Gatekeeper is to be enabled,
  503.         AUTOINST will add A-PROT.EXE to the "RUN=" line of WIN.INI
  504.         and add a "device=d:\path\F-PROTW.386" line to the [386Enh]
  505.         section of SYSTEM.INI.  If Gatekeeper is not to be enabled,
  506.         AUTOINST will make sure these changes have been removed from
  507.         WIN.INI and SYSTEM.INI.  The following options are available:
  508.  
  509.             (1.1) "Enable=Always" will always enable Gatekeeper
  510.             (1.2) "Enable=Never" will always disable Gatekeeper
  511.             (1.3) "Enable=OnInstall" will only enable Gatekeeper
  512.                   if installation is performed (see section [3]
  513.                   about intallation and updating).
  514.             (1.4) "Enable=OnUpdate" will only enable Gatekeeper
  515.                   if installation or update is performed.
  516.             (1.5) "Enable=NotOnInstall" will only disable Gatekeeper
  517.                   if installation is performed.
  518.             (1.6) "Enable=NotOnUpdate" will only disable Gatekeeper
  519.                   if installation or update is performed.
  520.  
  521.         NOTE: AUTOINST assumes that an update is being performed if
  522.         any files exist in the destination ("InstallTo=" or 
  523.         "InstallToWin=") directory.
  524.  
  525.                   
  526.   [8.2] Uninstalling Gatekeeper
  527.  
  528.         The uninstallation feature has been removed from the specification.
  529.  
  530.  
  531.   [8.3] Other options
  532.  
  533.         The "AccessSettings=" entry will specify whether the user can
  534.         access the Gatekeeper Settings dialog to enable/disable 
  535.         Gatekeeper or otherwise change its settings.
  536.  
  537.         The "ConfirmDosSessionKill=" and "ConfirmWinDenyAccess=" entries
  538.         will specify the values for the respective settings.
  539.  
  540.   [8.4] The "f-protw.386=" entry can be used to specify an alternative
  541.         path for the device driver.  If present, the "device=" entry
  542.         written into SYSTEM.INI will not have the path to installation
  543.         destination, but the entry will be written exactly as specified
  544.         by this entry.  This will enable the VxD to be loaded from a
  545.         different location than the rest of Gatekeeper.  Example:
  546.  
  547.             f-protw.386=c:\f-protw.386
  548.  
  549.         An appropriate entry will also be written to F-PROTW.INI: it will
  550.         be used by F-Agent when Gatekeeper gets enabled from it.
  551.  
  552.   [8.5] The "DontComplainIfNoVxD=" entry, if nonzero, will cause the Windows
  553.         3.1x Gatekeeper NOT to show an error message if F-PROTW.386 is not
  554.         loaded in memory.
  555.         
  556.  
  557.  
  558. [9] F-Agent
  559. ===========
  560.  
  561. Note that none of the settings here will have any effect if the 
  562. preferences are not otherwise changed (see [6.4]).
  563.  
  564. [9.1] The "Load=" entry in the [F-Agent] section will determine 
  565. whether F-Agent will be loaded upon Windows startup.  WIN.INI will 
  566. be appropriately changed.
  567.  
  568. As with enabling Gatekeeper (see section [8]), there are six options:
  569. "Always", "Never", "OnInstall", "OnUpdate", "NotOnInstall", "NotOnUpdate".
  570.  
  571. [9.2] Since version 96.09a0, F-Agent's execution command will be put into
  572. the registry under Windows 95 by the 32-bit Autoinst.
  573.  
  574. [9.3] Since version 96.09a0, F-Agent will be started immediately by the
  575. Windows versions of Autoinst when F-Agent's automatic loading is being
  576. enabled.
  577.  
  578. [9.4] Since version 96.10a2, Autow32 (the Win32 version of Autoinst) supports
  579. installation of the F-Agent NT service.  This service is provided by
  580. FPAVSVC.EXE.  The following AUTOINST.INI settings apply:
  581.  
  582.     [9.4.1] If the "EnableAsService=" entry has a nonzero value then Autoinst
  583.     attempts to install the F-Agent service.
  584.  
  585.     [9.4.2] If the "EnableServiceAccountPrompt=" has a nonzero value then
  586.     Autoinst will prompt for the service account information.  The dialog
  587.     shown will either display the name of the current user's account, or
  588.     the name given by the "ServiceAccountName=" entry.
  589.     
  590.     [9.4.3] If the "ServiceAccountName=" entry is missing or has a value of
  591.     zero then Autoinst will either install the service on Local System 
  592.     account (if the "EnableServiceAccountPrompt=" entry is missing or its
  593.     value is zero), or will prompt for the account information (if the.
  594.     "EnableServiceAccountPrompt=" entry has a nonzero value).  Otherwise, 
  595.     the service will be installed under the given account name (which is
  596.     possibly overriden at the account prompt).
  597.  
  598.     [9.4.4] The "ServiceAccountPassword=" entry specifies the password for
  599.     the account given with the "ServiceAccountName=" entry; ignored if the
  600.     latter is not given, or if the account prompt is shown.
  601.  
  602.  
  603.  
  604. [10] FPW
  605. ========
  606.  
  607. The settings for F-PROT for Windows are specified in the [FPW] section.
  608. Note that none of the settings here will have any effect if the 
  609. preferences are not otherwise changed (see [6.4]).
  610.  
  611. [10.1] The uninstallation feature has been removed from the specification.
  612.  
  613. [10.2] The "LocalDirectory=" entry will specify the root of the local
  614. data directories for FPW.  The directories are used for storing task
  615. files, reports, bulletins and other items.  If no "LocalDirectory="
  616. entry is present and if FPW is installed, a directory named "LOCAL"
  617. under the program files directory (see section [3]) will be used.  The
  618. directories created under the specified directory are:
  619.  
  620.     +--BULLETIN
  621.     |--INFECT
  622.     |--MESSAGES
  623.     |--REPORTS
  624.     |--REPUSER
  625.     |--SUSPECT
  626.     \--TASKS
  627.  
  628. The "LocalDirectory=" entry should always be specified if remote 
  629. installations (see [3.7]) are made, because the user's data files
  630. must reside on the local workstation.  AUTOINST will give an error
  631. message if the entry is not present with a remote installation.
  632.  
  633. Note: AUTOINST will assume that FPW is being installed if the Software
  634. ID is "FPW" (the default value, see [3.8]).  Therefore, the local data
  635. directories will be created even if Gatekeeper is installed without
  636. FPW.
  637.     
  638. [10.3] The "TasksFrom=" entry will specify the directory from where the
  639. task files are copied upon installation of FPW.  Because the tasks must
  640. be in sync with the user's F-PROTW.CFG, the tasks must not be copied over
  641. the tasks previously installed.  Therefore, they will be copied only if 
  642. there are no tasks in the local workstation's tasks directory before.
  643. If the "LocalDirectory=" entry is missing and if the local programs
  644. directory is unknown, the tasks will not be copied because AUTOINST does
  645. not know the location of the local tasks directory.
  646.  
  647.     [10.3.1] Since version 96.09a0, Autoinst may be foreced to overwrite
  648.     the previous task files by using the setting
  649.  
  650.         [FPW]
  651.         TasksOverwrite=1
  652.  
  653.     In that case, all the old tasks files in the user's local tasks 
  654.     directory will be deleted before copying the task files there from
  655.     the "TasksFrom=" directory.  This setting should be used together
  656.     with the [Preferences] PreferencesOverwrite= setting, see [10.3.1].
  657.  
  658.     [10.3.2] Since version 96.10a2, Autoinst supports relative pathnames 
  659.     in the "TasksFrom=" entry: in that case, the path name is relative to
  660.     the directory where the Autoinst executable is located.
  661.  
  662. [10.4] The Windows version of Autoinst supports the Program Manager
  663. groupfile creation for F-PROT for Windows.  The parameters for the group
  664. to be created are given in the [FPW] section:
  665.  
  666.     [10.4.1]    The "GroupName=" entry specifies the name of the Program
  667.                 Manager group to be created or updated, eg
  668.  
  669.                     GroupName=F-PROT for Windows
  670.  
  671.     [10.4.2]    The "IconX=" entries specify the program items to be created
  672.                 or updated: X denotes a number from 0 to 15.  The entries 
  673.                 have the format:
  674.  
  675.                     IconX=ICON_TYPE, DRIVE_ID, TASK_NAME, ICON_TITLE
  676.  
  677.                 ICON_TYPE can be one of the following:
  678.  
  679.                     0   : start FPW
  680.                     1   : start F-Agent
  681.                     2   : execute a task with FPW
  682.  
  683.                 DRIVE_ID specifies the drive to be scanned by the task (0==A:, 
  684.                 1==B etc); it is used only if ICON_TYPE is 2.  If the target
  685.                 system does not have the specified drive, the icon will not be
  686.                 created (this feature not implemented yet).  
  687.                 1000 denotes "All HDDs", 1001 denotes "All Network Drives".
  688.  
  689.                 TASK_NAME specifies the name of the task to be launched when 
  690.                 the icon is doubleclicked; it is used only if ICON_TYPE is 2.
  691.  
  692.                 ICON_TITLE is the text that appears below the icon in Program 
  693.                 Manager.
  694.  
  695.                 An example of the group parameters:
  696.  
  697.                     GroupName=F-PROT Professional for Windows
  698.                     Icon0=0,0,0,F-PROT for Windows
  699.                     Icon1=2,0,scana.fpt,Scan Drive A:
  700.                     Icon2=2,1,scanb.fpt,Scan Drive B:
  701.                     Icon3=2,1000,scanallh.fpt,Scan All Hard Drives
  702.                     Icon4=2,1001,scannetw.fpt,Scan Network
  703.  
  704.     [10.4.3]    If the "LeaveExistingGroupIntact=" entry is present and 
  705.                 has a nonzero value, the program group that has the name
  706.                 specified by the "GroupName=" setting already existing on 
  707.                 the system will not be modified in any way.
  708.  
  709.     [10.4.4]    If Autoinst is started from a logon script then it is 
  710.                 possible that the Program Manager DDE used for creating
  711.                 the groups is unavailable at that time.  If this is the 
  712.                 case, Autoinst will wait until it becomes available, or 
  713.                 until timeout occurs.  The default timeout value is 15000 
  714.                 milliseconds; this value can be overriden by the 
  715.                 "DDEPMTimeOut=" entry in the [Autoinst] section.
  716.  
  717.  
  718. [10.5] The DOS version of Autoinst also supports Program Manager groups
  719. creation as described in [10.4] (applies to Autoinst versions 96.01 and 
  720. later).  Autoinst (DOS) will not create the group by itself.  Instead, 
  721. it will create an inifile DFGROUP.INI in the target system's Windows 
  722. directory, and will copy DFGROUP.EXE from the directory where AUTOINST.EXE 
  723. resides, to the target system's Windows directory.  DFGROUP.EXE will be put
  724. on the "run=" line of WIN.INI, causing DFGROUP.EXE to be executed at next
  725. Windows startup.  DFGROUP.EXE will then create the program group, and will
  726. remove itself from WIN.INI's "run=" line, also deleting itself and 
  727. DFGROUP.INI from the Windows directory.
  728.  
  729.     [10.5.1]    The feature described in [10.4.3] is not supported by the
  730.                 DOS version of Autoinst.
  731.  
  732.  
  733. [11] Windows version of AUTOINST
  734. ================================
  735.  
  736. [11.1] The Windows version of AUTOINST behaves exactly, and accepts the
  737. same parameters, as the DOS version, except for as noted below, and as
  738. described in [10.4].
  739.  
  740. [11.2] The "WindowMode=" entry in the [Autoinst] section will determine 
  741. the visibility of the AUTOINST window:
  742.  
  743.     0     : The window is shown normally (the default)
  744.     1     : The window is shown minimized (iconized)
  745.     2     : The window will not be shown
  746.  
  747. In any case, the window will be shown in case of an error, or if stop at
  748. exit is required (see [7.5]).
  749.  
  750. [11.3] The local Windows directory is obtained from Windows; the 
  751. "WindowsDirectory=" entries in the [Local] section (see [4]) will be 
  752. ignored.
  753.  
  754. [11.4] If FPW/Gatekeeper is being installed (ie, the software ID is "FPW"),
  755. F-PROT for Windows, F-Agent and Gatekeeper will be unloaded upon 
  756. installation.  After the installation, F-Agent and Gatekeeper will be 
  757. reloaded.
  758.  
  759. [11.5] The title (on the caption) of the AUTOINST window can be specified
  760. in the "WindowTitle=" entry of the [Autoinst] section.  If not given, the
  761. window title will be "AUTOINST".
  762.  
  763.  
  764.  
  765. [12] Installing TSRs (VIRSTOP etc)
  766. ==================================
  767.  
  768. [12.1] The [TSRLoad] section will specify the load options for TSR programs
  769. like VIRSTOP and others.  These programs should be installed on a 
  770. workstation with AUTOINST like any other software (see [3]).
  771.  
  772. [12.2] The "ID=" entry will define the identifier of the program.  This
  773. identifier will be used in subsequent entries for specifying the load
  774. options for that program.  Multiple TSRs may be installed by presenting
  775. multiple "ID=" entries and their options.  Example:
  776.  
  777.     [TSRLoad]
  778.     ID=VIRSTOP
  779.  
  780. [12.3] The "<id>=" entry (where <id> stands for the ID as defined by the
  781. "ID=" entry) will specify the name of the executable for the TSR, eg:
  782.  
  783.     VIRSTOP=virstop.exe
  784.  
  785. The executable name need not contain either the drive nor path, as they will
  786. be determined by the place of installation, as specified in the [Install]
  787. section ([3]).  However, full pathname may be given here if an installation 
  788. of a file already present on the system is desired. In any case, error will 
  789. occur if the file is not found on the system.
  790.  
  791. This entry is required; error will occur if it is not present.
  792.  
  793. [12.4] The "<id>|LoadFrom=" entry will specify the full pathname of the file 
  794. from where the TSR will be loaded (will be called "load file" below), eg:
  795.  
  796.     VIRSTOP|LoadFrom=C:\AUTOEXEC.BAT
  797.  
  798. The specified file should already exist; otherwise, an error condition will 
  799. occur.
  800.  
  801. This entry is required; error will occur if it is not present.
  802.  
  803. [12.5] The "<id>|LoadPos=" entry will specify the position in load file where 
  804. the load command will be written.  The following options are available:
  805.  
  806.     BeginFile           : command will be written at file beginning (default)
  807.     EndFile             : command will be written at file end
  808.     LineNumber, <n>     : command will be inserted before line number <n>,
  809.                           negative line numbers denote lines from the end of
  810.                           file (-1 for the last line, -2 for the previous etc)
  811.     RelativeToLineWith, <increment>, <substring>
  812.                         : command will be inserted <increment> lines after the 
  813.                           first line containing <substring>; <increment> may
  814.                           be negative for inserting the command before the line
  815.     BeforeLineWith, <substring>
  816.                         : same as "RelativeToLineWith, -1, <substring>"
  817.     AfterLineWith, <substring>
  818.                         : same as "RelativeToLineWith, 1, <substring>"
  819.  
  820. For example, the following entry will cause the command to be written 
  821. immediately before the line with "win.com":
  822.  
  823.     VIRSTOP|LoadPos=RelativeToLineWith, -1, win.com
  824.  
  825. The <substring> parameter is case insensitive.
  826.  
  827. [12.6] The "<id>|LoadPrefix=" entry, if present, will specify a string to be
  828. inserted before the command.  It is useful for making drivers to be loaded
  829. from CONFIG.SYS, or for specifying the LOADHIGH option.  Examples:
  830.  
  831.     VIRSTOP|LoadPrefix="LH "
  832.     VIRSTOP|LoadPrefix="device="
  833.  
  834. Note that the quotation marks are required.  The prefix will be inserted
  835. immediately before the command without any spaces in between.
  836.  
  837. [12.7] The "<id>|LoadSuffix=" entry, if present, will specify a string to be
  838. appended to the command.  It is useful for specifying load options for the
  839. program, eg:
  840.  
  841.     VIRSTOP|LoadSuffix=" /COPY"
  842.  
  843. Note that the quotation marks are required.  The prefix will be appended
  844. to the command immediately without any spaces in between.
  845.  
  846. [12.8] The "<id>|ReplaceOption=" entry will specify the action in case there
  847. already was a cammand with an executable as specified by the "<id>=" entry in
  848. the file.  The following options are available:
  849.  
  850.     RetainOld           : the old command will always be retained, no change
  851.                           will be made to the load file
  852.     RetainOldIfSame     : the old command will be retained only if it exactly
  853.                           matches the new command (same paths, prefixes and 
  854.                           suffixes)
  855.     ReplaceOld          : the old command will always be replaced
  856.  
  857. The default is "RetainOldIfSame=".
  858.  
  859. Note that unless the "<id>|ReplaceAtOldPos=" entry is present and nonzero
  860. (see [12.9]), the new command will not necessarily be placed at the same
  861. position as the old: the new position will be determined by the 
  862. "<id>|LoadPos=" entry (see [12.5]).
  863.  
  864. [12.9] The "<id>|ReplaceAtOldPos=" entry, if nozero, will force the new 
  865. command to be written at the place of the old command if the old command
  866. existed in the load file.  In that case, the "<id>|LoadPos=" entry will be
  867. ignored.
  868.  
  869.  
  870.  
  871. [13] Win 32 version of AUTOINST
  872. ================================
  873.  
  874. [13.1] The Win 32 version of Autoinst (AUTOW32.EXE) works works similarly
  875. to the 16-bit Windows version (see [11]), with enhancements as described
  876. below.
  877.  
  878. [13.2] Long pathnames are supported for all relevant directories and files.
  879.  
  880. [13.3] In addition to the "UserName=", "UserNameFromIni=", 
  881. "WorkstationName=" and "WorkstationNameFromIni=" settings (see [5.2]), 
  882. the "UserNameFromRegistry=" and "WorkstationNameFromRegistry=" entries
  883. are supported.  They will be used only if none of the entries described
  884. in [5.2] are present.  Multiple "UserNameFromRegistry=" and
  885. "WorkstationNameFromRegistry=" entries may be used: the first one that
  886. points to a value in the registry will take effect.
  887.  
  888.     [13.3.1] The format for the values of both these entries (called
  889.     "registry locators") is:
  890.  
  891.         MAINKEY [\ SUBKEY] \\ [VALUENAME]
  892.  
  893.     where:
  894.         MAINKEY     : main key name, must be one of: HKEY_CLASSES_ROOT", 
  895.                       "HKEY_CURRENT_USER", "HKEY_LOCAL_MACHINE", "HKEY_USERS"
  896.  
  897.         SUBKEY      : subkey name, may be missing
  898.  
  899.         VALUENAME   : name of registry value, may be missing if the default
  900.                       value is to be used
  901.  
  902.     For example, these are all valid locator specifiers:
  903.  
  904.         ; all items present:
  905.         UserNameFromRegistry=HKEY_LOCAL_MACHINE\Network\Logon\\username
  906.  
  907.         ; no subkey:
  908.         UserNameFromRegistry=HKEY_LOCAL_MACHINE\\user-name
  909.         
  910.         ; no value name:
  911.         UserNameFromRegistry=HKEY_LOCAL_MACHINE\Network\Logon\\
  912.  
  913.         ; no subkey nor value name:
  914.         UserNameFromRegistry=HKEY_LOCAL_MACHINE\\
  915.  
  916.  
  917.  
  918. [14] SNMP
  919. =========
  920.  
  921. SNMP-related settings are all located in the [SNMP] section.
  922. Note that none of the settings here will have any effect if the 
  923. preferences are not otherwise changed (see [6.4]).
  924.  
  925. [14.1] SNMP support is only present in Win32 version of Autoinst at the 
  926. moment.
  927.  
  928.     [14.1.1] To be able to install or uninstall SNMP agents, Autoinst needs
  929.     the SNMP setup support DLL, DFALSU32.DLL in its directory.  Error message
  930.     will be produced if SNMP agent installation is attempted without the
  931.     presence of DFALSU32.DLL.
  932.  
  933. [14.2] In order to install application-specific SNMP agents, the SNMP
  934. Master Agent (for example, the SNMP Service in NT) must be installed first.
  935. The value of "InstallMasterAgent=" determines whether Autoinst should
  936. attempt to install the Master Agent by itself (nonzero) or not (zero).  
  937. Nonzero value may result in prompting for Windows setup diskettes and is 
  938. therefore not recommended; the default value for that setting is 0.
  939.  
  940.     [14.2.1] No error message is produced if SNMP extension agents 
  941.     installation is wished, but no SNMP Master Agent is installed and
  942.     the value of "InstallMasterAgent=" is 0.
  943.  
  944. [14.3] The "EnableF-PROTAgent=" value specifies the installation/
  945. uninstallation option for F-PROT SNMP Extension Agent.  As with enabling 
  946. Gatekeeper (see section [8.1]), there are six options: "Always", "Never", 
  947. "OnInstall", "OnUpdate", "NotOnInstall", "NotOnUpdate".
  948.  
  949.     [14.3.1] Autoinst will only attempt to intall the F-PROT Extension
  950.     Agent if the Agent's DLL, FPSNMP32.DLL, is found in the destination
  951.     (installation) directory.  Error message will be produced if F-PROT 
  952.     SNMP agent installation is attempted without the presence of 
  953.     FPSNMP32.DLL.
  954.  
  955.  
  956.  
  957. [15] Generic groups
  958. ===================
  959.  
  960. The settings described in this section can be used for creating Program
  961. Manager groups and icons (or Start Menu/Programs folders in Windows 95/
  962. Windows NT 4 and later) for any installed software.
  963.  
  964. [15.1] None of the settings here will have any effect if the 
  965. preferences are not otherwise changed (see [6.4]).
  966.  
  967. [15.2] The Generic Groups creation feature is supported by
  968. Windows versions of Autoinst (AUTOW31.EXE, AUTOW32.EXE only).
  969.  
  970. [15.3] All groups to be created are specified by up to 16 group sections, 
  971. named [Group0], [Group1], ..., [Group15].  Each group section specifies 
  972. the name of the group that is to be created or modified, and the icons 
  973. (program items or shortcuts) for that group; see [15.4] about the group 
  974. section format.
  975.  
  976. [15.4] Group section format
  977.  
  978.     [15.4.1] The group name is specified by the "GroupName=" entry.  Any
  979.     trailing spaces in the group name will be discarded.  If a group with 
  980.     the given name already exists then it will be modified.
  981.  
  982.     [15.4.2] A group section has up to 32 icon entries, named "Icon0=",
  983.     "Icon1=", ..., "Icon31=".  The icon entries specify the program items 
  984.     to be created or modified.  See [15.5] about the icon entry format.
  985.  
  986. [15.5] Icon entry format
  987.  
  988.     [15.5.1] Each icon entry has the following format:
  989.  
  990.         IconX=COMMANDLINE|WORKINGDIR|ITEMNAME
  991.  
  992.     where:
  993.         COMMANDLINE     : full pathname of the command line for the item
  994.         WORKINGDIR      : working directory name for the item
  995.         ITEMNAME        : name of the program item
  996.  
  997.     Note: '|' (the separator) is the "pipe" character
  998.  
  999.     [15.5.2] Any trailing spaces in the item name will be discarded.  If 
  1000.     an item with that name already exists then it will be modified.
  1001.  
  1002.     [15.5.3] Although the WORKINGDIR parameter must be present in the 
  1003.     icon entry, it is not used by Autoinst at the moment.
  1004.  
  1005. [15.6] Generic group settings example
  1006.  
  1007.     [Group0]
  1008.     GroupName=Butterfinger Food Group
  1009.     Icon0=c:\win95\notepad.exe|c:\win95|Notepad
  1010.     Icon1=c:\win95\netwatch.exe|c:\win95|Netwatch
  1011.  
  1012.  
  1013.  
  1014.  
  1015.  
  1016. ======================================================================
  1017. ======================================================================
  1018. ======================================================================
  1019. ======================================================================
  1020.  
  1021. CHANGE HISTORY SINCE 1.05
  1022.  
  1023. 1.05
  1024.         Added [5.2.1].
  1025.  
  1026. 1.06
  1027.         Added [10.4] (implemented in Autoinst v95.08), changed [11.1].
  1028.  
  1029. 1.07    
  1030.         Changed [6.2].
  1031.  
  1032. 1.08    Changed [7.4] (12.09.95)
  1033.         Changed [4] (15.09.95)
  1034.  
  1035. 1.09    Changed [5.2.1] (22.11.95)
  1036.         Added [7.5.1] (22.11.95)
  1037.  
  1038. 1.10    Added [10.5] (07.01.96, impl. in Autoinst v96.01)
  1039.         Changed [8.2], [10.1] (07.01.96, removed the uninstallation feature)
  1040.         Rearranged [5.2], adding [5.2.2] (08.01.96, impl. in v96.01)
  1041.         Added [13] (10.01.96; [13.3] impl. in Autow32 v96.01)
  1042.  
  1043. 1.11    Changed [3.1], [3.7], [5.1] and [6.1] to document that UNC pathnames
  1044.         are supported by Autoinst and F-PROT for Windows.
  1045.  
  1046. 1.12    Added [4.1.1] (implemented in Autoinst v96.04)
  1047.         Added [10.4.3] and [10.5.1] (implemented in Autoinst v96.04)
  1048.  
  1049. 1.13    Added [10.4.4] (implemented in Autoinst v96.05)
  1050.         Added [8.5] (implemented in Autoinst v96.05)
  1051.  
  1052. 1.14    Added to [5.1] that "since version 96.07b0, Autoinst will set the
  1053.         user and workstation names even if AdministrationEnabled= is 
  1054.         missing or has a value if zero." (implemented in Autoinst v96.07b0)
  1055.  
  1056. 1.15    Added [6.1.1], [10.3.1] (implemented in Autoinst v96.09)
  1057.         Added [9.2], [9.3] (implemented in Autoinst v96.09)
  1058.         Changed [10.4.4] (behavior changed in Autoinst v96.09)
  1059.  
  1060. 1.16    Added [9.4] (implemented in Autoinst v96.10a2)
  1061.         Added [3.1.1], [3.7.1], [6.1.2], [10.3.2] (implemented in Autoinst 
  1062.         v96.10a2)
  1063.  
  1064. 1.17    Added section [14] (SNMP, implemented in Autoinst v97.02a0)
  1065.         Added [7.9] (implemented in Autoinst v97.02a0)
  1066.  
  1067. 1.18    Added section [15] (Generic Groups, implemented in Autoinst v97.03a0)
  1068.  
  1069.