SHIFT

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

User Tools

Site Tools


avirascriptedinstall
Differences

This shows you the differences between two versions of the page.

Link to this comparison view

avirascriptedinstall [2013/05/04 14:30] (current)
sjoerd created
Line 1: Line 1:
 += Avira Antivirus Scripted Install
 += SMC Agent
 +SMC Agent installatie bestanden:
  
 +Installagent.bat:​
 +<​code>​
 +@echo off
 +call "​%~dp0\AntiVir_Security_Management_Center_Agent.exe"​ /s /​f1"​%~dp0\installsmcagent.iss"​
 +</​code>​
 +
 +Installsmcagent.iss:​
 +<​code>​
 +[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
 +</​code>​
 +
 += 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:
 +<​code>​
 +@echo off
 +color A
 +echo Please wait, setup is running...
 +start Q:​\NAL\Avira_Install\basic\setup2.bat
 +exit
 +</​code>​
 +
 +Setup2.bat:
 +<​code>​
 +@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
 +</​code>​
 +
 +setup.inf:
 +<​code>​
 +;​**********************************************************************
 +; 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
 +</​code>​
 +
 +{{tag>​security windows zenworks}}
avirascriptedinstall.txt ยท Last modified: 2013/05/04 14:30 by sjoerd