SHIFT

--- Sjoerd Hooft's InFormation Technology ---

User Tools

Site Tools


Sidebar

Recently Changed Pages:

View All Pages


View All Tags


LinkedIn




WIKI Disclaimer: As with most other things on the Internet, the content on this wiki is not supported. It was contributed by me and is published “as is”. It has worked for me, and might work for you.
Also note that any view or statement expressed anywhere on this site are strictly mine and not the opinions or views of my employer.


Pages with comments

View All Comments

avirascriptedinstall

Avira Antivirus Scripted Install

SMC Agent

SMC Agent installatie bestanden:

Installagent.bat:

@echo off
call "%~dp0\AntiVir_Security_Management_Center_Agent.exe" /s /f1"%~dp0\installsmcagent.iss"

Installsmcagent.iss:

[InstallShield Silent]
Version=v7.00
File=Response File

[File Transfer]
OverwrittenReadOnly=NoToAll

[{F3493E2F-B147-4EDD-9AE2-5DEDB8776232}-Parameters]
serverip=10.1.8.4
serverport=7000
evmgrip=10.1.8.4
evmgrport=7010
updateuri=http://10.1.8.4:7080
agentport=7030
smcdisplayname=EMPTY
networkname=EMPTY
guid=EMPTY
setupconfig=EMPTY
productconfig=EMPTY

[{F3493E2F-B147-4EDD-9AE2-5DEDB8776232}-DlgOrder]
Count=5
Dlg0={F3493E2F-B147-4EDD-9AE2-5DEDB8776232}-SdWelcome-0
Dlg1={F3493E2F-B147-4EDD-9AE2-5DEDB8776232}-SdLicense2-0
Dlg2={F3493E2F-B147-4EDD-9AE2-5DEDB8776232}-SdAskDestPath2-0
Dlg3={F3493E2F-B147-4EDD-9AE2-5DEDB8776232}-SdStartCopy2-0
Dlg4={F3493E2F-B147-4EDD-9AE2-5DEDB8776232}-SdFinishReboot-0

[{F3493E2F-B147-4EDD-9AE2-5DEDB8776232}-SdWelcome-0]
Result=1

[{F3493E2F-B147-4EDD-9AE2-5DEDB8776232}-SdLicense2-0]
Result=1

[{F3493E2F-B147-4EDD-9AE2-5DEDB8776232}-SdAskDestPath2-0]
szDir=EMPTY
Result=1

[{F3493E2F-B147-4EDD-9AE2-5DEDB8776232}-SdStartCopy2-0]
Result=1

[{F3493E2F-B147-4EDD-9AE2-5DEDB8776232}-SdFinishReboot-0]
Result=1
BootOption=0

Avira Antivir

Because I use ZENworks I experienced a minor issue when trying to install the software. If you call the installation program directly from the NAL, it works only the first time. Although that should be sufficient for most workstations it's not handy when testing. When you use multiple scripts as described here it works all the time.

Setup.bat:

@echo off
color A
echo Please wait, setup is running...
start Q:\NAL\Avira_Install\basic\setup2.bat
exit

Setup2.bat:

@echo off
color A
echo Please wait, setup is running...
Q:\NAL\Avira_Install\basic\setup.exe /inf="Q:\NAL\Avira_Install\setup.inf"
exit

setup.inf:

;**********************************************************************
; Sample answer file for unattended Avira AntiVir Setup
;
; For running Setup in unattended mode it must be started with the parameter
; /INF="name", where "name" is the full qualified name of the answer file.
;
; Example: SETUP /INF="e:\disks\setup.inf"
; 
; Please refer to the manual or online help for more information.
;
;**********************************************************************
[DATA]
DestinationPath=%PROGRAMFILES%
ProgramGroup=1
DesktopIcon=0
KeyFile=..\license\COMP_HBEDV.KEY
RestartWindows=0
ShowRestartMessage=0
MailScanner=1
WebGuard=1
RootKit=1
Guard=1
ShowReadMe=0
ShellExtension=1
ScanMode=1
You could leave a comment if you were logged in.
avirascriptedinstall.txt · Last modified: 2021/09/24 00:24 (external edit)