Jump to content

Recommended Posts

Posted

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!


Posted

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.

Posted

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

Posted

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.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...