Jump to content

AVG 6 AVG Free Application switch


talon

Recommended Posts

Hi

I looked at several posts on this forum on getting AVg to install scilently, but all the methods I have tried so far, just prompts me to manualy install the aplication.

Can anyone who has got this to work, please post their bath file command and any relavent files that are placed in the AVG folder.

PS how do you calla VB script file in Batch mode.?

Thanks

Link to comment
Share on other sites


Different Method

avg.vbs

Set WshShell = CreateObject("WScript.Shell")
Set FileSysObj = CreateObject("Scripting.FileSystemObject")
ScriptPath = FileSysObj.GetFile(WScript.ScriptFullName).ParentFolder
Cmd = Chr(34) & ScriptPath & "\setup.exe" & Chr(34)
WshShell.Run Cmd
' Give time to load
WScript.Sleep 4000
WshShell.SendKeys "~"
' License Agree
WScript.Sleep 1000
WshShell.SendKeys "~"
' Serial
WScript.Sleep 1000
WshShell.SendKeys "AVG-x-xxxxxxxx-XXX"
WScript.Sleep 1000
WshShell.SendKeys "~"
' Install Location
WScript.Sleep 1000
WshShell.SendKeys "~"
' Program folder
WScript.Sleep 1000
WshShell.SendKeys "~"
' Start Copy
WScript.Sleep 1000
WshShell.SendKeys "~"
' Configure
WScript.Sleep 8000
WshShell.SendKeys "~"
' Auto Update
WScript.Sleep 1000
WshShell.SendKeys "~"
' Readme
WScript.Sleep 1000
WshShell.SendKeys "~"
' REBOOT NO
WScript.Sleep 1000
WshShell.SendKeys "{TAB}"
WScript.Sleep 1000
WshShell.sendKeys " "
WScript.Sleep 1000
WshShell.SendKeys "{TAB}"
WScript.Sleep 1000
WshShell.SendKeys "~"

Set WshShell = Nothing
Set FileSysObj = Nothing
WScript.Quit

In Runoncex

REG ADD %KEY%\iAdd /VE /D "AVG Antivirus Free" /f
REG ADD %KEY%\iAdd /V 1 /D "WScript.exe %systemdrive%\Install\AVG\avg.vbs" /f

Link to comment
Share on other sites

  • 3 weeks later...
Download the file here, it works just fine. :) You just put it in the AVG antivirus folder together with the AVG Setup file, and run it instead of the actual Setup.exe

AVG Antivirus AutoIt script

I ran this Autoit script in my creation the installer showed & asked if I would like to continue installing yes or no & whole installation froze? Tried also by manually running same result has anyone else experienced this?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...