DPinst/DIFx DriverPackageUninstall is not freeing COM port properly RRS feed

  • Question

  • Hi,

    I have a problem with a serial port device and DIFx package uninstall procedure. My device uses regular serial port driver set: serial, serenum and msports class driver/installer with my own inf/cat files. Problem is when I run driver package uninstall: class installer (msports) is not triggered to do cleanup (DIF_REMOVE flag?). As a result, previously assigned COM port is not released.

    Additionally after uninstall, I can see a device with a weird name "COMx" where x is a port number (but none of COM names is assigned to this device!). Removing this device and running HW discovery results in different device name.

    This issue doesn't exist when I remove device first (through device manager or setupApi) before removing the driver package.

    Problem is obviously not cleared flag in COM port database which should be done by msports.

    May it be a difx bug?

    Best regards,


    Wednesday, July 23, 2014 12:31 PM