Quote
cls
@echo off
ECHO Deleting temporary files and folders
del %TEMP%\*.*
RD /S /Q %TEMP%\
EXIT
In a way, it works. It lets the installation of NSW begin. However, I encountered two problems after using this.
First, when the command above starts, the command prompt pops up and says:
Quote
Deleting temprorary files and folders
C:\DOCUME~1\Testing\LOCALS~1\Temp\*.*, Are you sure (Y/N)?
This makes the installation not unattended.
Second, when the NSW installation begins, it automatically starts the pre-installation virus scan. Please see the picture below.
I waited for an hour but it never stopped, so the installation did not continue. Im using this command in my runonceex.cmd
Quote
REG ADD %KEY%\012 /VE /D "Norton Internet Security 2005" /f
REG ADD %KEY%\012 /V 1 /D "%SystemDrive%\Install\NIS2005\SYMSETUP.EXE /O REBOOT=ReallySuppress /qb" /f
REG ADD %KEY%\012 /V 2 /D "%SystemDrive%\Install\NIS2005\deltemp.cmd" /f
REG ADD %KEY%\013 /VE /D "Norton SystemWorks 2005" /f
REG ADD %KEY%\013 /V 1 /D "%SystemDrive%\Install\NSW2005\NSWSETUP.EXE /O REBOOT=ReallySuppress /qb" /f
Is there a switch that I can use to prevent the pre-installation virus scan form starting automatically?
I'll try to delete the NAV folder inside the NSW installation files, like prathapml said.