Here is my batch file to install, maybe you can modify it to work for your environment.
IF NOT EXIST "C:\Program Files\McAfee" (
Echo Installing McAfee Anti Virus
xcopy "\\servername\Software deployment\McAfee\*.*" /c /r /y /i %systemdrive%\mcafeeinstall\
c:\mcafeeinstall\vssetup.exe /CK=XXXXXXXXXXXX /Email=XXXXXX@XXXX.com /P=V
rmdir /s /q "C:\mcafeeinstall"
) ELSE (
echo McAfee installed
thanks for your reply, but the issue is not with the batchfile, it is somewhere within the vssetup that it goes wrong, more specifically in phase 10 of the setup, which according to the vssetup.log is supposed to do :
but when I check what happens in the log is this:
Install phase 10
VsSetup.Exe, ### --------------
VsSetup.Exe, ### Some error occured and we are unwinding the installation.
see the log attached
VSSETUP.LOG.zip 20.7 K