Looking for a "new" silent switch for AVG Free 8 Old switch doesn't work - reposted from 'addon forum'
#1
Posted 25 April 2008 - 08:16 AM
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
Posted 26 April 2008 - 03:07 AM
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\Cfgto 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
Posted 26 April 2008 - 08:48 AM
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
Posted 26 April 2008 - 12:07 PM
avg_free_stf_en_8_100a1295.exe /hide /no_welcome /REMOVE_FEATURE fea_AVG_SafeSurf /REMOVE_FEATURE fea_AVG_SafeSearch
#5
Posted 26 April 2008 - 01:00 PM
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
Posted 26 April 2008 - 02:51 PM
/REMOVE_FEATURE fea_AVG_SafeSurf
This post has been edited by MAVERICKS CHOICE: 26 April 2008 - 02:52 PM
#7
Posted 26 April 2008 - 03:08 PM
#8
Posted 26 April 2008 - 03:15 PM
MAVERICKS CHOICE, on Apr 26 2008, 09:51 PM, said:
/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
Posted 26 April 2008 - 06:33 PM
So sad.
back to drawing board.
I'll revist the jjvs idea, regarding noavgtoolbar
#10
Posted 27 April 2008 - 12:14 AM
bbrian, on Apr 27 2008, 07:15 AM, said:
MAVERICKS CHOICE, on Apr 26 2008, 09:51 PM, said:
/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
Posted 27 April 2008 - 12:59 PM
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
Posted 27 April 2008 - 02:04 PM
Thanks for your in depth findings. I will do further testing myself & post up results.
#13
Posted 27 April 2008 - 02:10 PM
eddie11013, on Apr 27 2008, 09:59 PM, said:
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
Posted 28 April 2008 - 11:29 AM
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
Posted 29 April 2008 - 02:45 AM
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
Posted 29 April 2008 - 05:12 AM
Dambisa, on Apr 29 2008, 09:45 AM, said:
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
Posted 06 May 2008 - 02:16 PM
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
Posted 07 May 2008 - 12:55 PM
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
>mail.cfg
>scan.cfg
>sched.cfg
>update.cfg
>user.cfg
>avg_free_stf_en_8_100a1295.exe
>install.au3
Attached File(s)
-
install.au3 (766bytes)
Number of downloads: 159
This post has been edited by toastycheese678: 07 May 2008 - 12:57 PM
#19
Posted 07 May 2008 - 02:15 PM
Thats great info & thanks for your findings. Will do some more testing myself.
#20
Posted 07 May 2008 - 03:02 PM
Ralin, on May 6 2008, 02:16 PM, said:
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.



Help


Back to top









