Kewl I'm doing my 7.51 upgrade right now... hmm... anyone here with experience; If I understood Symantec's docs correctly, you don't have to uninstall any prior 7.x client applications when upgrading to 7.5x, am I right?

Ok, you found the correct KiX syntax Lonkero [shell '\\SERVERNAME\VPHOME\clt-inst\WIN32\setup.exe /s /v"/qn'+'"']?

The switches for the MSI installer can be found over at Symantec, a doc called How to configure the Norton AntiVirus Corporate Edition 7.5 installation.

another thingie I am unsure of is if this will check for prior 7.x installations, and update those correctly? Has anyone tested this?

I am looking for a way (well.. a piece of KiX code, of course! ) to automatically check the version installed at the client versus the server version, and if an installation is found necessary, display a prompt and then do a Silent Installation. I began this a while back, and haven't actually looked at it at all since then (done it manually..). What do u folks think about this:

code:

$IniFile = "\\[SERVERNAME]\VPHOME\logon\VP_login.ini"
$ClientKey = "HKEY_LOCAL_MACHINE\SOFTWARE\INTEL\LANDesk\VirusProtect6\CurrentVersion\"
$ClientEntry = "ProductVersion"
$ServerVersion = READPROFILESTRING("$IniFile", "ClientNumber", "BuildNumber")
IF @ERROR <> 0 ; There was an error finding the serverside inifile ($IniFile)
?" Norton AntiVirus server not available, skipping installation/update check..."
GOTO End
ELSE
?" Checking your Norton AntiVirus installation..."
ENDIF

$ClientVersion = READVALUE("$ClientKey", "$ClientEntry")
SELECT
CASE @ERROR = 2 ; Could not find $ClientKey\$ClientEntry...
$MsgStatus = "installed" ; NAV is NOT installed...
GOSUB NavUpdate
CASE @ERROR = 0 ; Regkey read successful
IF INSTR("$ServerVersion", "$ClientVersion") = 0 ; strings does NOT match
$MsgStatus = "updated" ; The client version is different than the server version
GOSUB NavUpdate
ELSE
? " - your Norton AntiVirus is up to date." ; Client version is the same as Server version
ENDIF
CASE 1
? "Unknown error happened while checking "
? "@@ERROR#@ERROR | @SERROR"
ENDSELECT

:End
EXIT


:NavUpdate
IF @INWIN = 2
$Message = "Your AntiVirus protection is about to be " + $MsgStatus +
", whereafter the computer will automatically reboot. Please wait for the installation/update to finish."
ELSE
$Message = "Your AntiVirus protection is about to be " + $MsgStatus +
", whereafter a reboot is recommended. Please wait a minute for the installation/update to finish, and then restart your computer."
ENDIF
$nul = MESSAGEBOX("$Message" ,"Installation message", 0, 10)
SHELL '\\[SERVERNAME]\VPHOME\clt-inst\WIN32\setup.exe /s /v"/qn'+'"'
RETURN


The thing is that I want to control which server the client should use, based upon which subnet the client is on. I do this IP check prior to the NAV installation, so all i have to have here is a servername...

And of course it should work with Win9x/NT4/Win200... I dunno about the other thread I found, which uses "vp_log32.exe" (which then calls Setup.exe)...?

Comments? Suggestions? Answers? Please? :P

[ 03 August 2001: Message edited by: masken ]

[ 03 August 2001: Message edited by: masken ]

_________________________
The tart is out there