Hi,
sorry for the OT but I felt the expertise on this list might have answer on tap. I've got a .inf file for my USB CDC ACM device that works fine. However installing it requires about million steps for the end user so I thought I'd enable the installation by using right click/Install... But somehow the this fails to properly reference the usbser.sys file archieved on Windows 7, when I right click/Install... the .inf file it says that the usbser.sys is required and asks me to point to it. I've tried the instructions in [1] and [2] and even tried to modify the supposedly ok .inf file from Microchip to use this installation method, but nothing helps. Below the Microchip .inf with my mods, can anyone spot what the trouble is? br Kusti [1] http://support.microsoft.com/kb/837637 [2] http://www.microchip.com/forums/m488342-print.aspx The .inf file: [Version] Signature="$Windows NT$" Class=Ports ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318} Provider=%MFGNAME% CatalogFile=%MFGFILENAME%.cat DriverVer=12/06/2012,5.1.2600.7 [Manufacturer] %MFGNAME%=DeviceList,NTamd64 [DeviceList] %DESCRIPTION%=DriverInstall,USB\VID_04D8&PID_000A,USB\VID_04D8&PID_0205,USB \VID_04D8&PID_00DF&MI_00,USB\VID_04D8&PID_0057&MI_01,USB\VID_04D8&PID_006E& MI_01,USB\VID_04D8&PID_0208&MI_00,USB\VID_04D8&PID_0208&MI_02 [DeviceList.NTamd64] %DESCRIPTION%=DriverInstall,USB\VID_04D8&PID_000A,USB\VID_04D8&PID_0205,USB \VID_04D8&PID_00DF&MI_00,USB\VID_04D8&PID_0057&MI_01,USB\VID_04D8&PID_006E& MI_01,USB\VID_04D8&PID_0208&MI_00,USB\VID_04D8&PID_0208&MI_02 ;-------------------------------------------------------------------------- ---- ; Windows 32bit OSes Section ;-------------------------------------------------------------------------- ---- [DefaultInstall.nt] include=mdmcpq.inf CopyFiles=FakeModemCopyFileSection AddReg=DriverInstall.nt.AddReg [DefaultInstall.nt.AddReg] HKR,,DevLoader,,*ntkern HKR,,NTMPDriver,,%DRIVERFILENAME%.sys HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider" [DefaultInstall.NT.Services] include=mdmcpq.inf AddService=destinati, 0x00000002, LowerFilter_Service_Inst ;-------------------------------------------------------------------------- ---- ; Windows 64bit OSes Section ;-------------------------------------------------------------------------- ---- [DefaultInstall.NTamd64] include=mdmcpq.inf CopyFiles=FakeModemCopyFileSection AddReg=DriverInstall.NTamd64.AddReg [DefaultInstall.NTamd64.AddReg] HKR,,DevLoader,,*ntkern HKR,,NTMPDriver,,%DRIVERFILENAME%.sys HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider" [DefaultInstall.NTamd64.Services] include=mdmcpq.inf AddService=usbser, 0x00000002, LowerFilter_Service_Inst ;-------------------------------------------------------------------------- ---- ; Common Sections ;-------------------------------------------------------------------------- ---- [DestinationDirs] FakeModemCopyFileSection=12 DefaultDestDir=12 [SourceDisksNames] [SourceDisksFiles] [FakeModemCopyFileSection] [LowerFilter_Service_Inst] DisplayName= %SERVICE% ServiceType= 1 StartType = 3 ErrorControl = 0 ServiceBinary = %12%\usbser.sys ;-------------------------------------------------------------------------- ---- ; String Definitions ;-------------------------------------------------------------------------- ---- [Strings] MFGFILENAME="mchpcdc" DRIVERFILENAME ="usbser" MFGNAME="Microchip Technology, Inc." ;This name shows up in the device manager properties for the device DESCRIPTION="USB Serial Port" ;This is the "friendly name" that shows up in the device manager SERVICE="USB to Serial Driver" This e-mail may contain confidential or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. We will not be liable for direct, indirect, special or consequential damages arising from alteration of the contents of this message by a third party or as a result of any virus being passed on or as of transmission of this e-mail in general. ------------------------------------------------------------------------------ Own the Future-Intel(R) Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 _______________________________________________ libusbx-devel mailing list libusbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libusbx-devel