Код:
Код: Выделить всё
REGEDIT /S avast.reg
start avast.exe /silent
:settings
ping 127.0.0.1 -n 6 > null
if not exist "%AllUSERSProfile%\Рабочий стол\avast! Free Antivirus.lnk" if not exist "%AllUSERSProfile%\desktop\avast! Free Antivirus.lnk" (goto settings)
copy "avast5.ini" "%ALLUSERSPROFILE%\Application Data\AVAST Software\Avast" /y
copy "setup.ini" "%ProgramFiles%\AVAST Software\Avast\Setup" /y
if exist "%AllUSERSProfile%\desktop\avast! Free Antivirus.lnk" Del /f /q "%AllUSERSProfile%\desktop\avast! Free Antivirus.lnk"
if exist "%AllUSERSProfile%\Рабочий стол\avast! Free Antivirus.lnk" Del /f /q "%AllUSERSProfile%\Рабочий стол\avast! Free Antivirus.lnk"Нет возможности проверить на русской версии. Если у кого то такая возможность есть отпишитесь пожалуйста о результате.