what is wrong to install driver automatically in windows 7 platform? | Cypress Semiconductor
what is wrong to install driver automatically in windows 7 platform?
i have an application with cy68013 with high speed, and with a driver ezloader.sys and myusb.sys, i use the devcon.exe tool to install the driver software first , which means don't connect incoming USB data cable, the devcon.exe would find ezloader.sys.. under windows xp platform. it would install properly. later when i connect the usb cable, the second step of driver, i.e. myusb.sys would be installed automatically.
but, this won't work under windows 7 platform.. i reprogramed all the drivers. mannually using windows controlling board: devide managment, the drivers: ezloader.sys and myusb.sys works properly, which means the drivers themselvies are alright.
but when i try to install the driver automatically.(programingly with devcon.exe in VC), the devcon would install ezloader. when i connect the usb cable, the window 7 cann't find the second part of driver: i.e. myusb.sys.. it refers to c:\users\Documents and Settings\ to try to find the driver. (which is under c:\windows\system32\drivers). of course it failed.. i have to mannually change the search path to find the driver.
what's wrong with that? the inf file is the same with under windows xp.. how can i correct this program?
i am trying to make the driver installed programmingly, i.e automatically.. the problems here different with CyUSB.sys is that i have two steps driver to install.(i don't want to change the driver to CyUSB.sys yet)..
any suggestions? your help is much appreciated. it baffered me awhile now.