Thanks for all the help and replies! It's great to see a community such as this.

I found the Kixtater editor and managed to coble together the following: -
_____________________________________________________________________
? "Websense Login App check\install"


? "OS TYPE="

@PRODUCTTYPE

if (@producttype = "windows 95")
or (@producttype = "windows 98")
or (@producttype = "windows ME")
or (@producttype = "Windows 2000 Professional")
or (@producttype = "Windows XP Professional")

? "Checking Key"
DIM $key
$key=""
$key=READVALUE("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run","LoginAgent")

if $key=""
? "Creating Key"
COPY "\\artemis\loginapp.exe" "c:\loginapp.exe"
WRITEVALUE("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run","LoginAgent","LogonApp.exe http://192.168.61.12:15880/websense /PERSIST","REG_SZ")
else
? "Key Found"
endif

? "Checking File"
DIM $file
$file=""
$file=EXIST("c:\LogonApp.exe")
if $file="0"
? "Coping file"
Copy @LSERVER+ "\netlogon\LogonApp.exe" "c:\LogonApp.exe"
else
? "File found"
endif

endif

? "done!"


I know it’s not the most exciting script and I’ve properly gone about things in the wrong way but it works!

I’m very impressed with the power of Kix and will be looking into it further.

Once again thanks for all your help!