完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我们使用CyPress USB控制器在Windows Vista/7下。我们成功地使用了提供的CyPress USB通用驱动程序(3.4.6),但是我们希望以一种安静的方式以编程方式安装它(不需要弹出窗口或用户输入)。
你能提供链接到指南/资源,在那里我可以找到所有需要的信息(例如Windows API调用)来编程地安装CyPress驱动程序吗? 以上来自于百度翻译 以下为原文 We use Cypress USB controllers under Windows Vista/7. We are successfully using the provided Cypress USB Generic Driver (3.4.6) but we would like to install it programmatically in a silent way (without the need of pop-ups or user input). Could you please provide links to guide/resources where I can find all the information needed (e.g. Windows API calls) for programmatically install the Cypress driver? |
|
相关推荐
5个回答
|
|
在32位操作系统中,您应该能够通过安装程序实现这一点。在64位,你必须签署司机。
当做, 阿南德 以上来自于百度翻译 以下为原文 In 32-bit OS you should be able to achieve this through installer. In 64-bit you'll have to sign the driver. Regards, Anand |
|
|
|
这样做的过程被称为“软件第一安装”方法。意思是在硬件插入之前安装驱动程序。驱动程序和其他相关文件放在适当的位置,当设备***入时,它自动绑定到驱动程序。这就是你要找的吗?
为了这个微软提供了一堆工具, 驱动程序安装框架WIX安装程序首先需要创建MSI或其他安装程序,并使用DIFX API或WIX并合并安装文件来安装驱动程序。 以上来自于百度翻译 以下为原文 The procesdure to do this is called "Software First Install" method. Meaning you install the driver before your hardware is plugged in. The driver and other associated files are put in appropriate location and when the device is plugged it automatically binds to the driver. Is this what you are looking for? In order to this Microsoft providea a bunch of tools,
|
|
|
|
请注意,对于32位WindowsXP、WIN7和Vista,驱动程序不需要签名,因此您需要做的是将CysB.SIS文件和INF文件(带有VID PID和其他信息)放置在Windows搜索的适当位置。但是在64位机器的情况下,您需要从微软中签出设备驱动程序。你需要让你的USB设备固件运行起来。U.B.ORG提供了一套测试WHQL认证的固件的工具。这个结果必须发送给微软,他们将提供一个.CAT文件。此文件需要包含在安装程序中。
希望这有帮助。 以上来自于百度翻译 以下为原文 Please note that for 32 bit Windows XP, Win7 and Vista the driver need not be signed, hence all you need to do is put the CyUSB.sys file and the INF file(with your VID PID and other info) in proper location where windows searches. But in case of 64 bit machines, you need to get your device driver signed from Microsoft. You need to have your USB device firmware up and running. USB.org provides a set of tools to test your firmware for WHQL certification. The results of this must be sent to Microsoft and they will provide you a .CAT file. This file needs to be included in your installer. Hope this helps. |
|
|
|
谢谢你的回复!
我看了一下DIFX API,我打算使用它。唯一的事情是我们通过ClickOnce部署应用程序(而不是Windows安装程序包),因此我们不能合并安装文件。我认为,即使在软件安装之前安装了驱动程序,即使硬件未***入,它也应该工作。 但是,如果用户在之前插入它,而Windows错误地识别它,我以后如何在编程窗口强制使用正确的驱动程序呢? 以上来自于百度翻译 以下为原文 Thanks for your replies! I had a brief look to DIFX API and I'm planning tp use it. The only thing is that we deploy the application through ClickOnce (instead of a Windows Installer package) hence we cannot merge installation files. I suppose that it should work even if I install the driver at a later stage with respect to the software installation providing that the hardware is not plugged in before. But in case the user plug it in before and Windows recognizes it wrongly, how can I later on programmaticaly force Windows to uset the right driver? |
|
|
|
如果设备通过DIFX或DPNST插入到驱动程序的安装之前,驱动程序安装程序触发PNP硬件检测,并为匹配VID/PID的所有设备安装新的驱动程序。
如果你不想通过微软签署司机,你应该检查切换到WiUSB通用驱动程序。WINUSB可用于XP SP2上的所有Windows版本。它是由微软签署,并与Cypress芯片免费运行。如果你使用这个驱动程序,你可以在CAT文件上签名,只得到UAC的“你信任…”消息。在这个对话框中,您可以选择始终信任。一个完整的静默安装,特别是在64位机器上,只有通过完整的WHQL签名过程才是可能的。 以上来自于百度翻译 以下为原文 If the device is plugged in before the installtion of the driver via Difx or dpinst, the driver installer triggers the pnp hardware detection and installs the new driver for all devices matching the vid/pid. If you dont want to sign the driver via Microsoft you should check to switch to WinUSB generic driver. WinUSB is available for all Windows Versions from Xp SP2 on. It is signed by microsoft and works failure free with the Cypress chips. If you use the driver, you can sign the cat file and get only the "Would you trust..." Message from UAC. In this dialog you can choose to trust always. A complete silent install, especially on 64 bit machines is only possible going through the complete WHQL signing process. |
|
|
|
只有小组成员才能发言,加入小组>>
756个成员聚集在这个小组
加入小组2124 浏览 1 评论
1865 浏览 1 评论
3681 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1800 浏览 6 评论
1545 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
605浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
450浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
448浏览 2评论
400浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
1081浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-1-11 16:52 , Processed in 1.036668 second(s), Total 84, Slave 68 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号