Login Script Install

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.)

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.

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