Avast WEBforum

Business Products => Archive (Legacy) => Avast Business => USA Education Products => Topic started by: avast.rws on August 01, 2013, 06:54:32 AM

Title: Login Script Install
Post by: avast.rws on August 01, 2013, 06:54:32 AM
Is anyone using login scripts to check for the client, and if not found run the silent install? If so, would you mind sharing?

Thanks! (Oh, and thanks for Avast for helping out by providing a great free product for schools.)
Title: Re: Login Script Install
Post by: dshetter on September 23, 2013, 05:18:44 PM
Keep in mind this is extremely simple script. I just check if the Avast UI executable exists, if it does not I copy the installer to the local machine, then run it. I prefer running it locally as to over the network just in case of interruption mid install but I would guess it would be fine without the added step.

Code: [Select]
If Not Exist "C:\Program Files\AVAST Software\Avast Business\AvastUI.exe" xcopy \\smdk\shared\Avast\avastclient.exe c:\AvastInstall\ /d /y
If Not Exist "C:\Program Files\AVAST Software\Avast Business\AvastUI.exe" c:\AvastInstall\avastclient.exe