IPB

Google Frontpage Forums Unattended CD/DVD Guide

> 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 V  « < 3 4 5 6 7 >  
Reply to this topicStart new topic
> AVG Anti-Virus Silent, I found out how to do it
xorg
post Jan 8 2006, 08:54 PM
Post #81


Newbie


Group: Members
Posts: 16
Joined: 18-December 05
Member No.: 82748
Country Flag


QUOTE (flattspott @ Nov 9 2003, 01:15 AM) *
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:

CODE
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;

CODE
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?

QUOTE (flattspott @ Nov 9 2003, 01:15 AM) *
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:

CODE
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;

CODE
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.
Go to the top of the page
 
+Quote Post
MAVERICKS CHOICE
post Jan 8 2006, 09:25 PM
Post #82


The Guy from Aus
*******

Group: Members
Posts: 1543
Joined: 14-November 03
From: DownUnder
Member No.: 9474
Country Flag


QUOTE (xorg @ Jan 9 2006, 01:54 PM) *
QUOTE (flattspott @ Nov 9 2003, 01:15 AM) *

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:

CODE
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;

CODE
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?

QUOTE (flattspott @ Nov 9 2003, 01:15 AM) *
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:

CODE
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;

CODE
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.
Go to the top of the page
 
+Quote Post
tempuser
post Jan 9 2006, 12:19 AM
Post #83


スキューバ ダイバ
**

Group: Members
Posts: 119
Joined: 8-December 05
From: Quantum BlackHole
Member No.: 81851
Country Flag


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: Jan 9 2006, 12:20 AM
Go to the top of the page
 
+Quote Post
Jeroeneke
post Jan 9 2006, 01:53 PM
Post #84


Member
**

Group: Members
Posts: 138
Joined: 26-November 05
From: Belgium, Ghent
Member No.: 80797
Country Flag


QUOTE (tempuser @ Jan 9 2006, 07: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


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.
Go to the top of the page
 
+Quote Post
The008
post Jan 30 2006, 10:50 AM
Post #85


MSFN Curious
**

Group: Members
Posts: 124
Joined: 18-July 05
From: Brazil
Member No.: 64924
OS: Windows 7 x86
Country Flag


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.
Go to the top of the page
 
+Quote Post
Danielb
post Feb 27 2006, 02:58 PM
Post #86


Newbie


Group: Members
Posts: 13
Joined: 19-November 05
Member No.: 80180
Country Flag


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 laugh.gif
Go to the top of the page
 
+Quote Post
MAVERICKS CHOICE
post Feb 28 2006, 03:27 AM
Post #87


The Guy from Aus
*******

Group: Members
Posts: 1543
Joined: 14-November 03
From: DownUnder
Member No.: 9474
Country Flag


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
Go to the top of the page
 
+Quote Post
malinduta
post Mar 9 2006, 07:08 AM
Post #88


Newbie


Group: Members
Posts: 35
Joined: 19-January 05
Member No.: 41387
Country Flag


QUOTE (Wesmosis @ Oct 12 2005, 08:32 PM) *
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/board/index.php?showtopic=69536
Go to the top of the page
 
+Quote Post
Wesmosis
post Mar 19 2006, 03:21 PM
Post #89


Just Call Me Doctor Just Call Me Pain!
*****

Group: Members
Posts: 780
Joined: 20-September 04
From: The Milkeway Galaxy
Member No.: 31596
Country Flag


@malinduta
thanx

so guyz, what the best easiesi method for installing AVG Pro version?
Go to the top of the page
 
+Quote Post
TheOZ
post Apr 28 2006, 08:36 PM
Post #90





Group: Members
Posts: 1
Joined: 27-April 06
Member No.: 94913
Country Flag


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.gif

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: Apr 28 2006, 08:42 PM
Go to the top of the page
 
+Quote Post
muiz
post May 19 2006, 02:07 AM
Post #91


SPECIAL
******

Group: Banned
Posts: 1055
Joined: 3-August 03
Member No.: 5418
OS: none
Country Flag


QUOTE (TheOZ @ Apr 29 2006, 03:36 AM) *
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.gif

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
Go to the top of the page
 
+Quote Post
MAVERICKS CHOICE
post May 19 2006, 04:29 AM
Post #92


The Guy from Aus
*******

Group: Members
Posts: 1543
Joined: 14-November 03
From: DownUnder
Member No.: 9474
Country Flag


Only have good success with the free vers so far.

Cheers
MC.
Go to the top of the page
 
+Quote Post
muiz
post May 20 2006, 06:50 AM
Post #93


SPECIAL
******

Group: Banned
Posts: 1055
Joined: 3-August 03
Member No.: 5418
OS: none
Country Flag


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.

This post has been edited by muiz: May 20 2006, 06:51 AM
Go to the top of the page
 
+Quote Post
Sangi
post May 31 2006, 10:52 AM
Post #94


Newbie


Group: Members
Posts: 34
Joined: 29-November 05
Member No.: 81097
Country Flag


Forgive the confusion and ignorance blushing.gif 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
Go to the top of the page
 
+Quote Post
MAVERICKS CHOICE
post May 31 2006, 02:06 PM
Post #95


The Guy from Aus
*******

Group: Members
Posts: 1543
Joined: 14-November 03
From: DownUnder
Member No.: 9474
Country Flag


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

Cheers
MC.
Go to the top of the page
 
+Quote Post
blinkdt
post May 31 2006, 11:34 PM
Post #96


Somewhat Knowledgeable
Group Icon

Group: Supreme Sponsors
Posts: 580
Joined: 30-September 03
From: Fox Valley, WI
Member No.: 7533
OS: Vista Business x64
Country Flag


@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.gif ). I have been using the script successfully for some time now. The entire script looks like this, cleaning up shortcuts along the way:
CODE
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.gif

This post has been edited by blinkdt: May 31 2006, 11:35 PM
Go to the top of the page
 
+Quote Post
MAVERICKS CHOICE
post Jun 1 2006, 04:48 AM
Post #97


The Guy from Aus
*******

Group: Members
Posts: 1543
Joined: 14-November 03
From: DownUnder
Member No.: 9474
Country Flag


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.
Go to the top of the page
 
+Quote Post
NicodemusAtNIMH
post Jun 1 2006, 11:20 AM
Post #98





Group: Members
Posts: 7
Joined: 22-March 06
Member No.: 91482
Country Flag


QUOTE (Shotgun @ Nov 10 2003, 05:02 PM) *
QUOTE (Bachus @ Nov 10 2003, 10:09 AM)
Try using setup.exe /HIDE /@ avg_net.cfg

It seems to work for me. smile.gif


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


Where does this go? In my runonce.cmd file?
Go to the top of the page
 
+Quote Post
Sangi
post Jun 1 2006, 12:32 PM
Post #99


Newbie


Group: Members
Posts: 34
Joined: 29-November 05
Member No.: 81097
Country Flag


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.gif 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
Go to the top of the page
 
+Quote Post
edacval
post Jun 2 2006, 05:45 AM
Post #100





Group: Members
Posts: 1
Joined: 2-June 06
Member No.: 97848
Country Flag


New (working) link to AVG Admin:Avg Admin
Go to the top of the page
 
+Quote Post

Google Frontpage Forums Unattended CD/DVD Guide

7 Pages V  « < 3 4 5 6 7 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 




Lo-Fi Version Time is now: 21st November 2009 - 06:53 PM
All trademarks mentioned on this page are the property of their respective owners
MSFN is not affiliated with Microsoft
Copyright © 2001-2009 msfn.org
Privacy Policy