clementp1,

I've been watching this board for the past 6 months now and from what I've seen you're issue can be resolved very quickly. I'm not an expert on KiX so I don't know exactly how to construct the script, but there are tools 1. checking registry key existance/content, then 2. copying an executable, then 3. creating/editing a reg key.

Read the definitions for READVALUE, WRITEVALUE, and COPY that are in the KiXtart Manual that comes with the KiX download files.

I'm sure a regular of this board could whip this code up in one minute.

Try something like:
Code:
 
IF READVALUE("HKEY_LOCAL_MACHINE\blah\blah\blah)
COPY "network location" "local location"
WRITEVALUE("HKEY_LOCAL_MACHINE\blah\blah\blah)
ENDIF



You should wait until a regular verifies my example before following it, though.

You may also consider using the following to verify the files existance and then copying the file and writing the reg key.
Code:
 IF INGROUP ("UserGroup")
$Result = CompareFileTimes("v:\folder\file.exe", "%windir%\file.exe")
IF $Result = 1 or $Result = -3 ; '1'=File1 is more recent than file2, '-3'=File2 couldn't be open (nonexistant)
COPY "v:\folder\file.exe" "%windir%\file.exe"
WRITEVALUE("HKEY_LOCAL_MACHINE\blah\blah\blah)
ENDIF
ENDIF

_________________________
let the wise listen and add to their learning,
and let the discerning get guidance- Proverbs 1:5