1.inf文件如何安装
1、右键单击“计算机”以打开“属性”,然后单击左上角的“设备管理器”。
2、右键单击计算机名称。出现“扫描硬件更改”和“添加过时的硬件”,我们点击“添加过时的硬件”。
3、单击“下一步”,出现两个单选按钮,然后选择第二个“安装我从列表中手动选择的硬件(高级)”。
4、单击“下一步”,默认情况下会选择第一个,我们不必移动到单击“下一步”。
5、我们点击右下角的“从磁盘安装”。
6、出现路径选择,我们找到下载的inf文件。单击以选中inf文件,然后单击“确定”。
7、单击“确定”,然后单击“下一步”“下一步”计算机开始安装。
8、单击“确定”直到结束。我们的inf已安装。
2.如何安装inf文件(不用右键)VB实现或者CMD都可以
看MSDN的解释吧,Right-Click Install To execute the DefaultInstall and DefaultInstall.Services sections of your INF file, you should do the following: In Windows Explorer, right-click on the INF file name. A shortcut menu will appear. Click Install. Note The shortcut menu appears only if the INF file contains a DefaultInstall section. Command-Line or Batch File Install To execute the DefaultInstall and DefaultInstall.Services sections of your INF file on the command line or by using a batch file installation, type the following command at the command prompt, or create and run a batch file that contains this command: RUNDLL32.EXE SETUPAPI.DLL,InstallHinfSection DefaultInstall 132 C:\WINDOWS\INF\SHELL.INF"Rundll32" and "InstallHinfSection" are described in the Tools and Setup and System Administration sections, respectively, of the Platform SDK documentation. Setup Application InstallHinfSection can also be called from a setup application, as shown in the following code example: InstallHinfSection(NULL,NULL,TEXT("DefaultInstall 132 path-to-inf\infname.inf"),0); If you use a setup application to install your driver, observe the following guidelines: To prepare for eventual uninstall, the setup application should copy the driver INF file to an uninstall directory. If the setup application installs a user-mode application with the driver, this application should be listed in Add or Remove Programs in Control Panel so that the user can uninstall it if desired. Only one item should be listed, representing both the application and the driver. For more information about how to list your application in Add or Remove Programs, see "Removing an Application" in the Setup and System Administration section of the Platform SDK documentation. Setup applications should never copy driver INF files to the Windows INF file directory (%windir%\INF). SetupAPI does copies these files automatically as part of the InstallHinfSection call.。
3.inf文件绿色版驱动程序怎么安装
右击“计算机”打开“属性”再点击左上角的“设备管理器”。
看到如图。右击计算机名。出现“扫描检测硬件更改”和“添加过时硬件”我们单击“添加过时硬件”
单击下一步,出现两个单选框,我们选择第二个“安装我手动从列表选择的硬件(高级)”
单击下一步,默认选择了第一个,我们不用动在单击下一步。
我们单击右下角的“从磁盘安装”。出现一个路径选择,我们找到下载好的inf文件。单击选择inf文件再“确定”。
回到上一张图,点击“确定”,再点击“下一步”“下一步”计算机开始安装。直到结束单击“确定”。我们的inf就安装好了。
转载请注明出处windows之家 » win10里inf文件怎么安装