Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.
Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.
We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.
Read Forum Rules
![]() ![]() |
Jun 4 2006, 03:57 AM Post
#101 | |
| SPECIAL ![]() ![]() ![]() ![]() ![]() ![]() Group: Banned Posts: 1055 Joined: 3-August 03 Member No.: 5418 OS: none | Got it working now : CODE REG ADD %KEY%\005 /VE /D "avg" /f REG ADD %KEY%\005 /V 1 /D "%CDROM%\Software\avg\avgsetup.exe /script_file %CDROM%\Software\AVG\avgsetup.ini" /f Ini looks like this : CODE HIDE: DONT_START_APPS: NO_WELCOME: NO_AVGW_STARTUP: QUIT_IF_INSTALLED: LOG: "C:\AVG7INST.LOG" TARGET_DIR: "C:\Program Files\AVG7" NAME: "your name" COMPANY: "your company" LICNO: "xx-xxxxxx-xx-xxx-xxxxx-xxx-xxxx" Place AVGSETUP.INI in the AVG folder. works with new version to |
| | |
Jun 15 2006, 12:58 PM Post
#102 | |
| Member ![]() ![]() Group: Members Posts: 138 Joined: 26-November 05 From: Belgium, Ghent Member No.: 80797 |
I'm having a strange problem when installing AVG Free. It doesn't get installed. I did a logged install, maybe somebody can help me. (see attachment). It works when installing attended (same time) or directly after my software installation (without a reboot). BTW, I'm using XPlode to install my software, could that be something ? also, I run the installation at first login (not directly after the boot, but I go to the instalaltion folder myself) EDIT: Tested it after a reboot by running XPlode and installing AVG only, that works! Will test some other stuff later. nvm, everything works now, this is what I have to do: Install XP, let XP (automatically) boot, then reboot, and then running my unattended installation This post has been edited by Jeroeneke: Jun 16 2006, 10:10 AM Attached File(s) |
| | |
Jun 25 2006, 01:33 AM Post
#103 | |
| Member ![]() ![]() Group: Members Posts: 241 Joined: 6-December 03 Member No.: 10469 |
followed your steps, muiz, and got 'invalid switch' -"/f" . ;P
|
| | |
Sep 18 2006, 09:26 PM Post
#104 | |
| Group: Members Posts: 1 Joined: 18-September 06 Member No.: 110667 |
This is for AVG free, downloaded mid september '06, installing off the back of a winxp pro unattended install cd & doing it the vbscript way posted by Schadenfroh file ver avg71free_405a791.exe http://free.grisoft.com/doc/5390/lng/us/tpl/v5#avg-free with 4 update .bin files u7avi804sq.bin u7f4053y.bin u7iavi460sq.bin u7lx30.bin http://free.grisoft.com/doc/24/lng/us/tpl/v5 It will unattendedly install then update to the bin files above (or whatever .bin's are supplied & specified in the scripts - dunno, maybe one could supply the bin files on a seperate cd to be a bit more flexible & up to date whilst keeping the rest of an unattended xp cd 'the same' from month to month (it doesn't go online and grab any updates between when you got the bin files last, and when you run the install cd) modify paths to your requirement & hope it helps someone. works ok on my pc but your mileage etc respect to Schadenfroh go.bat '''''''''''''''' CODE @echo off cls rem E: drive is just my 2nd hard drive where I was playing with this rem I think you must modify it to the proper path for your unattended xp cd! rem We slap the update files on the desktop so it is easy to point AVG at them later on.. echo Copy update file 1 to desktop copy "E:\build custom xp disk\updated xp\xp\$OEM$\$1\Install\Applications\avg19sep06\u7avi804sq.bin" "%userprofile%\desktop\u7avi804sq.bin" echo Copy update file 2 to desktop copy "E:\build custom xp disk\updated xp\xp\$OEM$\$1\Install\Applications\avg19sep06\u7f4053y.bin" "%userprofile%\desktop\u7f4053y.bin" echo Copy update file 3 to desktop copy "E:\build custom xp disk\updated xp\xp\$OEM$\$1\Install\Applications\avg19sep06\u7iavi460sq.bin" "%userprofile%\desktop\u7iavi460sq.bin" echo Copy update file 4 to desktop copy "E:\build custom xp disk\updated xp\xp\$OEM$\$1\Install\Applications\avg19sep06\u7lx30.bin" "%userprofile%\desktop\u7lx30.bin" echo now begin avg install start /wait keypresses.vbs echo avg now installed. killing avg processes tskill avgwb tskill avgupsvc tskill avgcc tskill avgemc tskill avgamsvr echo finally delete update files off the desktop theyre no longer needed del "%userprofile%\desktop\*.bin" keypresses.vbs '''''''''''''''''''''''''''''' CODE 'run the avg installer Set WshShell = WScript.CreateObject("WScript.Shell") WshShell.Run ("avg71free_405a791.exe") 'startup timed at 10 secs - add 4 for good luck WScript.Sleep 14000 WshShell.SendKeys "{ENTER}" 'happens in a flash - give 2 seconds. WScript.Sleep 2000 WshShell.SendKeys "{LEFT}" 'happens in a flash - give 2 seconds. WScript.Sleep 2000 WshShell.SendKeys "{ENTER}" 'happens in a flash - give 2 seconds. WScript.Sleep 2000 WshShell.SendKeys "{LEFT}" 'happens in a flash - give 2 seconds. WScript.Sleep 2000 WshShell.SendKeys "{ENTER}" 'this takes about 4 secs - give 8 for luck WScript.Sleep 8000 WshShell.SendKeys "{TAB}" 'happens in a flash - give 2 seconds. WScript.Sleep 2000 WshShell.SendKeys "{TAB}" 'happens in a flash - give 2 seconds. WScript.Sleep 2000 WshShell.SendKeys "{ENTER}" 'happens in a flash - give 2 seconds. WScript.Sleep 2000 WshShell.SendKeys "{ENTER}" 'maybe dawdles a bit here - give 5 secs, safe side WScript.Sleep 5000 'initiate main install WshShell.SendKeys "{ENTER}" 'install timed at 25 secs. give it 45, safe side 'too long isn't a problem here as it just ends with a 'static' 'OK button, which doesnt threaten to disappear WScript.Sleep 45000 WshShell.SendKeys "{ENTER}" 'took 7 secs for 'congratulations' to appear.. give it 15 WScript.Sleep 15000 WshShell.SendKeys "{ENTER}" 'happens in a flash - give 2 seconds. WScript.Sleep 2000 WshShell.SendKeys "{LEFT}" 'happens in a flash - give 2 seconds. WScript.Sleep 2000 'this asks to update WshShell.SendKeys "{ENTER}" 'happens in a flash - give 2 seconds. WScript.Sleep 2000 'move highlight to folder button. now 'enter' doesnt work 'here for some reason, but we move the focus to the 'correct button anyhow, just in case WshShell.SendKeys "{TAB}" 'happens in a flash - give 2 seconds. WScript.Sleep 2000 'here we say f for folder, not internet update 'we use the keyboard shortcut because 'enter' doesnt seem to 'operate the button correctly here, even though 'the correct button has focus WshShell.SendKeys "f" '1 1/2 secs for browse box to appear. give 5 secs WScript.Sleep 5000 'now folder browse dialog appears. 'we go up-up-up to the desktop where we 'batch-file loaded the updates earlier 'extra 'up's dont matter but we never know whatll be in there? WScript.Sleep 600 WshShell.SendKeys "{UP}" WScript.Sleep 600 WshShell.SendKeys "{UP}" WScript.Sleep 600 WshShell.SendKeys "{UP}" WScript.Sleep 600 WshShell.SendKeys "{UP}" WScript.Sleep 600 WshShell.SendKeys "{UP}" WScript.Sleep 600 WshShell.SendKeys "{UP}" WScript.Sleep 600 WshShell.SendKeys "{UP}" WScript.Sleep 600 WshShell.SendKeys "{UP}" WScript.Sleep 600 WshShell.SendKeys "{UP}" WScript.Sleep 600 WshShell.SendKeys "{UP}" WScript.Sleep 600 WshShell.SendKeys "{UP}" 'throw in a 2 second pause for uh, luck WScript.Sleep 2000 WshShell.SendKeys "{TAB}" 'happens in a flash - give 2 seconds. WScript.Sleep 2000 WshShell.SendKeys "{ENTER}" 'bit of a dawdle, give it 5 sec WScript.Sleep 5000 'this one initiates the update. WshShell.SendKeys "{ENTER}" 'the update was timed at 18 secs, after which 'the ok button was present for 30 secs. 'so try and hit it amidships at 18 + 15 = 33 secs? WScript.Sleep 33000 WshShell.SendKeys "{ENTER}" '4 sec delay.. say 8 for good measure WScript.Sleep 8000 'now, 7 quick 'enter's to take us out WshShell.SendKeys "{ENTER}" WScript.Sleep 2000 WshShell.SendKeys "{ENTER}" WScript.Sleep 2000 WshShell.SendKeys "{ENTER}" WScript.Sleep 2000 WshShell.SendKeys "{ENTER}" WScript.Sleep 2000 WshShell.SendKeys "{ENTER}" WScript.Sleep 2000 WshShell.SendKeys "{ENTER}" WScript.Sleep 2000 WshShell.SendKeys "{ENTER}" 'but this leaves us with avg hanging around the place 'so just kill it back in the batch file with tskill x 5 processes. other files in same folder as the 2 scripts = the avg installer and the 4 update bins Thanks for the info - smashin' forum [edit] updated version - fixed a few problems on older machines CODE Set WshShell = WScript.CreateObject("WScript.Shell") WshShell.Run ("%systemdrive%\Install\Applications\avg19sep06\avg71free_405a791.exe") 'using explicit keys rather than 'enter' all the time 'as apps have nasty habit of moving buttons around 'startup timed at 10 secs on slow machine ' - add 5 for good luck WScript.Sleep 15000 'first dialog - n for next WshShell.SendKeys "{n}" WScript.Sleep 2000 'accept license 1 WshShell.SendKeys "{LEFT}" WScript.Sleep 2000 WshShell.SendKeys "{a}" WScript.Sleep 2000 'accept license 2 WshShell.SendKeys "{LEFT}" WScript.Sleep 2000 WshShell.SendKeys "{a}" 'checking system state 'timed at 40 sec on a slow machine 'so give 50s to be on safe side WScript.Sleep 50000 'select standard install WshShell.SendKeys "{s}" WScript.Sleep 2000 WshShell.SendKeys "{TAB}" WScript.Sleep 2000 WshShell.SendKeys "{TAB}" WScript.Sleep 2000 WshShell.SendKeys "{n}" WScript.Sleep 2000 'confirmation next WshShell.SendKeys "{n}" WScript.Sleep 2000 'summary (button=finish) WshShell.SendKeys "{f}" 'install timed at 25 secs. give it 50, safe side 'too long isn't a problem here as it just ends with a 'static' 'OK button, which doesnt threaten to disappear 'add. info. -timed on a slow machine at 32s WScript.Sleep 50000 'once done its 'o' for okay WshShell.SendKeys "{o}" 'took 7 secs for 'congratulations' to appear.. give it 15 WScript.Sleep 15000 WshShell.SendKeys "{>}" WScript.Sleep 2000 WshShell.SendKeys "{RIGHT}" WScript.Sleep 2000 WshShell.SendKeys "{RIGHT}" WScript.Sleep 2000 WshShell.SendKeys "{RIGHT}" WScript.Sleep 2000 WshShell.SendKeys "{LEFT}" WScript.Sleep 2000 'this asks to update WshShell.SendKeys "{ENTER}" WScript.Sleep 2000 'folder or internet update? WshShell.SendKeys "{RIGHT}" WScript.Sleep 2000 WshShell.SendKeys "{RIGHT}" WScript.Sleep 2000 WshShell.SendKeys "{LEFT}" WScript.Sleep 2000 'this asks to update WshShell.SendKeys "{f}" '1 1/2 secs for browse box to appear. give 5 secs WScript.Sleep 5000 'now folder browse dialog appears. 'we go up-up-up to the desktop where we 'batch-file loaded the updates earlier 'extra 'up's dont matter but we never know whatll be in there? WScript.Sleep 600 WshShell.SendKeys "{UP}" WScript.Sleep 600 WshShell.SendKeys "{UP}" WScript.Sleep 600 WshShell.SendKeys "{UP}" WScript.Sleep 600 WshShell.SendKeys "{UP}" WScript.Sleep 600 WshShell.SendKeys "{UP}" WScript.Sleep 600 WshShell.SendKeys "{UP}" 'throw in a 2 second pause for luck WScript.Sleep 2000 WshShell.SendKeys "{TAB}" 'happens in a flash - give 2 seconds. WScript.Sleep 2000 WshShell.SendKeys "{ENTER}" 'bit of a dawdle, give it 5 sec WScript.Sleep 5000 'this one initiates the update. WshShell.SendKeys "{y}" 'update will take anything from 15 - 40 secs. 'it is followed by an ok dialog which lasts for 30 seconds 'before returning you to a next button. 'so max time = 40 sec + 30 sec + say 10 sec grace = 80s WScript.Sleep 80000 'grab focus when avg reappears WshShell.AppActivate("AVG Free - First Run") WScript.Sleep 2000 'now, 7 keypresses to take us out WshShell.SendKeys "{>}" WScript.Sleep 2000 WshShell.SendKeys "{>}" WScript.Sleep 2000 WshShell.SendKeys "{>}" WScript.Sleep 2000 WshShell.SendKeys "{>}" WScript.Sleep 2000 WshShell.SendKeys "{>}" WScript.Sleep 2000 WshShell.SendKeys "{>}" WScript.Sleep 2000 WshShell.SendKeys "{ENTER}" 'but this leaves us with avg hanging around the place 'so just kill it back in the batch file with tskill x 5 processes. This post has been edited by argimiro: Sep 27 2006, 09:59 AM |
| | |
Dec 9 2006, 10:55 AM Post
#105 | |
| Senior Member ![]() ![]() ![]() ![]() Group: Members Posts: 672 Joined: 27-May 04 From: Amsterdam Member No.: 20882 |
Damnz.. can't AVG FREE 7.5 be installed silently with just a switch and perhaps a few taskkill commands afterwards? I use Kaspersky... but not everyone is paying for A/V so I'd like to put this free A/V to my cd.. EDIT: Here you go, for Grisoft AVG anti-virus FREE silent install, simply use these switches: /HIDE /DONT_START_APPS /NO_WELCOME /NO_AVGW_STARTUP /QUIT_IF_INSTALLED source: http://forums.whirlpool.net.au/forum-repli...cfm/632926.html This post has been edited by ZileXa: Dec 9 2006, 11:00 AM |
| | |
Dec 9 2006, 11:51 PM Post
#106 | |
| Somewhat Knowledgeable Group: Supreme Sponsors Posts: 580 Joined: 30-September 03 From: Fox Valley, WI Member No.: 7533 OS: Vista Business x64 |
I've noticed that I need to run update several times to fully update AVG Free, installing priority updates and optional updates along the way. So I modified my earlier AutoIt script to loop through the update process until complete: CODE ;-----install AVG Free RunWait(@ScriptDir & '\avg75free_428a818.exe /HIDE /DONT_START_APPS /NO_WELCOME /NO_AVGW_STARTUP /QUIT_IF_INSTALLED') FileDelete(@DesktopCommonDir & '\AVG*.lnk') FileCreateShortcut(@ProgramFilesDir & '\Grisoft\AVG Free\avgw.exe', @ProgramsCommonDir & '\Accessories\System Tools\AVG Free.lnk') DirRemove(@ProgramsCommonDir & '\AVG Free Edition', 1) ;-----update AVG Free Update() While 1 If WinExists('AVG Free Edition Update Selection', 'Please select update') Then ControlClick('AVG Free Edition Update Selection', 'Please select update', 'Button2') ElseIf WinExists ('AVG Free Edition', 'Update was successfully finished') Then ControlClick('AVG Free Edition', 'Update was successfully finished', 'Button1') Update() Else If WinExists('Update AVG', 'An error occurred when trying to connect') Then ControlClick('Update AVG', 'An error occurred when trying to connect', 'Button1') ElseIf WinExists('AVG Update', 'Your AVG program already has the latest updates installed') Then ControlClick('AVG Update', 'Your AVG program already has the latest updates installed', 'Button1') Exit EndIf EndIf Sleep(40) WEnd Func Update() $var = Ping('guru.grisoft.com') If $var Then Run(@Programfilesdir & '\Grisoft\AVG Free\avginet.exe') Else Exit EndIf EndFunc In my case, the update process runs three times and the program is fully up-to-date following the unattend routine. Nice. This post has been edited by blinkdt: Dec 9 2006, 11:58 PM |
| | |
Dec 10 2006, 03:53 AM Post
#107 | |
| The Guy from Aus ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 1543 Joined: 14-November 03 From: DownUnder Member No.: 9474 |
Nice script there blinkdt, I might modify it for my personal use as I prefer to update after all installations are completed.
|
| | |
Jan 20 2007, 11:14 AM Post
#108 | |
| Stalker ![]() ![]() Group: Members Posts: 176 Joined: 23-February 05 From: Philippines Member No.: 44917 | Got it working now : CODE REG ADD %KEY%05 /VE /D "avg" /f REG ADD %KEY%05 /V 1 /D "%CDROM%\Software\avg\avgsetup.exe /script_file %CDROM%\Software\AVG\avgsetup.ini" /f Ini looks like this : CODE HIDE: DONT_START_APPS: NO_WELCOME: NO_AVGW_STARTUP: QUIT_IF_INSTALLED: LOG: "C:\AVG7INST.LOG" TARGET_DIR: "C:\Program Files\AVG7" NAME: "your name" COMPANY: "your company" LICNO: "xx-xxxxxx-xx-xxx-xxxxx-xxx-xxxx" Place AVGSETUP.INI in the AVG folder. works with new version to What are additional switches I can use? like to be able to select only the components I want to be installed? |
| | |
Jan 28 2007, 05:14 AM Post
#109 | |
| Stalker ![]() ![]() Group: Members Posts: 176 Joined: 23-February 05 From: Philippines Member No.: 44917 |
Also using the AVG_Admin, how can I specify in the .INI that AVG should update from file after installation?
|
| | |
Feb 10 2007, 01:48 PM Post
#110 | |
| Group: Members Posts: 2 Joined: 27-March 06 Member No.: 92012 |
Hi. I installed AVG 7.5 silent with INI file , but i can,t find out how to install it with firewall, because firewall by default isn't installed. Please help! My INI file: CODE HIDE: DONT_START_APPS: NO_WELCOME: NO_AVGW_STARTUP: QUIT_IF_INSTALLED: LOG: "C:\AVG7INST.LOG" TARGET_DIR: "C:\Program Files\AVG7" NAME: "your name" COMPANY: "your company" LICNO: "xx-xxxxxx-xx-xxx-xxxxx-xxx-xxxx" |
| | |
Feb 10 2007, 08:40 PM Post
#111 | |
| Stalker ![]() ![]() Group: Members Posts: 176 Joined: 23-February 05 From: Philippines Member No.: 44917 | Hi. I installed AVG 7.5 silent with INI file , but i can,t find out how to install it with firewall, because firewall by default isn't installed. Please help! My INI file: CODE HIDE: DONT_START_APPS: NO_WELCOME: NO_AVGW_STARTUP: QUIT_IF_INSTALLED: LOG: "C:\AVG7INST.LOG" TARGET_DIR: "C:\Program Files\AVG7" NAME: "your name" COMPANY: "your company" LICNO: "xx-xxxxxx-xx-xxx-xxxxx-xxx-xxxx" you can use the avg_admin, which is free & downloadable from avg site. |
| | |
Jul 29 2007, 03:42 AM Post
#112 | |
| Newbie Group: Members Posts: 45 Joined: 9-August 06 Member No.: 107123 |
I am not sure why, but I could not get the Admin to work. First it told me that my installer would not work, so I downloaded the network version of my software. Then it told me my key was wrong. Thats funny since it installs fine without the Admin. Anyway, I am not very good with Runonce or Autoit so i messed with switches till I found what I needed. Here is how I did it. Created my avgsetup.ini file with Notepad. CODE HIDE: DONT_START_APPS: NO_WELCOME: NO_AVGW_STARTUP: QUIT_IF_INSTALLED: LOG: "C:\AVG7INST.LOG" TARGET_DIR: "C:\Program Files\AVG7" NAME: "your name" COMPANY: "your company" LICNO: "xx-xxxxxx-xx-xxx-xxxxx-xxx-xxxx" From what I remember, you need to use quotes anytime you use a switch and follow it with information. Like this CODE /script_file "D:\PROGRAMS\$Done$\AVG\avgsetup.ini" Not sure why, but having quotes around it caused it to fail. AVG showed a setup failure do to a parse error. So, I just removed the quotes like this: CODE /script_file D:\PROGRAMS\$Done$\AVG\avgsetup.ini and it installed just like the ini told it to. Now this is only tested through the RUN cmd in WinXP. I am getting ready to test it in my install. UPDATE Ok, in a Unattended installation this method failed. Now I can not even get it to work like it did. I will have to do more testing to find out what I most likely forgot or screwed up. UPDATE Ok, now it works! Seems that you can not have any spaces in the file name at all. I had /script_file C:\Installs\Applications\AVG7.5 Anti Malware\avgsetup.ini and it failed. But, when I changed the folder name to /script_file C:\Installs\Applications\AVG75AntiMalware\avgsetup.ini it went on and did a silent install. So, I have proven it to work on WinXPPro. If others can try this on other versions just to make sure it does exactly work then we have a better way to install AVG Pro. This post has been edited by Triel: Aug 1 2007, 09:54 PM |
| | |
Sep 23 2007, 08:28 PM Post
#113 | |
| Junior ![]() Group: Members Posts: 78 Joined: 10-December 04 Member No.: 38319 |
here is the ini for people who use AVG + Firewall CODE HIDE: DONT_START_APPS: NO_WELCOME: NO_AVGW_STARTUP: QUIT_IF_INSTALLED: LICNO: "xxxxxxxxxxxxxxxxxxxxxxxxxxx" ADD_FEATURE: fea_AVG_ResidentShield ADD_FEATURE: fea_AVG_Firewall ADD_FEATURE: fea_AVG_Bat_plugin ADD_FEATURE: fea_AVG_Exchange_plugin ADD_FEATURE: fea_AVG_Eudora_plugin ADD_FEATURE: fea_AVG_EMC ADD_FEATURE: fea_AVG_Office_2000_plugin for differnt langs add desired: CODE ADD_FEATURE: fea_AVG_Language_CZ ADD_FEATURE: fea_AVG_Language_GE ADD_FEATURE: fea_AVG_Language_SK ADD_FEATURE: fea_AVG_Language_FR ADD_FEATURE: fea_AVG_Language_SP ADD_FEATURE: fea_AVG_Language_PB ADD_FEATURE: fea_AVG_Language_PL ADD_FEATURE: fea_AVG_Language_SC ADD_FEATURE: fea_AVG_Language_IT ADD_FEATURE: fea_AVG_Language_HU ADD_FEATURE: fea_AVG_Language_NL ADD_FEATURE: fea_AVG_Language_JP ADD_FEATURE: fea_AVG_Language_PT Regards cyph |
| | |
Sep 24 2007, 11:21 AM Post
#114 | |
| Newbie Group: Members Posts: 10 Joined: 6-December 06 Member No.: 117741 | QUOTE (argimiro) tskill avgwb tskill avgupsvc tskill avgcc tskill avgemc tskill avgamsvr While AVG's running? Dream on Even when I've closed Control Center. It keep prevent some virus, keylog ,trojan from executing This post has been edited by nhatminh1209: Sep 24 2007, 11:25 AM |
| | |
Mar 18 2008, 03:41 PM Post
#115 | |
| Newbie Group: Members Posts: 26 Joined: 21-June 05 Member No.: 61404 |
I've found a way to update the AVG Free version with the latest downloaded virus definition files (*.bin) stored on a local disk without the use of scripts. Let's assume AVG is installed in "C:\Program Files\AVG7" and the bin-files are stored in "D:\Data\AVG-Update". Run the following command CODE "C:\Program Files\AVG7\avgw.exe" /UPDATE /UPDDIR="D:\Data\AVG-Update" The latest bin files will be installed. And the usual popup box (which closes after 30 seconds) will show itself. BTW, you can run it right after you've installed AVG. |
| | |
Apr 19 2008, 06:18 AM Post
#116 | |
| Newbie Group: Members Posts: 26 Joined: 21-June 05 Member No.: 61404 |
This week I've found a solution for updating from the internet without asking the user for confirmation. CODE AVGINET.EXE /ADMIN /UPDDIR="D:\Data\AVG-Update" The /ADMIN switch will download the updates from the internet (without asking the user for confirmation). All updates are downloaded to "%ALLUSERSPROFILE%\Application Data\Grisoft\Avg7Data\upd7bin". If you use the switch "/UPDDIR=...", the update files will be copied (not moved) to the path specified. Use quotes around the pathname, otherwise this switch will be ignored. As a downside, the first time it will download the full updates (which is approx. 28mb, at the moment), even if you've installed the latest version. Another thing, the updates are not installed automaticly. To do this you need avgw.exe (see my previous post). So to put it all together: (Install, download the updates, install the updates) CODE avg75free_524a1293.exe /HIDE /DONT_START_APPS /NO_WELCOME /NO_AVGW_STARTUP /QUIT_IF_INSTALLED /TARGET_DIR %SYSTEMDRIVE%\Apps\AVG\Antivirus %SYSTEMDRIVE%\Apps\AVG\Antivirus\avginet.exe /ADMIN /UPDDIR="D:\Data\AVG-Update" %SYSTEMDRIVE%\Apps\AVG\Antivirus\avgw.exe /UPDATE /UPDDIR="D:\Data\AVG-Update" This works for the free version. I don't know if it'll work for a licensed version. |
| | |
Apr 19 2008, 02:34 PM Post
#117 | |
| The Guy from Aus ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 1543 Joined: 14-November 03 From: DownUnder Member No.: 9474 |
Nice find but not a biggy, I personally prefer not be connected to the net whilst doing any Ua or silent installs.
|
| | |
Apr 22 2008, 01:13 PM Post
#118 | |
| Newbie Group: Members Posts: 26 Joined: 21-June 05 Member No.: 61404 |
Today I found out how to download only the latest update files, priority and if available recommended. CODE %SYSTEMDRIVE%\Apps\AVG\Antivirus\avginet.exe /SCHED=0 All updates are downloaded in 1 go, and updated immediately. No additional commands or scripts needed. 1 other thing, The free version can also use a scriptfile to install avg-antivirus. Mine looks like this: CODE /HIDE /DONT_START_APPS /NO_WELCOME /NO_AVGW_STARTUP /QUIT_IF_INSTALLED /LOG %SYSTEMDRIVE%\Apps\Install_AVG_AV.log /TARGET_DIR %SYSTEMDRIVE%\Apps\AVG\Antivirus And here is the full install command: CODE %CDROM%\Install\AVG\avg75free_524a1293.exe /SCRIPT_FILE %CDROM%\Install\AVG\AVG_AV.ini Edit: Unfortunately the update commands only apply to avg7 and not avg8, the switch "SCRIPT_FILE" does work for avg8 also. This post has been edited by jjvs: Apr 26 2008, 03:11 AM |
| | |
Apr 28 2008, 09:42 AM Post
#119 | |
| Junior ![]() Group: Members Posts: 72 Joined: 8-November 05 From: Luebeck, Germany Member No.: 79081 |
@jjvs Thanks for sharing your experiences with us! So I can install AVG 8 Free silently using your INI-file and the command-line you posted? Are there some more parameters for the INI-file? I found this in the AVG-forum/FAQ: How to install AVG without LinkScanner And what do you mean, that the update-commands are not working in AVG 8? I simply want to install AVG 8 silently and unattended - updates are made when first connecting to the internet, because I don't have internet-access while installing Windows. BTW, maybe it's possible to include AVG 8, its INI-script and the actual updates in a WinRAR-SFX-archive? After extracting all files to e.g. %temp%\AVG8 it calls a CMD-file, that first runs the AVG-setup referring to the INI-script and after that installing the included updates via this command-line: CODE %SYSTEMDRIVE%\Apps\AVG\Antivirus\avgw.exe /UPDATE /UPDDIR="%temp%\AVG8" I will try to make a batch-file like I already did for Avira Antivir 8 and see if this works! Best regards cool400 This post has been edited by cool400: Apr 28 2008, 09:45 AM |
| | |
Apr 28 2008, 11:49 AM Post
#120 | |
| Newbie Group: Members Posts: 26 Joined: 21-June 05 Member No.: 61404 |
Hi Cool400, Yes you can use the scriptfile. It works so much easier. There is an option to disable the installation of the "Yahoo toolbar": CODE /NOAVGTOOLBAR I haven't tried to disable the linkscanner myself. So I cannot help you with that. About the updates, The line of code you included in your post doesn't work. AVG has decided to use another commandline util. CODE %SYSTEMDRIVE%\Apps\AVG\avgupd.exe This will go to the internet, and grab the latest update files, and install these. I've tried to find an option to update AVG with local stored update files. But no success so far.Hope it'll helps |
| | |
![]() ![]() |
| Lo-Fi Version | Time is now: 22nd November 2009 - 04:36 PM |