+ Post New Thread
Results 1 to 13 of 13
Windows 7 Thread, How do you do it: deploy an updated driver? in Technical; Mornin' all. Just found a fun problem with the ActiveTeach software here, in that it causes a massive handle leak ...
  1. #1

    sonofsanta's Avatar
    Join Date
    Dec 2009
    Location
    Lincolnshire, UK
    Posts
    4,944
    Thank Post
    862
    Thanked 1,442 Times in 991 Posts
    Blog Entries
    47
    Rep Power
    616

    Question How do you do it: deploy an updated driver?

    Mornin' all. Just found a fun problem with the ActiveTeach software here, in that it causes a massive handle leak in audiodg.exe and after 15 minutes of use that process is taking up half the system RAM and choking the whole computer to a halt. These being i3-550s with 2Gb of RAM, it shouldn't be happening.

    Updating the Via 1708S integrated audio driver seems to mitigate the issue to a good enough extent that I want to roll it out to the 170 odd machines it applies to. Unfortunately I'm bugg3red if I can find a way to do it...

    For whatever reason, the setup.exe refuses to run on the relevant machines, failing with an installshield 1608 error; I am presuming it's trying to access files currently in use as the setup runs fine on other machines, it only fails on the ones I need it to run on. I could probably track it down, but even if I do I'll still not be able to just roll the setup out with SCCM.

    Driver packages in SCCM are only good for OS installation time, and I don't want to faff around reimaging everything for one audio driver for one curriculum software package.

    I can update the driver manually from Device Manager using the relevant inf file, but I don't want to walk around 170 machines to do that, I'm supposed to be past chores like that now.

    So riddle me this: how can I push out an updated driver across the network? Is there a scriptable way? A packageable way? An SCCM2012 way?

    (Windows 7 SP1 x64, Server 2008R2, SCCM2012, fog... think that's everything relevant. Oh, and I'm rubbish at scripting, so I need my hand held with that)

  2. #2

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    Is the updated driver in WSUS?

  3. Thanks to Geoff from:

    sonofsanta (19th October 2012)

  4. #3

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    17,663
    Thank Post
    516
    Thanked 2,446 Times in 1,894 Posts
    Blog Entries
    24
    Rep Power
    831
    Is it a signed driver?

    Or does it require user interaction to confirm its use?

    If it is signed, you could build yourself a script using DPInst to install it?

    Driver Package Installer (DPInst)

  5. 3 Thanks to localzuk:

    3s-gtech (19th October 2012), CHR1S (14th October 2013), sonofsanta (19th October 2012)

  6. #4

    sonofsanta's Avatar
    Join Date
    Dec 2009
    Location
    Lincolnshire, UK
    Posts
    4,944
    Thank Post
    862
    Thanked 1,442 Times in 991 Posts
    Blog Entries
    47
    Rep Power
    616
    Quote Originally Posted by Geoff View Post
    Is the updated driver in WSUS?
    Can't see the right driver in the Microsoft catalogue (VIA HD Audio Driver Dated: 25-Jul-2012 version 10.005D / 6.0.1.10500)

  7. #5

    sonofsanta's Avatar
    Join Date
    Dec 2009
    Location
    Lincolnshire, UK
    Posts
    4,944
    Thank Post
    862
    Thanked 1,442 Times in 991 Posts
    Blog Entries
    47
    Rep Power
    616
    Quote Originally Posted by localzuk View Post
    Is it a signed driver?

    Or does it require user interaction to confirm its use?

    If it is signed, you could build yourself a script using DPInst to install it?

    Driver Package Installer (DPInst)
    It's WHQL certified so should be fine. Not used DPInst before - does it give me an MSI at the end?

  8. #6

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    17,663
    Thank Post
    516
    Thanked 2,446 Times in 1,894 Posts
    Blog Entries
    24
    Rep Power
    831
    Quote Originally Posted by sonofsanta View Post
    It's WHQL certified so should be fine. Not used DPInst before - does it give me an MSI at the end?
    No, DPInstall just does the install. If you wanted an MSI, you'd have to custom craft one to do it.

  9. Thanks to localzuk from:

    sonofsanta (19th October 2012)

  10. #7

    sonofsanta's Avatar
    Join Date
    Dec 2009
    Location
    Lincolnshire, UK
    Posts
    4,944
    Thank Post
    862
    Thanked 1,442 Times in 991 Posts
    Blog Entries
    47
    Rep Power
    616
    Quote Originally Posted by localzuk View Post
    No, DPInstall just does the install. If you wanted an MSI, you'd have to custom craft one to do it.
    So I'd script Windows to run DPInst with the driver as an argument? (just downloading it now to play)

    That being the case, I could run it as a package from SCCM, which would be a handy way of getting reports back on it and making sure it only ran once... if it works that way, of course.

  11. #8

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    17,663
    Thank Post
    516
    Thanked 2,446 Times in 1,894 Posts
    Blog Entries
    24
    Rep Power
    831
    Quote Originally Posted by sonofsanta View Post
    So I'd script Windows to run DPInst with the driver as an argument? (just downloading it now to play)

    That being the case, I could run it as a package from SCCM, which would be a handy way of getting reports back on it and making sure it only ran once... if it works that way, of course.
    Yup, exactly that. I believe you put it in a directory along with the inf and its associated driver files in the structure that they require, and when it runs, it finds that .inf file and executes its install.

    That link I posted has the full instruction manual for it - it can do a lot more than just install a driver but in its simplest form, that's what it does.

  12. 2 Thanks to localzuk:

    jaminben (10th June 2013), sonofsanta (19th October 2012)

  13. #9

    sonofsanta's Avatar
    Join Date
    Dec 2009
    Location
    Lincolnshire, UK
    Posts
    4,944
    Thank Post
    862
    Thanked 1,442 Times in 991 Posts
    Blog Entries
    47
    Rep Power
    616
    Quote Originally Posted by localzuk View Post
    Yup, exactly that. I believe you put it in a directory along with the inf and its associated driver files in the structure that they require, and when it runs, it finds that .inf file and executes its install.

    That link I posted has the full instruction manual for it - it can do a lot more than just install a driver but in its simplest form, that's what it does.
    Brilliant, I'll have a play. Learn something new every day cheers!

  14. #10

    sonofsanta's Avatar
    Join Date
    Dec 2009
    Location
    Lincolnshire, UK
    Posts
    4,944
    Thank Post
    862
    Thanked 1,442 Times in 991 Posts
    Blog Entries
    47
    Rep Power
    616
    I think I'm being a bit thick here. I've downloaded WDK 7.1.0.7600 but there ain't no DPInst in the redist\DIFx folder - there isn't even a DIFx folder. Whu?

    I can't spot it being installed as a result of anything, either. Where is it?

    EDIT: nvm, found it - you have to install the tools from WDK and then it appears in the redist folder that's in the install directory. Carry on!
    Last edited by sonofsanta; 19th October 2012 at 09:46 AM.

  15. #11

    sonofsanta's Avatar
    Join Date
    Dec 2009
    Location
    Lincolnshire, UK
    Posts
    4,944
    Thank Post
    862
    Thanked 1,442 Times in 991 Posts
    Blog Entries
    47
    Rep Power
    616
    That is pretty damn cool.

    At a basic level, then, I stuck redist\DIFx\dpinst\MultiLin\amd64\dpinst.exe into the folder with the inf/cat/sys files on my SCCM server, then created a package pointing at that folder, and just gave it dpinset.exe /q /se /sw /f as a command line, and SHAZAM job done. Awesome awesome awesome.

    Only minor issue is that Software Center reports it as failed, presumably because it's not getting a return code that it understands from DPInst. If anyone knows how to hack that, it'd be brilliant, but if it shows up as failed I at least know it's run, and if it's run then it's done, so I'm not too fussed.

    Lovely job thanks chaps!

  16. Thanks to sonofsanta from:

    jaminben (10th June 2013)

  17. #12

    localzuk's Avatar
    Join Date
    Dec 2006
    Location
    Minehead
    Posts
    17,663
    Thank Post
    516
    Thanked 2,446 Times in 1,894 Posts
    Blog Entries
    24
    Rep Power
    831
    Glad to help. I use it as part of my 'DriverPack' universal image installer for Windows 7 - combine it with a script from Driverpacks.net and custom driverpacks in .7z files and voila, it installs everything you need for a universal image.

  18. #13
    jaminben's Avatar
    Join Date
    Oct 2012
    Location
    Norfolk
    Posts
    233
    Thank Post
    46
    Thanked 15 Times in 14 Posts
    Rep Power
    6
    Thanks for this guys.... works very well

    Only issue I had was the name for anyone else that's interested.... dpinst.exe /q /se /sw /f

    Quote Originally Posted by sonofsanta View Post
    gave it dpinset.exe /q /se /sw /f as a command line, and SHAZAM job done.
    Last edited by jaminben; 10th June 2013 at 02:40 PM.

SHARE:
+ Post New Thread

Similar Threads

  1. Software updates - How would you do it if you were me?
    By jmair in forum How do you do....it?
    Replies: 9
    Last Post: 15th April 2011, 12:59 AM
  2. Replies: 6
    Last Post: 27th February 2007, 08:00 PM
  3. Replies: 37
    Last Post: 11th February 2006, 12:37 PM
  4. Printer Consumables... How do you do it!!!!
    By ChrisH in forum General Chat
    Replies: 24
    Last Post: 5th July 2005, 12:31 PM
  5. How do you do.....it?
    By Dos_Box in forum General EduGeek News/Announcements
    Replies: 4
    Last Post: 20th June 2005, 10:32 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •