Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 



Sign in to follow this  
zoobooboozoo

AVG (any version) switch!simple silent install!

Recommended Posts

NO NEED TO EXTRUCT

NO NEED TO DO ANYTHING UNUSUALL

NO NEED TO CREATE ANY OTHER FILES

NO NEED TO.... :P

The switch is :thumbup

/HIDE

so put this in the ****.cmd:

ECHO.
ECHO Please wait...
start /wait %systemdrive%\install\Applications\AVG\avg70t_271a363.exe /HIDE

***change the path in the CODE to your path if it is different!

Share this post


Link to post
Share on other sites

Members: i saw 30 enters! so let's say 10 pepole so and try it/it helped them

post replies so we will know opinions and stuff...

Moderators: this is a very easy...simple way so please put it in a sticky so everyone can always see it/have no trouble finding it.

Share this post


Link to post
Share on other sites

Glad i found this post. I tried the switch and it worked!!! yeah but it still ask me for the serial number. Using AVG 6 free version. Any help greatly appreaciated

Share this post


Link to post
Share on other sites

I did it slightly differently, using an "avgsetup.ini" file which contains the licence number:

HIDE:
DONT_START_APPS:
NO_WELCOME:
NO_AVGW_STARTUP:
QUIT_IF_INSTALLED:
LOG: "C:\AVG7INST.LOG"
TARGET_DIR: "C:\Program Files\AVG7"
NAME: "my name here"
COMPANY: "my company here"
LICNO: "my-free-licence-code-here"

This is how it is called from postinst.cmd:

start /w %systemdrive%\Install\AVG\avgsetup.exe /script_file %systemdrive%\Install\AVG\avgsetup.ini

And this is the clever bit, to update it immediately after installation, assuming you have Internet connectivity:

start /w %systemdrive%\Install\AVG\avginetl.exe /UPDATE_AVG

"avginetl.exe" is extracted from the "AVG Admin" tool from Grisoft's website - http://www.grisoft.com/us/us_dwnl7.php?ver=8 - a command line tool to perform an update, as I couldn't figure out a way to initiate one without a pop-up prompt with the standard EXEs.

As far as I know this only works for v7.0 (beta), I think the switches are a little different for v6.x.

I don't know if this means you can use the entries in the script file as switches on the command line (e.g. avgsetup.exe /HIDE /DONT_START_APP /LICNO "licence-code"), but I find it a little tidier to keep these things out of the batch file anyway.

Share this post


Link to post
Share on other sites

For some reason hiether the /HIDE switch or the ini version work for me using AVG7 free.

any other suggestions?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×