Hi! First place I've worked at where Kixtart is used, so I'm stumbling along. My goal is to have an automated uninstall of McAfee at logon. I've got the uninstall part worked out for 99% of our users, but the remaining few have older versions of McAfee that will require a different approach. Part of the uninstall sends a log file to a server to log errors. However, if the version is incorrect, there is no uninstall and no logging. I want to include a script that checks version of McAfee and appends this, along w/ computer name, to a separate file on a server. The problem I am having is with writeline. Can anyone give me an idea how I could take the results from each check and send it to a file,like this:

somecomputer, 4.5.496.0
anotherone, 4.3.021

etc? I need the info to be stored to one file on 1 network server, and appended as different machines log on. I looked through writeline and can't figure it out. This is what I have so far:


DIM $vsver ; local variable for storing McAfee version

$vsver = getfileversion ("c:\program files\network associates\virusscan\vshwin32.exe")

shell "msiexec /x {63CB7620-B423-4BF1-A7E4-75BB8B64740E} /q /lwe \\myserver\test\%computername%.txt"

Thanks for any help!

[This message has been edited by srpoage (edited 28 March 2001).]