How to install/uninstall an inf driver?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • yxq

    #1

    How to install/uninstall an inf driver?

    Hello,
    I want to install/uninstall a driver(only inf file), this inf file does not
    support right-click to install in explorer, it can only be installed from
    Control Panel/Add Remove hardware.
    Can anyone tell me how to install/uninstall in VB.NET?

    Regards
    Steven


  • Thorsten Doerfler

    #2
    Re: How to install/uninstall an inf driver?

    yxq schrieb:
    I want to install/uninstall a driver(only inf file), this inf file does not
    support right-click to install in explorer, it can only be installed from
    Control Panel/Add Remove hardware.
    Can anyone tell me how to install/uninstall in VB.NET?
    Take a look at the Driver Package Installer:

    Driver Package Installer (DPInst)
    http://msdn2.microsoft.com/en-us/library/ms790308.aspx

    You can configure it to run silently and check the results.

    DPInst Command-Line Switches
    http://msdn2.microsoft.com/en-us/library/ms790806.aspx

    DPInst Return Code
    http://msdn2.microsoft.com/en-us/library/ms791066.aspx

    Thorsten Doerfler
    --
    Microsoft MVP Visual Basic

    vb-hellfire visual basic faq | vb-hellfire - einfach anders
    http://vb-faq.de/ | http://www.vb-hellfire.de/

    Comment

    • yxq

      #3
      Re: How to install/uninstall an inf driver?

      Thank you, but i do not want to use DPInst, only want to use the API
      function, can you tell which API use?


      "Thorsten Doerfler" <t.doerfler_nos pam@bdsw.de>
      ??????:fqbeg2.1 2o.1@news.bdsw. de...
      yxq schrieb:
      >I want to install/uninstall a driver(only inf file), this inf file does
      >not
      >support right-click to install in explorer, it can only be installed from
      >Control Panel/Add Remove hardware.
      >Can anyone tell me how to install/uninstall in VB.NET?
      >
      Take a look at the Driver Package Installer:
      >
      Driver Package Installer (DPInst)
      http://msdn2.microsoft.com/en-us/library/ms790308.aspx
      >
      You can configure it to run silently and check the results.
      >
      DPInst Command-Line Switches
      http://msdn2.microsoft.com/en-us/library/ms790806.aspx
      >
      DPInst Return Code
      http://msdn2.microsoft.com/en-us/library/ms791066.aspx
      >
      Thorsten Doerfler
      --
      Microsoft MVP Visual Basic
      >
      vb-hellfire visual basic faq | vb-hellfire - einfach anders
      http://vb-faq.de/ | http://www.vb-hellfire.de/
      >

      Comment

      Working...