Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

AVG Anti-Virus Silent

- - - - -

  • Please log in to reply
126 replies to this topic

#51
darren4323

darren4323
  • Member
  • 2 posts
Silent install is simply installing without user interaction. Its typically used by system admins to deliver custom settings.

My question is:

is there a method for silent uninstall of AVG?
I already tried 'setup /HIDE /UNINSTALL' but it still gives flashes up with.."do you wish to continue". Can I give it an uninstall config file to automagically uninstall?

Thanks


How to remove advertisement from MSFN

#52
darren4323

darren4323
  • Member
  • 2 posts
I think I awnsered my own question already: :thumbup

Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run ("setup.exe /UNINSTALL")
WScript.Sleep 3000
WshShell.SendKeys "~"
WScript.Sleep 3000
WshShell.SendKeys "~"

seems to work. Its a bit dirty as I don't really need the getout clause.

#53
mirkoB

mirkoB
  • Member
  • 4 posts
Hi,
I've already made AVG 7 Free silent install. Now I'm trying to make update to installed AVG.
I've got some ideas, but thing I need some help :)
1st, looking at installed and updated AVG folder - that is %systemdrive%\Program Files\Grisoft\AVG Free" I noticed many files (dll's and exe's mostly) that had been changed since instalation. I've isolated this files and made 7zip self extracting archive with them. File is called AVGupd.exe, it's about 12MB big (it would be smaller if my AVG build were newer).
I call this exe from runoonceex key, like this:
REG ADD %KEY%\020 /v 2 /D "%systemdrive%\Install\AVG\avgupd.exe -o\"%systemdrive%\Program Files\Grisoft\AVG Free\" -y" /f
Please notice that "2" between \020 and \D - it's because AVG instalation is already ended (under "1" of \020).
Here starts my problems - even when extracting with -y switch I get errors like "can not delete output file C:\Program Files\Grisoft\AVG Free\avgamint.dll"
I tried to stop manualy AVG Control Centar, stop manualy 2 AVG services and delete, from cmd file, all files that should be replaced in AVG folder.
I get access denied errors on some files.
So, if someone has an idea how to force file replacment in AVG folder please, enlight me...

Idea no. 2)
If you extract avg setup files, you will notice that probably most files are packed inside the bigest file out there - "files.dat"
If we could repack this file with new file versions that would be great, something like "updated from the box".
Is there any way to open that file? Resource Hacker does not open .dat files. :(

#54
isitaye

isitaye
  • Member
  • 3 posts
My first post but like to start by saying that through the forum i've created a complete unattended xpsp2 cd with all updates/patches and most apps. thanks to all concerned

on to the request.....

anyone really managed to get the AVG update to install along with or immediately after the client.

any help appreciated guys

#55
isitaye

isitaye
  • Member
  • 3 posts
anyone at all had any juy getting avg to upgrade either during the install or post the install...

i'm sure someone must've cracke d it

any help apprecaited :)

#56
nexgolai

nexgolai
  • Member
  • 3 posts
I'd just like to pop in and also ask the Unattended collective how this can be done, apart from setting up a local web server to serve the patches to avginetl.exe (from the admin pack.) Passing a local URL simply returns a CONNECT_ERR 10061.

#57
DLF

DLF

    Member

  • Member
  • PipPip
  • 206 posts

anyone really managed to get the AVG update to install along with or immediately after the client

Ditto - would love to know how this can be achieved for AVG Free, I have even emailed AVG for some guidelines, but they have said they only supply support for their "purchased" products not free. :}
Flash and animated signatures and avatars are not permitted.

#58
scognito

scognito

    Newbie

  • Member
  • 10 posts
hi...i'm installing avg 7.0 with this command line:
avg70f_323a539.exe" /DONT_START_APPS /NO_WELCOME /NO_AVGW_STARTUP /QUIT_IF_INSTALLED /LICNO=myserial

i've also tried with /SERNO=myserial

both with and without double quotes

nothing to do...the options SERNO and LICNO are not recognized.

Any hint how to get the serial working?
Even a regkey would be fine, thanks!

Ciaooo!

#59
Wesmosis

Wesmosis

    Just Call Me Doctor Just Call Me Pain!

  • Member
  • PipPipPipPipPip
  • 787 posts
please guyz , I got confused of all the above 8 pages of different waus which some work and other don't,
so my direct Q is:
how to Silently Unattendedly Installing AVG v7.0.323 Free Edition?
plz give me the best easiest way , btw i'm using RunOnceEx.cmd
waiting for my hero!:P
@I dont know how the third World War will be fought, but I`m sure the fourth will be fought with sticks and stones
@Like What You Do, If You Can't Do What You Like
@Reality.Sys Corrupted. Universe Halted. Reboot Y/N

#60
Wesmosis

Wesmosis

    Just Call Me Doctor Just Call Me Pain!

  • Member
  • PipPipPipPipPip
  • 787 posts
ok all things went right
for the benefit of all msfn members , here my WOKRING settings:

REG ADD %KEY%\05 /VE /D "AVG Antivirus v7.0.323 Free" /f
REG ADD %KEY%\05 /V 1 /D "%CDROM%\install\AVG7\AVG.exe /HIDE /DONT_START_APPS /NO_WELCOME /NO_AVGW_STARTUP /QUIT_IF_INSTALLED" /f

but one last thing and I'll get the hell outta here! :P
I need the progress bar, is it by removing (/HIDE) ?
@I dont know how the third World War will be fought, but I`m sure the fourth will be fought with sticks and stones
@Like What You Do, If You Can't Do What You Like
@Reality.Sys Corrupted. Universe Halted. Reboot Y/N

#61
Wesmosis

Wesmosis

    Just Call Me Doctor Just Call Me Pain!

  • Member
  • PipPipPipPipPip
  • 787 posts
plz guyz, i'm still waiting to burn my CD
@I dont know how the third World War will be fought, but I`m sure the fourth will be fought with sticks and stones
@Like What You Do, If You Can't Do What You Like
@Reality.Sys Corrupted. Universe Halted. Reboot Y/N

#62
Dustinwmew

Dustinwmew

    Member

  • Member
  • PipPip
  • 122 posts
when I remove /HIDE it turns into a attended.
No one is ever along. They always have to voices in their heads.

#63
Wesmosis

Wesmosis

    Just Call Me Doctor Just Call Me Pain!

  • Member
  • PipPipPipPipPip
  • 787 posts
@Dustin
you mean you have to mouse click and stuff!
my request is ONLY a progress bar and completely UA
@I dont know how the third World War will be fought, but I`m sure the fourth will be fought with sticks and stones
@Like What You Do, If You Can't Do What You Like
@Reality.Sys Corrupted. Universe Halted. Reboot Y/N

#64
Dustinwmew

Dustinwmew

    Member

  • Member
  • PipPip
  • 122 posts
OK, I have this .vbs that someone made. I only mod it to work for this.
I don't remaber who made it. So if the person is on here tell me and I will give you credit to them.
I have NOT done a final test on this so it may not work. tell me if it does.

Read the file. there are things you have to change.
Set WshShell = CreateObject("WScript.Shell")
Set FileSysObj = CreateObject("Scripting.FileSystemObject")
ScriptPath = FileSysObj.GetFile(WScript.ScriptFullName).ParentFolder
Cmd = Chr(34) & ScriptPath & "\avgsetup.exe" & Chr(34)
WshShell.Run Cmd
' Give time to load
WScript.Sleep 5000
WshShell.SendKeys "~"
' License Agree
WScript.Sleep 1000
WshShell.SendKeys "{LEFT}"
WshShell.SendKeys "~"
WScript.Sleep 1000
WshShell.SendKeys "{LEFT} ~"
WshShell.SendKeys "~"
WScript.Sleep 3000
WshShell.SendKeys "{DOWN 3}"
WshShell.SendKeys "~"
' Serial
WScript.Sleep 1000
WshShell.SendKeys "~"
' Install Location
WScript.Sleep 1000
WshShell.SendKeys "{TAB 2}"
WScript.Sleep 1000
'put in the next one for the install location, or it will goto defalt
WshShell.SendKeys ""
WScript.Sleep 1000
WshShell.SendKeys "{TAB 3}"
WshShell.SendKeys "~"
WScript.Sleep 1000
'New dir - if NOT new remove next ~
WshShell.SendKeys "~"
WScript.Sleep 1000
'Component selection
WshShell.SendKeys "~"
WScript.Sleep 1000
'Email scanner
WshShell.SendKeys "{DOWN 3}"
WshShell.SendKeys "~"
' for the next 4 you will need to change file to fit what plogin you like.
WScript.Sleep 1000
WshShell.SendKeys "{TAB 2}"
' Pet the bat: put in the 1st one {SPACE} to able.
WScript.Sleep 1000
WshShell.SendKeys "~"
WshShell.SendKeys "{DOWN}"
' Outlook: put in the 1st one {SPACE} to able.
WScript.Sleep 1000
WshShell.SendKeys "~"
WshShell.SendKeys "{DOWN}"
' Eudora: put in the 1st one {SPACE} to able.
WScript.Sleep 1000
WshShell.SendKeys "~"
WshShell.SendKeys "{DOWN}"
' personal Email scanner: put in the 1st one {SPACE} to disable!!!!!!!
WScript.Sleep 1000
WshShell.SendKeys "~"
WshShell.SendKeys "{TAB 2} ~"
WScript.Sleep 1000
'finish
WshShell.SendKeys "~"
WScript.Sleep 10000
WshShell.SendKeys "~"
WScript.Sleep 3000
WshShell.SendKeys "~"
WScript.Sleep 1000
WshShell.SendKeys "~"
WScript.Sleep 1000
WshShell.SendKeys "~"
WScript.Sleep 1000
WshShell.SendKeys "~"
WScript.Sleep 1000
WshShell.SendKeys "~"
WScript.Sleep 1000
WshShell.SendKeys "~"
WScript.Sleep 1000

Set WshShell = Nothing
Set FileSysObj = Nothing
WScript.Quit

Edited by Dustinwmew, 28 July 2005 - 04:44 AM.

No one is ever along. They always have to voices in their heads.

#65
blinkdt

blinkdt

    Somewhat Knowledgeable

  • Member
  • PipPipPipPip
  • 582 posts
  • OS:Windows 8 x64
  • Country: Country Flag
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.

AutoItSetOption("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:

cmd1[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:


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

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

Edited by blinkdt, 26 November 2005 - 04:28 AM.

no peace for the wicked, no rest for the good

#66
CaptainM

CaptainM
  • Member
  • 1 posts
:hello: Everyone, my 1st post.

Just wanted to mention a few things I found with AVG Free v7.344 (avg70free_344a618.exe):

- The /SCRIPT_FILE option as discussed above did not seem to work for the free version
- Browing around a found Command Line switches that do not use the Script file:
- avgsetup.exe /HIDE /DONT_START_APPS /NO_WELCOME /NO_AVGW_STARTUP /QUIT_IF_INSTALLED /LOG "C:\install\AVG7INST.LOG"
- I also noticed that if the Setup fails, you can remove the /HIDE and will see a GUI with Details on what the problem is.
- Hope this helps someone...

Thank you for this forum. I have been using it now for 2 days with high degree of success! :thumbup

Edited by CaptainM, 05 September 2005 - 02:09 PM.


#67
rikgale

rikgale

    uA lover

  • Member
  • PipPipPip
  • 422 posts

avgsetup.exe /HIDE /DONT_START_APPS /NO_WELCOME /NO_AVGW_STARTUP /QUIT_IF_INSTALLED /LOG "C:\install\AVG7INST.LOG"

<{POST_SNAPBACK}>


I've been using this method for the free version for a while with out any problems, seems to work fine, however I dont use the /LOG switch.

Welcome to the forum CaptianM

#68
MAVERICKS CHOICE

MAVERICKS CHOICE

    The Guy from Aus

  • Member
  • PipPipPipPipPipPipPip
  • 1,760 posts
  • OS:Windows 7 x64
  • Country: Country Flag
No problems here usin the same since seven was released.

#69
Wesmosis

Wesmosis

    Just Call Me Doctor Just Call Me Pain!

  • Member
  • PipPipPipPipPip
  • 787 posts
hi again
how can I update the internal Virus Database of AVG unattendely?! or disable that crappy message after first boot which telling me that I' too old! then the colorful icon become grey!
I'm installing on PCs that don't have an internet access

Edited by Wesmosis, 12 October 2005 - 12:21 PM.

@I dont know how the third World War will be fought, but I`m sure the fourth will be fought with sticks and stones
@Like What You Do, If You Can't Do What You Like
@Reality.Sys Corrupted. Universe Halted. Reboot Y/N

#70
Rosebud6

Rosebud6

    Newbie

  • Member
  • 21 posts
avgsetup.exe /HIDE /DONT_START_APPS /NO_WELCOME /NO_AVGW_STARTUP /QUIT_IF_INSTALLED

Verified Working with WPI

#71
Wesmosis

Wesmosis

    Just Call Me Doctor Just Call Me Pain!

  • Member
  • PipPipPipPipPip
  • 787 posts
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
@I dont know how the third World War will be fought, but I`m sure the fourth will be fought with sticks and stones
@Like What You Do, If You Can't Do What You Like
@Reality.Sys Corrupted. Universe Halted. Reboot Y/N

#72
Mikep7779

Mikep7779

    Member

  • Member
  • PipPip
  • 221 posts
Im a little confused when it comes to this, i use the runonce.cmd, can anyone tell me what to do.

REG ADD %KEY%\015 /VE /D "AVG Ver7.0 Free" /f
REG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\AVG7\avg71f_361a651.exe /HIDE /DONT_START_APPS /NO_WELCOME /NO_AVGW_STARTUP /QUIT_IF_INSTALLED" /f

Dosent set the cd key, so should i extract the avg71f_361a651.exe add the .inf and make it

REG ADD %KEY%\015 /VE /D "AVG Ver7.0 Free" /f
REG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\AVG7\setup.exe /HIDE /DONT_START_APPS /NO_WELCOME /NO_AVGW_STARTUP /QUIT_IF_INSTALLED" /f

Conroe e6600-||-Asus P5W-DH-||-Asus EAX1900XT-||-2GB OCZ Platinum REV 2-||-Soundblaster Xtreemmusic-||-Audio Technica a900-||-OCZ GameXStream 700w

#73
MAVERICKS CHOICE

MAVERICKS CHOICE

    The Guy from Aus

  • Member
  • PipPipPipPipPipPipPip
  • 1,760 posts
  • OS:Windows 7 x64
  • Country: Country Flag

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



I to am keen to do this anyone know?

#74
contender

contender

    Newbie

  • Member
  • 12 posts
Version 7.1 is out
download link
http://free.grisoft....ree_361a651.exe

#75
MAVERICKS CHOICE

MAVERICKS CHOICE

    The Guy from Aus

  • Member
  • PipPipPipPipPipPipPip
  • 1,760 posts
  • OS:Windows 7 x64
  • Country: Country Flag

Version 7.1 is out
download link
http://free.grisoft....ree_361a651.exe


Nice one been waitin for that. :thumbup




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN