Arablover Posted October 10, 2004 Posted October 10, 2004 I have been installing AvPersonal using the following entry in my main.batch:ECHO Installing AV Personal...start /wait %systemdrive%\install\Antivir\setup.exe /INF%systemdrive%\install\Antivir\setup.inf /PATH%systemdrive%\install\Antivir\ECHO.Here are the contents of setup.inf:;********************************************************************; Setup using AntiVir script file;; Sample script file;; To force Setup doing its job without any user interaction you have; to start it with the option /INF<name>. ; with <name> being the full qualified path of the script file.;; Example: SETUP /INFe:\disks\setup.inf;;********************************************************************[DATA]; Show README.NEW (if present); 0 = Disabled, 1 = EnabledReadmeNew=0; Scan all local disks or only the windows system directory ; for viruses before starting the installation; 0 = only windows system directory, 1 = all local disksScan=2; Scan process may be cancelled by the user:; 0 = Cancelling not allowed, 1 = Canceling allowedCancelScanAllowed=1; Source path of the first installation disk.; This path has to end with the '1'; all other directories should; use the same name with a directory number added. Best to do is; simply to copy the program directories (DISK_1, DISK_2 ... DISK_n); from your product CD-Rom. Any valid (UNC-) pathname is allowed.; E.g. \\SERVERNAME\Vol\INST\AVWIN\DISK_1 or; D:\INST\AVWIN\DISK_1;SourcePathDisk1=D:\INST\DISK_1; Destination directory (At least the first disk should exist); it is also possible to use environment variables like ; %programfiles%DestinationPath="C:\Program Files\AVWIN"; Copy only new files.; If Setup detects an older version of a file in the destination ; directory, it will be overwritten automatically. If the file in ; the destination directory is of the same version or newer the ; file will not be copied from the source dir.; If the option is disabled, Setup will ask the user to select wether ; to install the file or not.ert.; Ist diese Funktion ausgesch; 0 = Disabled, 1 = EnabledOnlyNewFiles=1; Create AntiVir program group; 0 = Disabled, 1 = EnabledAVGroup=1; Overwrite SETUP.LOG.; Disabled means that Setup will work in appending mode.; 0 = Disabled, 1 = EnabledOverwriteLog=1; The shell extension of AntiVir has to be registere in the ; registry. This extension is only valid on NT 4.0 or greater.; 0 = Do not register shell extensions, 1 = Register shell extensionShellExtension=1; Install the resident virus guard:; 0 = Do not install the AVGuard, 1 = Install the AVGuardGuard=1; Allow cancelling of file copy procedure; 0 = Do not allow cancelling, 1 = Allow cancellingCancelCopyAllowed=0; Copy a new license key file; 0 = Disabled, 1 = EnabledCopyKeyFile=1; Path (without filename) to the license key fileKeyFilePath=D:\INST\LICENSE\; Create a proram icon on the desktop; This function is only valid on NT 4.0 or greater!; 0 = Disabled, 1 = EnabledDesktopIcon=1; Name of the desktop icon to create; The following characters must not be included in the icon's name: ; \/:*?"<>|; This function is only valid on NT 4.0 or greater!NameOfDesktopIcon=AntiVir; Display README after installtion; 0 = Do not display README, 1 = Display READMEShowReadMe=0; This file will be executed after a successful installation. It; may be used to copy a pre-defined configuration file to the; destination directory:; ExeName1=c:\winnt40\system32\command.com /c copy c:\avwin.ini "C:\Program Files\AVWIN"; or it may be used to set the path for the Update-Wizard:; (The program PATCHINI.EXE can be found in \DISK_1\ADMIN);ExeName1=PatchINI /A c:\avwin\avwin.ini [update] UpdatePath=... /C; If needed, Windows will be restarted after a successfull ; installation (recommended); 0 = Disabled, 1 = EnabledRestartWindows=0; Path and filename to an optional, pre-defined INI-file to be used; by the desktop program and the guard.; IniFileName=\\SERVERNAME\DATA\AVWIN\AVWIN.INI; The following parameter defines if Setup has to care about the old ; installed components or not. With '1', Setup checks the installed ; software and replaces it by new modules, regardless what is defined; in SETUP.INF. With '0', only the settings of SETUP.INF are executed.KeepOldSettings=0; Install the InternetUpdater or not; install = 1; do not install = 0InternetUpdater=1; Install Pop3-Scanner ; Pop3=1 -> The Pop3-scanner will be installed; Pop3=0 -> The Pop3-scanner will NOT be installedPop3=1;You can also attain protection against cost incurring dial-up programs.;Would you also like to extend the recognition routines on so called dial-up;programs?Dialer=0Previously it installed unattended, but it now runs through the usual installation routine.Has anyone else experienced this problem?Cheers.Jeremy
user2099 Posted October 11, 2004 Posted October 11, 2004 Hi,the problem is, freeav has used a old version of "setup.exe" (6.26.0.11)you must use a version 6.27.0.46 or higher,if you have a version from september 2004 you only must change the "setup.exe"from 6.28 with the "setup.exe" from 6.27for me it works fine.sorry for my bad englishmfg user 2099
Arablover Posted October 11, 2004 Author Posted October 11, 2004 Brilliant!I wonder why they changed the setup.exe?Cheers.Jeremy
Yzöwl Posted October 13, 2004 Posted October 13, 2004 Thanks, tried it with the 6.27.0.46 setup.exe and it almost did it, the only problem I have now is when the Program Group is created, it opens and displays on the desktop, (using runonce.ex at logon), and I would like it to either not appear in the first place, or close down on its own.....anyone, TIA.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now