DonDamm, on Jun 28 2005, 08:34 AM, said:
Not certain, but that key looks like it pertains to the new built-in MS Security Center. I kdon't know if the mesagge box that pops up is from the security center or from Symantec! If it is MS, then that would work also.
<{POST_SNAPBACK}>
Message pops up from the Symantec AV itself, when filedate of the virus definitions in the installation differs from current date for more than 30 days.
You can disable it either
- setting date back before installation, and returning it back after LiveUpdate.
- Or constantly updating definitions inside the installation.
- Or using a method I described here.
Fist do the test install.
Then run
reg query "HKLM\SOFTWARE\Intel\LANDesk\VirusProtect6\CurrentVersion" /v PatternFileDate
it will display something like
! REG.EXE VERSION 3.0
HKEY_LOCAL_MACHINE\SOFTWARE\Intel\LANDesk\VirusProtect6\CurrentVersion
PatternFileDate REG_BINARY 2305160000000000
Grab that long number (it's a filedate of the definitions installed) and insert it into your installation script.
Something like
reg add "HKLM\SOFTWARE\Intel\LANDesk\VirusProtect6\CurrentVersion" /v NoWarnPattern /t REG_BINARY /d 2305160000000000 /f
Running this before installation will supress the warning.
Quote
In either case it requires running and cmd file before and after, which is a bit of a kluge and inelegant, even if it works.
p.s. With this method there is no need to mess with the system dates, and remake your install every month (which looks very elegant to me;)). And since you will need to run cmd commands anyway if you want to get rid of the "AutoCreated Scan", - I see no problem adding some more.
Just hide the black ugly cmd windows (there is plenty of tools available) and it will look
very elegant.
I am running all this from the 7zip SFX using
StartX
;!@Install@!UTF-8!
RunProgram="StartX.exe /B /WAIT \"install.cmd\""
;!@InstallEnd@!
and cmd window never shows up.
This post has been edited by tbma: 28 June 2005 - 07:36 PM