|
apologies for all of those who recognize this same question from before, but here it is again. some high priorities game down my way, and i had to put this to the side... so here it is again.
in this enviroment, kixtart 95 (3.63) is only used. My task is to include a section that looks to see if the SMS Advanced Client is installed, and upon NOT finding it, initiate it's installation. Since %windir%\system32\ccm\ccmexec.exe is a required executable for the SMS client to run, i figured that it's existance would be a fair indication that the SMS client is installed, so I want to use the existance of that file as my basis. Furthermore a new version (accompanied with the SMS 2003 SP1) of the ccmexec.exe is available, so upon finding %windir%\system32\ccm\ccmexec.exe i want to check to see if the version is 2.50.3174.1152 or not, and upon a non-compliance of that version number, initiate the installation of the new client package.
heres is what i've come up with, unsuccessful as it might be...
---start---
Dim $CCMSetupProg, $CCMVersion
set $CCMSetupProg = @lserver+"\sysvol\ccmsetup.exe"
if EXIST("c:\windows\system32\ccm\ccmexec.exe") set $CCMVersion = GETFILEVERSION("c:\windows\system32\ccm\ccmexec.exe") if $CCMVersion = "2.50.3174.1152" else shell $CCMSetupProg + ' /SLP=SERVER /Advcli /AdvCliCmd SMSCACHESIZE=1024' endif ELSE shell $CCMSetupProg + ' /SLP=SERVER /Advcli /AdvCliCmd SMSCACHESIZE=1024' endif ---end---
now, obviously, it doesnt work, or i wouldnt be here asking for assistence. previously, this generous person posted a script that did what i wanted it todo, although it required commands of a current version of kix, and like i said before, 3.63 is the latest version utilized here for the logon scripts. I dont know why, and as far as I can tell, no one else knows here either, although thats the way it is, and they dont want to change it... for reason they cant conjour up, so im stuck with 3.63.
upon running it, it just runs through. no errors, no nothing really. all i know is that it has not started up the ccmsetup whatsoever.
any and all insight is greatly appricated. its quite apparent that i dont know the kix scripting language much!
Edited by kastr (2005-11-30 08:39 PM)
|