+ Post New Thread
Results 1 to 13 of 13
Windows 7 Thread, Deploying device drivers? in Technical; Hi all, Hoping someone can help me out. Is there a way i can deploy device drivers? I need to ...
  1. #1

    Join Date
    Jun 2010
    Location
    England
    Posts
    735
    Thank Post
    89
    Thanked 52 Times in 46 Posts
    Rep Power
    36

    Deploying device drivers?

    Hi all,

    Hoping someone can help me out. Is there a way i can deploy device drivers?
    I need to install the drivers for a pixaxe AXE027 usb cable on alot of machines
    PICAXE
    http://www.rev-ed.co.uk/software/axe027.zip

    Is there an easy way to deploy these drivers, like you can with a software package, so i dont have to go around each machine manualy? The clients are using windows 7 and running a server 2008 network.

    thanks very much.

  2. #2

    Join Date
    Aug 2005
    Location
    London
    Posts
    3,159
    Thank Post
    116
    Thanked 529 Times in 452 Posts
    Blog Entries
    2
    Rep Power
    125
    Should be able to do it with dpinst (part of Windows). Assuming you've got the zip file unzipped somewhere on a server you could do something like this:

    Code:
    if exist %windir%\picaxe.installed goto end
    xcopy \\server\share\picaxe %windir%\temp\picaxe /i /s
    dpinst u c:\temp\picaxe\ftdibus.inf /q
    dpinst u c:\temp\picaxe\ftdiport.inf /q
    echo installed > %windir%\picaxe.installed
    :end

    Not sure if you need to install both .inf files (some hardware has multiple .inf files but doesn't need them - eg they're for different versions)

  3. Thanks to srochford from:

    ihaveaproblem (24th January 2011)

  4. #3

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    10,053
    Thank Post
    3,585
    Thanked 1,123 Times in 1,025 Posts
    Rep Power
    377
    Just curious if you would need to use devcon as well as dpinst or not - never tried doing something like this before

    The DevCon command-line utility functions as an alternative to Device Manager

    Install switch as per above link

    Could be wrong and dpinst may do the lot ??

  5. Thanks to mac_shinobi from:

    ihaveaproblem (24th January 2011)

  6. #4

    Join Date
    Jun 2010
    Location
    England
    Posts
    735
    Thank Post
    89
    Thanked 52 Times in 46 Posts
    Rep Power
    36
    Thanks srochford. I'll give it a go and let you know if it worked for me. Fingers crossed it does, would save me alot of time.

  7. #5

    Join Date
    Jun 2010
    Location
    England
    Posts
    735
    Thank Post
    89
    Thanked 52 Times in 46 Posts
    Rep Power
    36
    Quote Originally Posted by mac_shinobi View Post
    Just curious if you would need to use devcon as well as dpinst or not - never tried doing something like this before

    The DevCon command-line utility functions as an alternative to Device Manager

    Install switch as per above link

    Could be wrong and dpinst may do the lot ??
    Thanks for the link mac_shinobi. I'm not sure if this is something i need as well because this is all new to me. If what srochford suggested doesnt work i will look into this.
    One thing i did notice after looking through the link you posted.
    It says this
    "You can use DevCon with Microsoft Windows 2000, Windows XP, and Windows Server 2003"

    Does it work with Windows 7 as well?

  8. #6

    Join Date
    Apr 2007
    Location
    Christchurch
    Posts
    421
    Thank Post
    41
    Thanked 64 Times in 62 Posts
    Rep Power
    26
    I usually use Winstall lite to make an msi after installing the drivers on a standard Pc and then distribute via GPO

  9. #7

    Join Date
    Aug 2005
    Location
    London
    Posts
    3,159
    Thank Post
    116
    Thanked 529 Times in 452 Posts
    Blog Entries
    2
    Rep Power
    125
    As I understand it, devcon will work if the hardware is already present in the machine but isn't as good (ie may not work at all!) if the hardware isn't there (which I'm guessing it won't be in this case - it's a device that can be plugged in at any time) DPInst is newer than devcon and, more importantly, is designed to install PnP drivers when the hardware is not present.

  10. Thanks to srochford from:

    mac_shinobi (24th January 2011)

  11. #8

    DaveP's Avatar
    Join Date
    Oct 2006
    Location
    Can't talk now: The mother-ship is calling!
    Posts
    9,381
    Thank Post
    354
    Thanked 1,350 Times in 928 Posts
    Blog Entries
    4
    Rep Power
    1203
    I have followed the advice given here and I appear to have got it to run at start up without errors.

    However when the device is plugged it with a user logged on it still asks to install the driver The teacher of Technology has taken the PIC programmer [I think that is what it is called] away for another lesson.

    So my question now is do I need the programmer plugged into the USB port when the PC starts for it to install successfully? [Thought it was plug and play so it was not in place at start up on this occasion]

    Also do I need to activate each USB port [the way I had to for the Lego USB towers]

    Thanks.

  12. #9

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    10,053
    Thank Post
    3,585
    Thanked 1,123 Times in 1,025 Posts
    Rep Power
    377
    Quote Originally Posted by srochford View Post
    As I understand it, devcon will work if the hardware is already present in the machine but isn't as good (ie may not work at all!) if the hardware isn't there (which I'm guessing it won't be in this case - it's a device that can be plugged in at any time) DPInst is newer than devcon and, more importantly, is designed to install PnP drivers when the hardware is not present.
    If it is that kind of driver ie for USB memory sticks then may need / require the GPO that allows non signed drivers to install and or possibly non admins to install drivers ( can't remember exact GPO settings but am sure you can clarify / confirm / deny this ?? )

    Good info mr Rochford - thanks !!

  13. #10
    TheScarfedOne's Avatar
    Join Date
    Apr 2007
    Location
    Plymouth, Devon
    Posts
    1,123
    Thank Post
    770
    Thanked 176 Times in 159 Posts
    Blog Entries
    78
    Rep Power
    86
    Yes you are right - there are a whole load of settings related to driver install, and permissions for it.

    Policies > Windows Settings > Security Settings > Local Policies > User Rights Assignment > Load and unload device drivers

    There are others for controling what class of drivers can be installed too, will go find and post...

  14. #11

    Join Date
    Jun 2010
    Location
    England
    Posts
    735
    Thank Post
    89
    Thanked 52 Times in 46 Posts
    Rep Power
    36
    I've not had chance to try this yet. Plan to do it first thing in the morning. I hope i can get it to work, however i have my small doubts after reading DaveP still got asked for the drivers. I'l post back the results.

    Thanks all for the help!

  15. #12

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    11,271
    Thank Post
    884
    Thanked 2,749 Times in 2,322 Posts
    Blog Entries
    11
    Rep Power
    785
    Its quite involved but this should do the job for you if the other method does not work out:
    Creating an MSI to install device drivers - Wiki

  16. 2 Thanks to SYNACK:

    ihaveaproblem (24th January 2011), mac_shinobi (24th January 2011)

  17. #13

    Join Date
    Jun 2010
    Location
    England
    Posts
    735
    Thank Post
    89
    Thanked 52 Times in 46 Posts
    Rep Power
    36
    I quickly tested what srochford suggested and unfortuantly it didnt work for me either. The same happened to me as it did for DavidP, when i plugged the pic programming cable in it started asking for device driver to be installed.



SHARE:
+ Post New Thread

Similar Threads

  1. Adding Device Drivers takes an age!
    By FragglePete in forum Windows 7
    Replies: 3
    Last Post: 19th May 2010, 03:14 PM
  2. Replies: 12
    Last Post: 13th April 2010, 06:44 PM
  3. Remote install of device drivers
    By GoldenWonder in forum Windows
    Replies: 4
    Last Post: 25th January 2010, 08:03 PM
  4. Device manager not installing drivers
    By rhyds in forum Windows
    Replies: 6
    Last Post: 26th March 2008, 01:13 PM

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
  •