MSFN Forum: AVG Anti-Virus Silent - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

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
  • 7 Pages +
  • « First
  • 3
  • 4
  • 5
  • 6
  • 7
  • You cannot start a new topic
  • You cannot reply to this topic

AVG Anti-Virus Silent I found out how to do it Rate Topic: -----

#81 User is offline   xorg 

  • Newbie
  • Group: Members
  • Posts: 16
  • Joined: 18-December 05

  Posted 08 January 2006 - 08:54 PM

View Postflattspott, on Nov 9 2003, 01:15 AM, said:

This is what you've all be waiting for. How to do a silent install with AVG Anti-Virus.
Change the directories if needed. You should have something similar;

$OEM$\$1\Install\Applications\AVG7\

Inside the AVG7 folder you put extracted AVG setup files.
Then you have to make a file named avgsetup.ini and put the following in it:

HIDE:
DONT_START_APPS:
NO_WELCOME:
LOG: "C:\AVG7INST.LOG" 
NAME: "UserName" 
COMPANY: "Company" 
LICNO: "Serial"


The AVG7 folder should now have the following;

avgsetup.exe
avgsetup.ini
files.dat
setup.dat
setup.lns
license_sk.txt
license_us.txt
license_cz.txt
license_fr.txt
license_ge.txt
readme_ge.txt
readme_cz.txt
readme_fr.txt
readme_sk.txt
readme_us.txt

I tried removing the text files but AVG wouldn't install so just leave them.

Then add this to your app install file;

ECHO.
ECHO Installing AVG Anti-Virus 7.0.197...
SET SETUP="%systemdrive%\Install\Applications\AVG7\avgsetup.exe"
[COLOR=blue]%SETUP% /SCRIPT_FILE "%systemdrive%\Install\Applications\AVG7\avgsetup.ini" %1 %2 %3 %4 %5 %6 %7 %8 %9
[/COLOR]


The part in blue is one line.

If you want to get more technical get the freeware app AVGADMIN 7.0.195

It's how I did it.



With the second lot of code, does this also go into the avgsetup.ini File?

View Postflattspott, on Nov 9 2003, 01:15 AM, said:

This is what you've all be waiting for. How to do a silent install with AVG Anti-Virus.
Change the directories if needed. You should have something similar;

$OEM$\$1\Install\Applications\AVG7\

Inside the AVG7 folder you put extracted AVG setup files.
Then you have to make a file named avgsetup.ini and put the following in it:

HIDE:
DONT_START_APPS:
NO_WELCOME:
LOG: "C:\AVG7INST.LOG" 
NAME: "UserName" 
COMPANY: "Company" 
LICNO: "Serial"


The AVG7 folder should now have the following;

avgsetup.exe
avgsetup.ini
files.dat
setup.dat
setup.lns
license_sk.txt
license_us.txt
license_cz.txt
license_fr.txt
license_ge.txt
readme_ge.txt
readme_cz.txt
readme_fr.txt
readme_sk.txt
readme_us.txt

I tried removing the text files but AVG wouldn't install so just leave them.

Then add this to your app install file;

ECHO.
ECHO Installing AVG Anti-Virus 7.0.197...
SET SETUP="%systemdrive%\Install\Applications\AVG7\avgsetup.exe"
[COLOR=blue]%SETUP% /SCRIPT_FILE "%systemdrive%\Install\Applications\AVG7\avgsetup.ini" %1 %2 %3 %4 %5 %6 %7 %8 %9
[/COLOR]


The part in blue is one line.

If you want to get more technical get the freeware app AVGADMIN 7.0.195

It's how I did it.



With the second lot of code, does this also go into the avgsetup.ini File?

"ECHO.
ECHO Installing AVG Anti-Virus 7.0.197...
SET SETUP="%systemdrive%\Install\Applications\AVG7\avgsetup.exe"
%SETUP% /SCRIPT_FILE "%systemdrive%\Install\Applications\AVG7\avgsetup.ini" %1 %2 %3 %4 %5 %6 %7 %8 %9
"

Does this lot of code go into the avgsetup.ini file?

I am using AVG 7.1 Free edition (Build 371), to build my (First) switchless installer.


#82 User is offline   MAVERICKS CHOICE 

  • The Guy from Aus
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,615
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 08 January 2006 - 09:25 PM

View Postxorg, on Jan 9 2006, 01:54 PM, said:

View Postflattspott, on Nov 9 2003, 01:15 AM, said:

This is what you've all be waiting for. How to do a silent install with AVG Anti-Virus.
Change the directories if needed. You should have something similar;

$OEM$\$1\Install\Applications\AVG7\

Inside the AVG7 folder you put extracted AVG setup files.
Then you have to make a file named avgsetup.ini and put the following in it:

HIDE:
DONT_START_APPS:
NO_WELCOME:
LOG: "C:\AVG7INST.LOG" 
NAME: "UserName" 
COMPANY: "Company" 
LICNO: "Serial"


The AVG7 folder should now have the following;

avgsetup.exe
avgsetup.ini
files.dat
setup.dat
setup.lns
license_sk.txt
license_us.txt
license_cz.txt
license_fr.txt
license_ge.txt
readme_ge.txt
readme_cz.txt
readme_fr.txt
readme_sk.txt
readme_us.txt

I tried removing the text files but AVG wouldn't install so just leave them.

Then add this to your app install file;

ECHO.
ECHO Installing AVG Anti-Virus 7.0.197...
SET SETUP="%systemdrive%\Install\Applications\AVG7\avgsetup.exe"
[COLOR=blue]%SETUP% /SCRIPT_FILE "%systemdrive%\Install\Applications\AVG7\avgsetup.ini" %1 %2 %3 %4 %5 %6 %7 %8 %9
[/COLOR]


The part in blue is one line.

If you want to get more technical get the freeware app AVGADMIN 7.0.195

It's how I did it.



With the second lot of code, does this also go into the avgsetup.ini File?

View Postflattspott, on Nov 9 2003, 01:15 AM, said:

This is what you've all be waiting for. How to do a silent install with AVG Anti-Virus.
Change the directories if needed. You should have something similar;

$OEM$\$1\Install\Applications\AVG7\

Inside the AVG7 folder you put extracted AVG setup files.
Then you have to make a file named avgsetup.ini and put the following in it:

HIDE:
DONT_START_APPS:
NO_WELCOME:
LOG: "C:\AVG7INST.LOG" 
NAME: "UserName" 
COMPANY: "Company" 
LICNO: "Serial"


The AVG7 folder should now have the following;

avgsetup.exe
avgsetup.ini
files.dat
setup.dat
setup.lns
license_sk.txt
license_us.txt
license_cz.txt
license_fr.txt
license_ge.txt
readme_ge.txt
readme_cz.txt
readme_fr.txt
readme_sk.txt
readme_us.txt

I tried removing the text files but AVG wouldn't install so just leave them.

Then add this to your app install file;

ECHO.
ECHO Installing AVG Anti-Virus 7.0.197...
SET SETUP="%systemdrive%\Install\Applications\AVG7\avgsetup.exe"
[COLOR=blue]%SETUP% /SCRIPT_FILE "%systemdrive%\Install\Applications\AVG7\avgsetup.ini" %1 %2 %3 %4 %5 %6 %7 %8 %9
[/COLOR]


The part in blue is one line.

If you want to get more technical get the freeware app AVGADMIN 7.0.195

It's how I did it.



With the second lot of code, does this also go into the avgsetup.ini File?

"ECHO.
ECHO Installing AVG Anti-Virus 7.0.197...
SET SETUP="%systemdrive%\Install\Applications\AVG7\avgsetup.exe"
%SETUP% /SCRIPT_FILE "%systemdrive%\Install\Applications\AVG7\avgsetup.ini" %1 %2 %3 %4 %5 %6 %7 %8 %9
"

Does this lot of code go into the avgsetup.ini file?

I am using AVG 7.1 Free edition (Build 371), to build my (First) switchless installer.


@ Xorg

You seem to be going to alot of trouble to install the free edition, ini not really reqd just use the switches which are widely specified in this thread.

Cheers

MC.

#83 User is offline   tempuser 

  • スキューバ ダイバ
  • PipPip
  • Group: Members
  • Posts: 119
  • Joined: 08-December 05

Posted 09 January 2006 - 12:19 AM

avg free = virus LOL

so many false positives i had to delete it from my workstation.

every few seconds it would detect some virus. FALSE !!!

LOL

Bitdefender is the best

This post has been edited by tempuser: 09 January 2006 - 12:20 AM


#84 User is offline   Jeroeneke 

  • Member
  • PipPip
  • Group: Members
  • Posts: 138
  • Joined: 26-November 05

Posted 09 January 2006 - 01:53 PM

View Posttempuser, on Jan 9 2006, 07:19 AM, said:

avg free = virus LOL

so many false positives i had to delete it from my workstation.

every few seconds it would detect some virus. FALSE !!!

LOL

Bitdefender is the best


I have been using AVG Free for a while now (after Norton f***ed up my pc) and I'm having no problems with it!

I would also like to know how to unattendedly install those updates!

thx! jeroen.

#85 User is offline   The008 

  • MSFN Curious
  • PipPip
  • Group: Members
  • Posts: 124
  • Joined: 18-July 05

  Posted 30 January 2006 - 10:50 AM

Hey guys, I tried using this with my AVG 7 plus Firewall (not Free) and works fine:


avgsetup.ini

Quote

HIDE:
DONT_START_APPS:
NO_WELCOME:
NAME: "UserName"
COMPANY: "Company"
LICNO: "Serial"
setup.bat

Quote

ECHO.
ECHO Installing AVG Anti-Virus 7 plus Firewall...
SET SETUP="%systemdrive%\Install\Applications\AVG7\avgsetup.exe"
SET SCRIPT="%systemdrive%\Install\Applications\AVG7\avgsetup.ini"
%SETUP% /SCRIPT_FILE %SCRIPT% %1 %2 %3 %4 %5 %6 %7 %8 %9



if anyone wants, you can create a .log file in the c:\ or %systemdrive% just adding this line in the avgsetup.ini:

Quote

LOG: "%systemdrive%\AVG7INST.LOG"
...or....
LOG: "C:\AVG7INST.LOG"


just like the first post in this section, fully working, then I'm just trying to discover how to install up-to-date.

#86 User is offline   Danielb 

  • Newbie
  • Group: Members
  • Posts: 13
  • Joined: 19-November 05

Posted 27 February 2006 - 02:58 PM

Quote

avg free = virus LOL

so many false positives i had to delete it from my workstation.

every few seconds it would detect some virus. FALSE !!!

LOL


I have no problems either, i would sort you pc out mate :lol:

#87 User is offline   MAVERICKS CHOICE 

  • The Guy from Aus
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,615
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 28 February 2006 - 03:27 AM

Yeah Tempers got some real issues with AVG huh, no dramas or viruses here.

I'm really thinkin I need to speak to someone from AVG re what files can be backed up & then reinstalled in a ua install. Don't know how much luck I'll have with that but I only have the free vers? & one pc anyway may be worth the ask?

Cheers
MC

#88 User is offline   malinduta 

  • Newbie
  • Group: Members
  • Posts: 39
  • Joined: 19-January 05

Posted 09 March 2006 - 07:08 AM

View PostWesmosis, on Oct 12 2005, 08:32 PM, said:

plz how to update unattendely?
i downloaded the bin files along the main exe avg, but donno how to integrate or involve those bin files


Chech here: http://www.msfn.org/...showtopic=69536

#89 User is offline   Wesmosis 

  • Just Call Me Doctor Just Call Me Pain!
  • PipPipPipPipPip
  • Group: Members
  • Posts: 787
  • Joined: 20-September 04

Posted 19 March 2006 - 03:21 PM

@malinduta
thanx

so guyz, what the best easiesi method for installing AVG Pro version?

#90 User is offline   TheOZ 

  • Group: Members
  • Posts: 1
  • Joined: 27-April 06
  • OS:XP Pro x86
  • Country: Country Flag

Posted 28 April 2006 - 08:36 PM

I'm not sure if any of this helps out but here we go.........
I've been using AVG7.1 FULL version, and have been trying to do silent install...
After reading through these posts I tried my hand at it.........Sorry to say I havent got it to do silent install, but I have got it to accept serial with AVGSETUP.INI file, and it does install ok.
Strangest thing is when I use my method, AVG installs as "SERVER EDITION".......
This doesnt show up when I've installed on regular attended setup though. :blink:

Heres what I've done............
----------------------------------------------------------------
AVGSETUP.INI file

NAME:"AVGUSER"
COMPANY:"."
LICNO:"xx-xxxxxx-xx-xxx-xxxxx-xxx-xxxx"

--------------------------------------------------------------------
SETUP.CMD file

@cmdow @ /hid
@echo off
FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\CD.txt SET
CDROM=%%i:
SET SETUP="PATH\AVG\avgsetup.exe"
SET SCRIPT="PATH\AVG\avgsetup.ini"
START "AVG SETUP" /WAIT %SETUP% /SCRIPT_FILE %SCRIPT% %1 %2 %3 %4 %5 %6 %7 %8 %9
/DONT_START_APPS /NO_WELCOME /NO_AVGW_STARTUP /QUIT_IF_INSTALLED

----------------------------------------------------------------------
All setup files have been unzipped into folder along with .cmd and .ini files....

I dont believe these switches are working though.....
""/DONT_START_APPS /NO_WELCOME /NO_AVGW_STARTUP /QUIT_IF_INSTALLED""

Install is as usuall.....
Any and all ideas would be appreciated.......

THEOZ.............
BTW.....GREAT FORUM.....Keep up the good work, and thanks for everything.............

This post has been edited by TheOZ: 28 April 2006 - 08:42 PM


#91 User is offline   muiz 

  • SPECIAL
  • PipPipPipPipPipPip
  • Group: Banned
  • Posts: 1,055
  • Joined: 03-August 03
  • OS:none specified
  • Country: Country Flag

Posted 19 May 2006 - 02:07 AM

View PostTheOZ, on Apr 29 2006, 03:36 AM, said:

I'm not sure if any of this helps out but here we go.........
I've been using AVG7.1 FULL version, and have been trying to do silent install...
After reading through these posts I tried my hand at it.........Sorry to say I havent got it to do silent install, but I have got it to accept serial with AVGSETUP.INI file, and it does install ok.
Strangest thing is when I use my method, AVG installs as "SERVER EDITION".......
This doesnt show up when I've installed on regular attended setup though. :blink:

Heres what I've done............
----------------------------------------------------------------
AVGSETUP.INI file

NAME:"AVGUSER"
COMPANY:"."
LICNO:"xx-xxxxxx-xx-xxx-xxxxx-xxx-xxxx"

--------------------------------------------------------------------
SETUP.CMD file

@cmdow @ /hid
@echo off
FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\CD.txt SET
CDROM=%%i:
SET SETUP="PATH\AVG\avgsetup.exe"
SET SCRIPT="PATH\AVG\avgsetup.ini"
START "AVG SETUP" /WAIT %SETUP% /SCRIPT_FILE %SCRIPT% %1 %2 %3 %4 %5 %6 %7 %8 %9
/DONT_START_APPS /NO_WELCOME /NO_AVGW_STARTUP /QUIT_IF_INSTALLED

----------------------------------------------------------------------
All setup files have been unzipped into folder along with .cmd and .ini files....

I dont believe these switches are working though.....
""/DONT_START_APPS /NO_WELCOME /NO_AVGW_STARTUP /QUIT_IF_INSTALLED""

Install is as usuall.....
Any and all ideas would be appreciated.......

THEOZ.............
BTW.....GREAT FORUM.....Keep up the good work, and thanks for everything.............

Doesnt work

#92 User is offline   MAVERICKS CHOICE 

  • The Guy from Aus
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,615
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 19 May 2006 - 04:29 AM

Only have good success with the free vers so far.

Cheers
MC.

#93 User is offline   muiz 

  • SPECIAL
  • PipPipPipPipPipPip
  • Group: Banned
  • Posts: 1,055
  • Joined: 03-August 03
  • OS:none specified
  • Country: Country Flag

Posted 20 May 2006 - 06:50 AM

Got it working now :

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 :

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.

This post has been edited by muiz: 20 May 2006 - 06:51 AM


#94 User is offline   Sangi 

  • Newbie
  • Group: Members
  • Posts: 34
  • Joined: 29-November 05

  Posted 31 May 2006 - 10:52 AM

Forgive the confusion and ignorance :blushing: but I have some basic questions regarding Licensing, as suggested by MUIZ, and Updating, as suggested by blinkdt.

PLEASE HELP!

1. LICENSING

MUIZ,

You said:


Quote

Got it working now :

CODEREG 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 :

CODEHIDE:
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.
Here are my questions:
1. What is the script_file, which script does it refer to? (I looked at the thread but I could decide which script did what, nor for which version, Free or Pro, and I'm interested in Pro);
2. what should it be called (Simply script_file, with no file extention?);
3. Where should it be placed ? (In the same folder as the avgsetup.ini files, along with all the rest?);
4. Once I have the correct script_file, would this be a possible Runonce command?

REG ADD %KEY%\054 /VE /D "AVG Pro" /f
REG ADD %KEY%\054 /V 1 /D "%PP%\AVGPRO\avgsetup.exe /script_file %PP%\AVGPRO\avgsetup.ini" /f

2. UPDATING

blinkdt

You said:

Quote

It occurs to me that redfive19 made a great AutoIt script to update Microsot AntiSpyware immediately following the install (read more HERE), so why not with AVG? The avginet.exe controls the Internet update functionality, the only issue is error checking. If you have a live Internet connection at the time of install, then update. If not, don't. And if the AVG servers are not available... well... I couldn't replicate that scenario but took a stab at it using the Adlib function.

CODEAutoItSetOption("TrayIconHide", 0)
AutoItSetOption("WinTitleMatchMode", 4)
BlockInput(0)

$var = Ping ("guru.grisoft.com")
If $var Then

Run (@Programfilesdir & "\Grisoft\AVG Free\avginet.exe")
AdlibEnable ("Quit", 500)
WinWait ("AVG Free Edition Update Selection", "Please select update", 60)
AdlibDisable ()
ControlClick ("AVG Free Edition Update Selection", "Please select update", "Button2")
WinWait ("AVG Free Edition", "Update was successfully finished", 5)
ControlClick ("AVG Free Edition", "Update was successfully finished", "Button1")

Else
Exit
EndIf

Exit

Func Quit()
If WinExists ("Update AVG") Then
ControlClick ("Update AVG", "An error occurred when trying to connect", "Button1")
ElseIf WinExists ("AVG Update") Then
ControlClick ("AVG Update", "No new update files are available", "Button1")
EndIf
EndFunc

The Adlib function should kill the dialogue that will pop up if Grisoft's servers are inaccessible as well as close the dialogue that will appear in the unlikely event that an update is not available.

Edit: I updated the script to account for a Window title typo that Grisoft recently corrected (lower case "selection" is now upper case "Selection," and AutoIt is pretty finicky). I have compiled it as "AVGfreeUp.exe" and added it to my WPI install:

CODEcmd1[pn]=['%cdrom%\\Programs\\AVG\\avg71free_362a652.exe /HIDE /DONT_START_APPS /NO_WELCOME
/NO_AVGW_STARTUP /QUIT_IF_INSTALLED']
cmd2[pn]=['%cdrom%\\AutoIt3.exe %cdrom%\\Programs\\AVG\\AVGfreeUp.au3']
cmd3[pn]=['%cdrom%\\AutoIt3.exe %cdrom%\\Programs\\AVG\\kill.au3']

The "kill.au3" entry closes the process, 'cause I'm having trouble getting it to work any other way:


CODEAutoItSetOption("TrayIconHide", 1)
AutoItSetOption("WinTitleMatchMode", 4)
BlockInput(0)

ProcessClose("AVGfreeUp.exe")
ProcessClose("AutoIt3.exe")


Here are my questions:
1. Would this script work with the script_file and the avgsetup.ini method described by MUIZ?
2. If so, once I have both AVGfreeUp.exe and kill.exe compiled and ready: Where should they go? (In the same folder as the avgsetup.ini files, along with all the rest, or in a subfolder?)
3. What would I have to add to my Runonce.cmd file? Is the following an option? (Assuming they go into the same folder as everything else.):

REG ADD %KEY%\054 /VE /D "AVG Pro" /f
REG ADD %KEY%\054 /V 1 /D "%PP%\AVGPRO\avgsetup.exe /script_file %PP%\AVGPRO\avgsetup.ini" /f
REG ADD %KEY%\054 /V 2 /D "%PP%\AVGPRO\AVGfreeUp.exe" /f
REG ADD %KEY%\054 /V 3 /D "%PP%\AVGPRO\kill.exe" /f


Thanx

#95 User is offline   MAVERICKS CHOICE 

  • The Guy from Aus
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,615
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 31 May 2006 - 02:06 PM

What ver of Avg are u using? You don't need to go to those lengths for AVGFree ver.

Cheers
MC.

#96 User is offline   blinkdt 

  • Somewhat Knowledgeable
  • PipPipPipPip
  • Group: Members
  • Posts: 582
  • Joined: 30-September 03
  • OS:Vista Ultimate x64
  • Country: Country Flag

Posted 31 May 2006 - 11:34 PM

@sangi Yes, your setup looks correct. I have my AutoIt scripts in one folder together with the AVG setup file and run them from that location. I do not use the PRO version--and therefore do not use the .ini install method--but imagine the update process is the same? If not--if the dialogue boxes are different--then my script will not work...AutoIt is clicking the buttons for me, and those buttons and dialogues are set out in a particular order. If Grisoft changes their install routine, then I must change my script, but that has only happened once due to the typo I mentioned (a capitalization issue, which was difficult to locate :huh: ). I have been using the script successfully for some time now. The entire script looks like this, cleaning up shortcuts along the way:
SplashTextOn("", "" & @CRLF & "Installing AVG Free Antivirus 7.1.392..."  & @CRLF & "", 500, 55, -1, -1, 1, "Arial", 12, 12)
Sleep(1000)
SplashOff()
RunWait( @ScriptDir & "\Extras\AVG\avg71free_394a752.exe /HIDE /DONT_START_APPS /NO_WELCOME /NO_AVGW_STARTUP /QUIT_IF_INSTALLED")
Sleep(500)
FileDelete( @DesktopCommonDir & "\AVG*.lnk")
Sleep(100)
FileDelete( @DesktopDir & "\AVG*.lnk")
Sleep(100)
FileCreateShortcut(@ProgramFilesDir & "\Grisoft\AVG Free\avgw.exe", @ProgramsCommonDir & "\Accessories\System Tools\AVG Free.lnk")
Sleep(100)
DirRemove( @ProgramsCommonDir & "\AVG Free Edition", 1)
Sleep(1500)
$var = Ping("guru.grisoft.com")
If $var Then

	Run(@Programfilesdir & "\Grisoft\AVG Free\avginet.exe")
	AdlibEnable("Quit", 500)
	WinWait("AVG Free Edition Update Selection", "Please select update")
	AdlibDisable()
	ControlClick("AVG Free Edition Update Selection", "Please select update", "Button2")
	WinWait("AVG Free Edition", "Update was successfully finished")
	ControlClick("AVG Free Edition", "Update was successfully finished", "Button1")

Else
	Exit
EndIf

Exit

Func Quit()
If WinExists("Update AVG")Then
	ControlClick("Update AVG", "An error occurred when trying to connect", "Button1")
ElseIf WinExists("AVG Update")Then
	ControlClick("AVG Update", "No new update files are available", "Button1")
EndIf
EndFunc

@MC Do you know of a silent method of running the avginet.exe service? That would be great! :yes:

This post has been edited by blinkdt: 31 May 2006 - 11:35 PM


#97 User is offline   MAVERICKS CHOICE 

  • The Guy from Aus
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,615
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 01 June 2006 - 04:48 AM

No I don't to be honest, but the guys over at the CD forum have been workin on that using their pe discs etc & I haven't had time to catch up with the progress.

Cheers
MC.

#98 User is offline   NicodemusAtNIMH 

  • Group: Members
  • Posts: 7
  • Joined: 22-March 06

Posted 01 June 2006 - 11:20 AM

View PostShotgun, on Nov 10 2003, 05:02 PM, said:

Bachus, on Nov 10 2003, 10:09 AM, said:

Try using setup.exe /HIDE /@ avg_net.cfg

It seems to work for me. :)


THANK YOU SO MUCH Bachus!!!
You just made my existance easier!!!!
:punk: :afro: :jump:


Where does this go? In my runonce.cmd file?

#99 User is offline   Sangi 

  • Newbie
  • Group: Members
  • Posts: 34
  • Joined: 29-November 05

Posted 01 June 2006 - 12:32 PM

blinkdt,

I did not use your entire script because I wouldn't know how to license it from there. However, your update script works fine for AVG Pro, with a few minor changes highlighted below.

Quote

AutoItSetOption("TrayIconHide", 0)
AutoItSetOption("WinTitleMatchMode", 4)
BlockInput(0)

$var = Ping ("guru.grisoft.com")
If $var Then

Run (@Programfilesdir & "\Grisoft\AVG7\avginet.exe")
AdlibEnable ("Quit", 500)
WinWait ("AVG Anti-Virus Update selection", "Please select update", 60)
AdlibDisable ()
ControlClick ("AVG Anti-Virus Update selection", "Please select update", "Button2")
WinWait ("AVG Anti-Virus", "Update was successfully finished", 5)
ControlClick ("AVG Anti-Virus", "Update was successfully finished", "Button1")

Else
Exit
EndIf

Exit

Func Quit()
If WinExists ("Update AVG") Then
ControlClick ("Update AVG", "An error occurred when trying to connect", "Button1")
ElseIf WinExists ("AVG Update") Then
ControlClick ("AVG Update", "No new update files are available", "Button1")
EndIf
EndFunc


MUIZ,

I've answered my own stupid :blushing: question. There is no other script file, that is script_file referes to the avgsetup.ini itself! Only one minor glitch, the target directory has to include Grisoft, see below:

Quote

HIDE:
DONT_START_APPS:
NO_WELCOME:
NO_AVGW_STARTUP:
QUIT_IF_INSTALLED:
LOG: "C:\AVG7INST.LOG"
TARGET_DIR: "C:\Program Files\Grisoft\AVG7"
NAME: "your name"
COMPANY: "your company"
LICNO: "xx-xxxxxx-xx-xxx-xxxxx-xxx-xxxx"


And if anyone else is interested the way I placed everything in the same folder (avgsetup.ini, AVGfreeUp.exe and kill.exe) and called it on my Runonce works fine! (See below).

Quote

REG ADD %KEY%\054 /VE /D "AVG Pro" /f
REG ADD %KEY%\054 /V 1 /D "%PP%\AVGPRO\avgsetup.exe /script_file %PP%\AVGPRO\avgsetup.ini" /f
REG ADD %KEY%\054 /V 2 /D "%PP%\AVGPRO\AVGfreeUp.exe" /f
REG ADD %KEY%\054 /V 3 /D "%PP%\AVGPRO\kill.exe" /f


Best,

Sangi

#100 User is offline   edacval 

  • Group: Members
  • Posts: 1
  • Joined: 02-June 06

Posted 02 June 2006 - 05:45 AM

New (working) link to AVG Admin:Avg Admin

Share this topic:


  • 7 Pages +
  • « First
  • 3
  • 4
  • 5
  • 6
  • 7
  • You cannot start a new topic
  • You cannot reply to this topic

3 User(s) are reading this topic
0 members, 3 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy