Jump to content

Recommended Posts

Posted

Hello all,

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++;


Posted

Make an entry for each driver, a D410 and D420. Make a condition for each so one will get hidden (or grayed).

Check the box below the conditions and let WPI fill in the info.

When you do Alt+G on a 410, does it say 410? And same for a D420? Or are they the same on both machines?

Posted (edited)

Good morning :)

It's WPI v7.2.1 from December 8th, 2008.

Now it seems to work, thank you :)

I let WPI fill in the info how you said and it added the same as I did, but with like 20 spaces at the end.

It looks like this: getSysModel()=="Latitude D420_____________________________" , but it works, thanks again :)

Edited by Dole
Posted

Ya some kind of freaky :) Its exactly 19 spaces...when I use 18 only or 20 it doesn't work anymore...on my Optiplex it's 15 spaces only. Hope all Latitudes have 19 spaces :D

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...