问一下,我在使用STSW-STM32102 虚拟串口 ,我用的 是1.4版本的,插入USB 的时候,安装程序提升代码10 说安装失败,,, 因为我的设备是VID_05AC&PID_1709 所以我就改了,这个设备,,别的没改 (如果没有改设备 05AC 跟1709 安装的时候会提示找不到硬件,改后可以,但是安装到最后的时候说启动不了)问一下,有没有人遇到,或者知道原因的,, [Manufacturer] %MFGNAME%=DeviceList,NT,NTamd64 [DestinationDirs] DefaultDestDir = 12 ;------------------------------------------------------------------------------ ; VID/PID Settings ;------------------------------------------------------------------------------ [DeviceList.NT] %DESCRIPTION%=DriverInstall,USB\VID_05AC&PID_1709 [DeviceList.NTamd64] %DESCRIPTION%=DriverInstall,USB\VID_05AC&PID_1709 [DriverInstall.NT] Include=mdmcpq.inf CopyFiles=FakeModemCopyFileSection AddReg=DriverInstall.NT.AddReg [DriverInstall.NT.AddReg] HKR,,DevLoader,,*ntkern HKR,,NTMPDriver,,usbser.sys HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider" [DriverInstall.NT.Services] AddService=usbser, 0x00000002, DriverServiceInst [DriverServiceInst] DisplayName=%SERVICE% ServiceType = 1 ; SERVICE_KERNEL_DRIVER StartType = 3 ; SERVICE_DEMAND_START ErrorControl = 1 ; SERVICE_ERROR_NORMAL ServiceBinary= %12%\usbser.sys LoadOrderGroup = Base ;------------------------------------------------------------------------------ ; String Definitions ;------------------------------------------------------------------------------ [Strings] PRVDR = "STMicroelectronics" MFGNAME = "STMicroelectronics." DESCRIPTION = "STMicroelectronics Virtual COM Port" SERVICE = "STM Virtual COM Port" DriversDisk = "STM Drivers Disk" |
提示错误代码10有可能不是这个原因,比如修改下堆栈大小试下看行不行。