Author Topic: Login Script Install  (Read 4185 times)

0 Members and 1 Guest are viewing this topic.

avast.rws

  • Guest
Login Script Install
« 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.)

Offline dshetter

  • Newbie
  • *
  • Posts: 13
Re: Login Script Install
« Reply #1 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