!!Severe!! Bug in SUB20 Installer from january 2010

All about Sub-20 Multi Interface USB Adapter USB to I2C, SPI, GPIO, RS232, RS485, Ir, LCD

Moderator: serg

Post Reply
Pablo
Posts: 8
Joined: Wed May 19, 2010 3:28 pm

!!Severe!! Bug in SUB20 Installer from january 2010

Post by Pablo »

Hello

There is a !SEVERE! Bug in the Installers
SUB-20-100120-x32.exe
and
SUB-20-100120.exe

Both say that they are for Windwos XP.
So it should be possible to install one of them on Windows XP.

But the problem is that they install a different driver and once you installed
SUB-20-100120-x32.exe
you will not be able anymore to install
SUB-20-100120.exe
and vice versa!
This severe problem is 100% reproduceble.

I had installed the SUB-20-100120-x32.exe, I uninstalled it, and then wanted to install SUB-20-100120.exe
The effect was that the new driver was NOT installed.

I installed the driver manually via Control Panel (specifying the path to the Sub20 driver folder) and got the error message:
The file WinUsbCoInstaller.dll is required.
This is weird because this DLL is normally not required to install a normal *.SYS driver.

This Dll is NOT in the driver folder of the SUB20 directory when installing SUB-20-100120.exe.
I found this DLL in my Windows\System32 directory.
After specifying the path manually the installation completes and "SUB20 Multi Interface Adapter" appears in Cotrol panel under "USB devices".

BUT:
The driver does not work.
I start subtool.exe that shows the error "No Device".

I unsinstall the SUB20 installation SUB-20-100120.exe and reinstall the version SUB-20-100120-x32.exe and:
!!IT WORKS!!

To verify this I uninstall the SUB-20-100120-x32.exe and install again the SUB-20-100120.exe and:
I does NOT work.

I can repeat that a thousand times.


Notice the difference in the Sub20\driver folder:

One installation contains:
-- driver\x86\WdfCoInstaller01005.dll
-- driver\x86\WinUSBCoInstaller.dll
-- driver\x86\WUDFUpdate_01005.dll
There is NO Sys file !!

The other installation contains:
-- driver\Win32\sub20.sys
There are NO Dlls anymore !

It is obvious that Dimax never has tested what happens when you install one version after the other one !

After uninstalling the entire SUB20, the driver is still there in Control Panel.
Even removing the SUB-20 manually in Control Panel does not help!

I supposed that the driver was not removed correctly from the registry as the uninstallation obviously does not work:
I WAS RIGHT!

I searched the entire HKLM for "Sub-20"

I found under

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Reinstall

an entry that points to :

C:\WINDOWS\system32\ReinstallBackups\0020\DriverFiles\sub20.inf

Also there were the follwing paths in my registry pointing to a copy of the old SUB-20 INF file:
c:\WINDOWS\inf\oem19.inf
c:\WINDOWS\inf\oem19.PNF

I deleted all these files.

And I deleted the registry keys that I found under:
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{36FC9E60-C465-11CF-8056-444553540000}\0038

and under:
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\USB\Vid_04d8&Pid_ffc3


Then I installed again.
NOW the driver was still !!NOT!! installed automatically! (although the SUB-20 was connect all the time)
I had to install it manually in Control panel and now it installed for the first time without the error of a missing DLL.

Now the SUB-20 is not not anymore listed under "USB devices"
Now it appears under "Lib-USB Win32 Devices"

And NOW finally it works!!

I hope you will fix the bug in the driver installation and uninstallation soon!

Pablo
Attachments
ControlPanel2.gif
ControlPanel2.gif (4.75 KiB) Viewed 7973 times
NoDevice.gif
NoDevice.gif (40.96 KiB) Viewed 7973 times
ControlPanel.gif
ControlPanel.gif (5.36 KiB) Viewed 7973 times
Last edited by Pablo on Thu May 20, 2010 2:09 pm, edited 1 time in total.

Pablo
Posts: 8
Joined: Wed May 19, 2010 3:28 pm

Re: !!Severe!! Bug in SUB20 Installer from january 2010

Post by Pablo »

I notice that this forum has reverted the order of the images that I attached.

The last image should be the first.
It shows the driver from SUB-20-100120-x32.exe.
After uninstalling SUB-20-100120-x32.exe and installing SUB-20-100120.exe the second image shows the error.
The first image is after removing all the stuff from the registry and reinstalling SUB-20-100120.exe.

Pablo
Last edited by Pablo on Thu May 20, 2010 2:12 pm, edited 1 time in total.

serg
Posts: 143
Joined: Mon Aug 31, 2009 9:17 pm

Re: !!Severe!! Bug in SUB20 Installer from january 2010

Post by serg »

Hi Pablo,
The right installer for the Windows 2003 is this one http://www.xdimax.com/sub20/download/SUB-20-100120.exe. See the "Windows Vista, XP, 2000, NT, 98" section on the main SUB-20 webpage.
http://www.xdimax.com/sub20/sub20.html
Regards

Pablo
Posts: 8
Joined: Wed May 19, 2010 3:28 pm

Re: !!Severe!! Bug in SUB20 Installer from january 2010

Post by Pablo »

Hi Serg

Your comment does not hit the point.

But you led me to something that I did not notice.
I completely edited my posting anew.
Please read it again.

The problem has nothing to do with the operating system!

!!! Before posting any quick answers here PLEASE do the installation as I describre !!!
The bug is 100% reproduceble.
If you try it, you will confirm that there is definitely a severe problem!

Pablo

Post Reply