MSFN Forum: Looking for a "new" silent switch for AVG Free 8 - 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
  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Looking for a "new" silent switch for AVG Free 8 Old switch doesn't work - reposted from 'addon forum' Rate Topic: -----

#1 User is offline   eddie11013 

  • Member
  • PipPip
  • Group: Members
  • Posts: 174
  • Joined: 15-February 07

Posted 25 April 2008 - 08:16 AM

In the past I have used the following switch for AVG Free without any problems. This switch did not seem to work this time. It installed silently, however, the updater “database” keep saying there was an error. When I installed the ‘exe’ normally there were no issues.
AVG_Free_STF_en_8_100a1295 http://free.grisoft....nti-virus-free/
/HIDE /DONT_START_APPS /NO_WELCOME /NO_AVGW_STARTUP /QUIT_IF_INSTALLED

Thanks in advance for any guidance,
Eddie


#2 User is offline   jjvs 

  • Newbie
  • Group: Members
  • Posts: 27
  • Joined: 21-June 05

Posted 26 April 2008 - 03:07 AM

Hi Eddie,

I don't know if there is a switch or not, but as a workaround, you could do the following"
While you have avg8 running, configure it as you like. Copy the files in the directory
%ALLUSERSPROFILE%\Application Data\avg8\Cfg
to the install directory where avg8 is stored.

After an installation of avg8 copy these config files back to "%ALLUSERSPROFILE%\Application Data\avg8\Cfg"
And you have avg running as you like.

Hope it'll helps.

#3 User is offline   eddie11013 

  • Member
  • PipPip
  • Group: Members
  • Posts: 174
  • Joined: 15-February 07

Posted 26 April 2008 - 08:48 AM

Thanks, jjvs
That 'kinda' worked, but there were some issues. I "had" setup AVG 8 the way I wanted, which included "not" having the "Yahoo toolbar", then I made the 'cab' with the "old" switch and installed same. Then I 'deleted' the 'new' "cfg", which were only two files, and replaced it with my previously saved '6' cfg files. I was able to update without issue and all seemed well. Then I opened up the Internet, and first thing I see is a warning from AVG that the spyware component cannot connect, I had of course selected that it not be installed previously, and there was also the matter that it installed the "Yahoo Toolbar", which I had also said not to install.

So while "your" workaround did work, thanks again, I didn't really get what I really wanted, which is a "smooth overall" silent install configured the way "I" want. Which gets back to the "old switch" just isn't going to cut it.

Thanks again,
Eddie

#4 User is offline   bbrian 

  • Newbie
  • Group: Members
  • Posts: 20
  • Joined: 25-September 07

Posted 26 April 2008 - 12:07 PM

I saw this on the Something Awful forums a minute ago.

avg_free_stf_en_8_100a1295.exe /hide /no_welcome /REMOVE_FEATURE fea_AVG_SafeSurf /REMOVE_FEATURE fea_AVG_SafeSearch


#5 User is offline   eddie11013 

  • Member
  • PipPip
  • Group: Members
  • Posts: 174
  • Joined: 15-February 07

Posted 26 April 2008 - 01:00 PM

Great find! Thanks, bbrian
That seems to have worked. I uninstalled previous installation, (FYI, there are a number of folders left behind after uninstalling, have to remove manually, do a search for 'avg'), used nlite addon maker to make my cab, and installed. Rebooted. Installation went smoothly and no toolbar. Another FYI, in Add & Remove you will find: AVG free 8.0 "AND" Microsoft Visual C++ 2005 Redistributable.

Haven't done a virtual box install yet, but usually if I can install the switchless installer that is created by the nlite addon maker without any problems, then usually everything works.
Will post back if I find out otherwise.
Again, thanks bbrian.

#6 User is offline   MAVERICKS CHOICE 

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

  Posted 26 April 2008 - 02:51 PM

That's great news just got Vers 8 yesterday. Is this required twice in the switch?
/REMOVE_FEATURE fea_AVG_SafeSurf

This post has been edited by MAVERICKS CHOICE: 26 April 2008 - 02:52 PM


#7 User is offline   jjvs 

  • Newbie
  • Group: Members
  • Posts: 27
  • Joined: 21-June 05

Posted 26 April 2008 - 03:08 PM

To just disable the toolbar, add this switch "/NOAVGTOOLBAR"

#8 User is offline   bbrian 

  • Newbie
  • Group: Members
  • Posts: 20
  • Joined: 25-September 07

Posted 26 April 2008 - 03:15 PM

View PostMAVERICKS CHOICE, on Apr 26 2008, 09:51 PM, said:

That's great news just got Vers 8 yesterday. Is this required twice in the switch?


/REMOVE_FEATURE fea_AVG_SafeSurf
/REMOVE_FEATURE fea_AVG_SafeSearch


It's surf and search, rather than repeating itself. The AVG Free FAQ has both listed, so I guess so, though safe-surf isn't part of AVG Free.

#9 User is offline   eddie11013 

  • Member
  • PipPip
  • Group: Members
  • Posts: 174
  • Joined: 15-February 07

Posted 26 April 2008 - 06:33 PM

Sad to report that I got a BSOD using the switch bbrian found.
So sad. :(
back to drawing board.
I'll revist the jjvs idea, regarding noavgtoolbar

#10 User is offline   MAVERICKS CHOICE 

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

  Posted 27 April 2008 - 12:14 AM

View Postbbrian, on Apr 27 2008, 07:15 AM, said:

View PostMAVERICKS CHOICE, on Apr 26 2008, 09:51 PM, said:

That's great news just got Vers 8 yesterday. Is this required twice in the switch?


/REMOVE_FEATURE fea_AVG_SafeSurf
/REMOVE_FEATURE fea_AVG_SafeSearch


It's surf and search, rather than repeating itself. The AVG Free FAQ has both listed, so I guess so, though safe-surf isn't part of AVG Free.


Thanks man must have been half asleep when read that post. I love this place always someone to lend a hand.

#11 User is offline   eddie11013 

  • Member
  • PipPip
  • Group: Members
  • Posts: 174
  • Joined: 15-February 07

Posted 27 April 2008 - 12:59 PM

Just an FYI.
I uninstalled my previous version of AVG Free 7.5, being careful to also search for and delete any remnants found in C:\, etc. After words, I installed AVG Free 8.0. Set it up as I desired. Then I went to C:\Documents and Settings\All Users\Application Data\AVG 8\cfg. Copied the contents to a new folder. Extracted the contents of the setup file, avg_free_stf_en_8_100a1295.exe, to its own folder. Copied the previously saved “cfg” files to this folder. (They included, I believe the following four files: krnl.cfg, mail.cfg, sched.cfg and user.cfg.) Using the nlite addon maker and using the following switches in conjunction with the “avgsetup.exe“: /hide /no_welcome /NOTOOLBAR , I made a cab. I extracted the ‘silent installer’ from this cab. At this stage, I uninstalled AVG free 8.0, again being careful to uninstall in remnants in C:\. I also uninstalled the “Microsoft Visual C++ 2005 Redistributable” that is installed when you execute the avg setup file. It should also be noted that ‘AVG’ states that you “CANNOT” have AVG anti-spy ware or Spyware Blaster installed on your machine. They are ‘not’ compatible. Therefore, I also uninstalled those. I executed my ‘silent installer’. It installed smoothly and without issue. When I opened the Internet, there was no ‘Yahoo toolbar’. Great.

I then tried the ‘cab’ in a virtual machine. No go. Failure. BSOD.

End result, if you want to do ‘this’ procedure, you will at least, have a “silent installer” that you can apply after a ’new’ installation. Don’t know if you can run this ’silent installer’ as a ’runonce’ thingy. I will let someone else check that out. Or maybe an ’autoit’ script would work. I tried to make an ’autoit’ but I got stopped where I wanted to uncheck the box to install the ’toolbar’, I don’t know the keyboard command’s to get around that. But maybe this is one of those programs, like Zone Alarm, that just can’t be slipstreamed.
That’s it. The end.
Thanks to jjvs for his guidance.
Good luck and post back if you find an easier working solution.
Eddie

#12 User is offline   MAVERICKS CHOICE 

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

Posted 27 April 2008 - 02:04 PM

@eddie11013

Thanks for your in depth findings. I will do further testing myself & post up results.

#13 User is offline   radix 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 732
  • Joined: 08-February 07
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 27 April 2008 - 02:10 PM

View Posteddie11013, on Apr 27 2008, 09:59 PM, said:

Or maybe an 'autoit' script would work. I tried to make an 'autoit' but I got stopped where I wanted to uncheck the box to install the 'toolbar', I don't know the keyboard command's to get around that. But maybe this is one of those programs, like Zone Alarm, that just can't be slipstreamed.
That's it. The end.
Thanks to jjvs for his guidance.
Good luck and post back if you find an easier working solution.
Eddie

Hi
To check/uncheck boxes, try Send("{SPACE}").
Edit:try
Send("{TAB 2}")
Send("{SPACE}")
Send("{TAB 2}")
Send("{SPACE}")

on that window (if you don't know how to use Control functions which are more reliable).

This post has been edited by radix: 27 April 2008 - 02:49 PM


#14 User is offline   eddie11013 

  • Member
  • PipPip
  • Group: Members
  • Posts: 174
  • Joined: 15-February 07

Posted 28 April 2008 - 11:29 AM

@radix
Try as I might, I just can't seem to make it come out right. I used your suggestion for the 'space' bar and it seems to work, on to a finished installation. But, when you 'click' on the "A" to stop and then finalize this part and save it, the final result is an already finalized 'au3', that looks like a 'word' document instead of the "autoit" icon, which is bogus. Doesn't let me compile, if you right click on this 'word' au3 their is no normal autoit menu??? And if you click on it, it goes to installing. That's not right.

Perhaps I could persuade you to make me an AVG Free 8 script, without the toolbar, of course. I can then use that to make a cleaner 'silent installer' via the 7-zip method, like I/we did for Zone Alarm.
Thanks in advance,
Eddie

#15 User is offline   Dambisa 

  • Group: Members
  • Posts: 2
  • Joined: 03-December 04

Posted 29 April 2008 - 02:45 AM

Silent install (avg not started!!)

 
avg_free_stf_all_8_100a1295.exe /HIDE /NO_WELCOME /NOAVGTOOLBAR /DONT_START_APPS /REMOVE_FEATURE fea_AVG_SafeSurf /REMOVE_FEATURE fea_AVG_SafeSearch /ADD_FEATURE fea_AVG_EmailPlugins /ADD_FEATURE fea_AVG_Exchange_plugin /ADD_FEATURE fea_AVG_EMC /ADD_FEATURE fea_AVG_Office_2000_plugin 


(and /ADD_FEATURE fea_AVG_Bat_plugin if you need it... (features are shown in %temp%\avg8inst.log))

Update from folder:
 
"%programfiles%\avg\avg8\avgupd.exe" /pri=4 /session=0 /source=folder /path="d:\folder_wit_bin_files" 


#16 User is offline   jjvs 

  • Newbie
  • Group: Members
  • Posts: 27
  • Joined: 21-June 05

Posted 29 April 2008 - 05:12 AM

View PostDambisa, on Apr 29 2008, 09:45 AM, said:

Silent install (avg not started!!)

 
avg_free_stf_all_8_100a1295.exe /HIDE /NO_WELCOME /NOAVGTOOLBAR /DONT_START_APPS /REMOVE_FEATURE fea_AVG_SafeSurf /REMOVE_FEATURE fea_AVG_SafeSearch /ADD_FEATURE fea_AVG_EmailPlugins /ADD_FEATURE fea_AVG_Exchange_plugin /ADD_FEATURE fea_AVG_EMC /ADD_FEATURE fea_AVG_Office_2000_plugin 


(and /ADD_FEATURE fea_AVG_Bat_plugin if you need it... (features are shown in %temp%\avg8inst.log))

Update from folder:
 
"%programfiles%\avg\avg8\avgupd.exe" /pri=4 /session=0 /source=folder /path="d:\folder_wit_bin_files" 

The update is a nice catch. I had found out about the avgupd.exe for downloading and updating, but not from folder. Since I've read your post, I've played around with the parameters. If you leave "/session=0" & "/pri=4" away. it will not bother you with questions about updating, it just does.

#17 User is offline   Ralin 

  • Newbie
  • Group: Members
  • Posts: 44
  • Joined: 17-March 05

Posted 06 May 2008 - 02:16 PM

Am I the only one getting problems with updates after using these switches?
I'm running:
avg_free_stf_en_8_100a1295.exe/HIDE /NO_WELCOME /NOAVGTOOLBAR /DONT_START_APPS /REMOVE_FEATURE fea_AVG_SafeSurf /REMOVE_FEATURE fea_AVG_SafeSearch

and it installs fine, but when I open the program later it says: "Database update is disabled" under "Update Manager"

#18 User is offline   toastycheese678 

  • Junior
  • Pip
  • Group: Members
  • Posts: 64
  • Joined: 02-December 04

Posted 07 May 2008 - 12:55 PM

Here is what I came up with after a few hours of researching and experimenting with AVG 8. First of all, the command I execute the install with is:

avg_free_stf_en_8_100a1295.exe /HIDE /DONT_START_APPS /NOAVGTOOLBAR /NO_WELCOME

This keeps on the Link Search but does not install the Toolbar. If you want to remove the Link Search as well then add the following arguments

avg_free_stf_en_8_100a1295.exe /HIDE /DONT_START_APPS /NOAVGTOOLBAR /NO_WELCOME
/REMOVE_FEATURE fea_AVG_SafeSurf /REMOVE_FEATURE fea_AVG_SafeSearch


Then after I update AVG by running the following

C:\Program Files\AVG\AVG8\avgupd.exe /PRI=5

This silently installs all of the updates for AVG 8 (PRI=5 means High Priority, Recommended, and Optional)

Next I copy over my custom settings in AVG. In order to get these settings, install AVG and go to the User Interface. Under Tools > Preferences set the options however you want. I personally turn off daily scanning and turn off the notifications when AVG completes an update. After this is done, save your changes and exit AVG. Navigate to:

C:\Documents and Settings\All Users\Application Data\avg8\Cfg

These config files in this folder are all of the user preferences and settings saved. So after I finish my update above, I copy over my custom config files to this directory to turn off scanning and other preferences.

The next thing to do is to get rid of the "Did You Know" notification. This can be done by deleting the following file:

C:\Program Files\AVG\AVG8\avgmwdef_us.mht

Notifications gone right? Wrong. Since the latest definition updates to AVG, there has been another notification added, something along the lines of "Enhance your protection now". Again, to get rid of this notification, one file needs to be deleted:

C:\Program Files\AVG\AVG8\avgresf.dll

(Note: this file will only appear after AVG is up to date)
Finally, I remove the dekstop shortcut created and voila...AVG 8 is installed unattendedly.

@Ralin The "Database update is disabled" under "Update Manager" goes away after running the update. I suggest running:

C:\Program Files\AVG\AVG8\avgupd.exe /PRI=5

This will remove that error.

@eddie11013 I attached my AutoIt script for this installation. Enjoy. Just FYI my directory structure is as follows:

>AVG
>Config
>krnl.cfg
>mail.cfg
>scan.cfg
>sched.cfg
>update.cfg
>user.cfg

>avg_free_stf_en_8_100a1295.exe
>install.au3

Attached File(s)


This post has been edited by toastycheese678: 07 May 2008 - 12:57 PM


#19 User is offline   MAVERICKS CHOICE 

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

Posted 07 May 2008 - 02:15 PM

@Toastycheese678

Thats great info & thanks for your findings. Will do some more testing myself.

#20 User is offline   JuMz 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 466
  • Joined: 09-August 04

Posted 07 May 2008 - 03:02 PM

View PostRalin, on May 6 2008, 02:16 PM, said:

Am I the only one getting problems with updates after using these switches?
I'm running:
avg_free_stf_en_8_100a1295.exe/HIDE /NO_WELCOME /NOAVGTOOLBAR /DONT_START_APPS /REMOVE_FEATURE fea_AVG_SafeSurf /REMOVE_FEATURE fea_AVG_SafeSearch

and it installs fine, but when I open the program later it says: "Database update is disabled" under "Update Manager"


I get this too but as mentioned above, it goes away once AVG is updated manually.

Share this topic:


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

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



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