Question about inf file, Virtual USB COM port, and USB CDC device

Posted on 2012-09-17
Last Modified: 2012-09-17
Hi experts
My windows application communicates with an external hardware device via a virtual USB COM port. I, therefore, need to include the inf file as part of the installation in order to tell the PC about the Vendor and the Product ID of the USB CDC device. No new driver is req'd; just the standard Windows driver 'usbser'.

But I notice that even after I use the command line: rundll32 setupapi.dll,InstallHinfSection DefaultInstall 128 ./<??.inf>

When I plug in the USB cable, a 'Found New Hardware Wizard' dialog box still pops up and asks user to install software for the hardware. My question is: is this normal? Or the above command line hasn't taken effect?

Thanks in advance.
Question by:dominicwong
    LVL 77

    Accepted Solution

    it will look but not find a better driver (which is what it is trying to do), normal behaviour

    Author Closing Comment

    Thank you.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Many admins will agree: WSUS is is a nice invention but using it on the client side when updating a newly installed computer is still time consuming as you have to do several reboots and furthermore, the procedure of installing updates, rebooting an…
    Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
    In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
    Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

    760 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now