Stephen ,

if Jens understood that correctly what do you get by running the following :

code:
 
if keyexist("HKEY_CLASSES_ROOT\Avg.kernel") ;key does exist :D
? "Avg installed ..."
$avg = @scriptdir+"\avg.exe"
shell "$avg.exe /s"
"error code is : [" + @error + "] - " + @serror
get $ ;script halted
endif

J.
_________________________