to me, it seems like it get's all the modules it needs and when it comes to run the modules it fails....
I put some ? in the logon.kix to see the values in the variables....
code:
select
case Ubound($data) <> 2
? "There is an error in the config.ini"
case 1
$Module = $data[2]
$Mstatus = readvalue("$ConfigRegkey\$Module","Status")
? "Runpath: " $runpath
? "ModuleLib: " $ModuleLib
? "Module: " $Module
IF OS($data[0]) = 1 AND GroupCode($data[1]) = 1 AND $Mstatus = "on"
call $runpath$ModuleLib$Module
endif
endselect
the result is (just a snip out)
code:
Runpath: logon.bat\..\
ModuleLib: modules\
Module: CTRL_C
I'm not sure, but the runpath looks strange to me - is this correct
?!?
ah wait - I placed an ? here
code:
IF OS($data[0]) = 1 AND GroupCode($data[1]) = 1 AND $Mstatus = "on"
call $runpath$ModuleLib$Module
? $runpath$ModuleLib$Module
endif
and it didn't fire....
hmm....
what's behind this argument: GroupCode($data[1]) = 1
thnks
.Ralph