Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Hardware & Devices
  4. How to install the USB driver in silent?

How to install the USB driver in silent?

Scheduled Pinned Locked Moved Hardware & Devices
helpwindows-adminhostingcloudtutorial
6 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    whiteclouds
    wrote on last edited by
    #1

    Hi All! I am developing a project to install a driver for USB with InnoSetup. Now I had copied all files needed to the appropriate directories such as system32\drivers, system32\ etc. And I had write the appropriate registry keys to register the driver. But after installed, when the device was plugged in, the system say it can't find .sys file and .dll file. I must locate them by myself, although they had been copied successfully. I don't know how to fix it. Is there someone be kind to help me? Thx! Best Regards!

    There is some white cloud floating on the blue sky. That's the landscape I like.

    D L J M 4 Replies Last reply
    0
    • W whiteclouds

      Hi All! I am developing a project to install a driver for USB with InnoSetup. Now I had copied all files needed to the appropriate directories such as system32\drivers, system32\ etc. And I had write the appropriate registry keys to register the driver. But after installed, when the device was plugged in, the system say it can't find .sys file and .dll file. I must locate them by myself, although they had been copied successfully. I don't know how to fix it. Is there someone be kind to help me? Thx! Best Regards!

      There is some white cloud floating on the blue sky. That's the landscape I like.

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      Well, obviously, you did NOT copy all the required files to the appropriate places, otherwise you wouldn't have this problem. Did you create an .INF file and put it in it's appropriate place?? Just putting .DLL and .SYS files into those folders does absolutely nothing because there is nothing telling Windows which files match up with that device.

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak

      1 Reply Last reply
      0
      • W whiteclouds

        Hi All! I am developing a project to install a driver for USB with InnoSetup. Now I had copied all files needed to the appropriate directories such as system32\drivers, system32\ etc. And I had write the appropriate registry keys to register the driver. But after installed, when the device was plugged in, the system say it can't find .sys file and .dll file. I must locate them by myself, although they had been copied successfully. I don't know how to fix it. Is there someone be kind to help me? Thx! Best Regards!

        There is some white cloud floating on the blue sky. That's the landscape I like.

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        You need to use the various win 32 funcs such as SetupcopyOEMInf() and so on to actually do an install. The system needs to 'compile' the inf, to create a pnf file, whilch you will find in various places depending on OS, and the syste, takes care of copying the files, setting the registry and so on for you.

        ============================== Nothing to say.

        1 Reply Last reply
        0
        • W whiteclouds

          Hi All! I am developing a project to install a driver for USB with InnoSetup. Now I had copied all files needed to the appropriate directories such as system32\drivers, system32\ etc. And I had write the appropriate registry keys to register the driver. But after installed, when the device was plugged in, the system say it can't find .sys file and .dll file. I must locate them by myself, although they had been copied successfully. I don't know how to fix it. Is there someone be kind to help me? Thx! Best Regards!

          There is some white cloud floating on the blue sky. That's the landscape I like.

          J Offline
          J Offline
          JosephvObrien
          wrote on last edited by
          #4

          I am not sure but may be this driver is not supported with your operating system...

          L 1 Reply Last reply
          0
          • J JosephvObrien

            I am not sure but may be this driver is not supported with your operating system...

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            Nah, its a USB driver, and this has been supported in the kernel since win2k, and the kernel has hardly changed since then (ad hasnt changed much since NT 3.5). Its an install issue.

            ============================== Nothing to say.

            1 Reply Last reply
            0
            • W whiteclouds

              Hi All! I am developing a project to install a driver for USB with InnoSetup. Now I had copied all files needed to the appropriate directories such as system32\drivers, system32\ etc. And I had write the appropriate registry keys to register the driver. But after installed, when the device was plugged in, the system say it can't find .sys file and .dll file. I must locate them by myself, although they had been copied successfully. I don't know how to fix it. Is there someone be kind to help me? Thx! Best Regards!

              There is some white cloud floating on the blue sky. That's the landscape I like.

              M Offline
              M Offline
              memoarfaa
              wrote on last edited by
              #6

              goto this link https://msdn.microsoft.com/en-us/library/gg441316(v=vs.85).aspx or search google for

              rundll32 advpack.dll launchinfsection

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups