中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-09-15 12:31
47,812 topics / 349,917 posts / today 0 new / 48,268 members
DOS批处理 & 脚本技术(批处理室) » [Solved] How to install INF files with batch processing? (Is what I wrote like this correct?)
Printable Version  3,018 / 9
Floor1 eech Posted 2007-03-15 22:07
高级用户 Posts 346 Credits 906
```
rundll32 syssetup,SetupInfObjectInstallAction DefaultInstall SearchText.inf
```
Please give experts advice!

[ Last edited by HAT on 2008-11-14 at 20:06 ]
Floor2 lxmxn Posted 2007-03-16 00:05
版主 Posts 4,938 Credits 11,386
  Try this?
Floor3 eech Posted 2007-03-16 00:11
高级用户 Posts 346 Credits 906
Thanks to lxmxn, the batch script you provided seems installable. (Absolute path should be used) But there is no installation progress bar. Also, it doesn't work. I don't know why. When right - clicked to install, there is a progress bar and it works.

[ Last edited by eech on 2007 - 3 - 16 at 12:15 AM ]
Floor4 eech Posted 2007-03-16 00:13
高级用户 Posts 346 Credits 906
Which expert will try with my attachment
Floor5 lxmxn Posted 2007-03-16 00:19
版主 Posts 4,938 Credits 11,386

  Which right-click menu does the inf you mentioned add functionality to? I installed it successfully, but it doesn't work.
Floor6 eech Posted 2007-03-16 00:38
高级用户 Posts 346 Credits 906
Floor7 zouzhxi Posted 2007-03-16 04:49
中级用户 Posts 177 Credits 430 From 广东深圳
RUNDLL32.EXE SETUPAPI.DLL,InstallHinfSection DefaultInstall 128 .\SearchText.inf
Floor8 eech Posted 2007-03-16 07:54
高级用户 Posts 346 Credits 906
Friend on floor 7, thank you. It works
Floor9 zouzhxi Posted 2007-03-17 00:28
中级用户 Posts 177 Credits 430 From 广东深圳
128 indicates the given path. For other values of this parameter and their meanings, please refer to MSDN.
Special note: The last parameter must be the full path of the inf file, and do not use a relative path.
Floor10 yaxixingye Posted 2008-11-14 17:13
新手上路 Posts 8 Credits 15
The one on the 7th floor is easy to use. Thanks.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023