I just tested the new version and tried to implement some audiodrivers for the DELL Latitude series D410 an D420.
I want, that WPI reqognizes whether it's a D410 or a D420 and only installs the drivers for that specific system.
I tried getSysModel()=="Latitude D410" in condition just as getSysModel()!="Latitude D410"...the same codes with greyed condition for both devices on a D420...it doesn't recognize any differences between the two codes.
Am I doing anything wrong?
Here's the code for both. As I said, I tested it on a D420 and there isn't any difference.
When I press Alt+G it shows getSysModel()=="Latitude D420 " (with space at the end) in conditions. I tested this one also, but no change
prog[pn]=['AudioTreiber D410']; uid[pn]=['AUDIOTREIBERD410']; dflt[pn]=['yes']; forc[pn]=['no']; bit64[pn]=['no']; cat[pn]=['Drivers']; cmds[pn]=['"%wpipath%\\Install\\Audiotreiber\\Audio_D410_D610_D810\\install.cmd"']; cond[pn]=['getSysModel()=="Latitude D410"']; pn++; prog[pn]=['AudioTreiber D420']; uid[pn]=['AUDIOTREIBERD420']; dflt[pn]=['yes']; forc[pn]=['no']; bit64[pn]=['no']; cat[pn]=['Drivers']; cmds[pn]=['"%wpipath%\\Install\\Audiotreiber\\Audio_D630_D620_D420_D430_D820_D830\\install.cmd"']; cond[pn]=['getSysModel()=="Latitude D420"']; pn++;



Help
Back to top









