-
-
[旧帖] 这个INF为什么用NSIS安装不了,会的进来帮帮忙! 0.00雪花
-
发表于: 2010-12-14 21:04 2834
-
我用了NSIS:
ExecWait "RunDll32 advpack.dll,LaunchINFSection SETUP.inf,ANTTB_DDI.NT"
这个注册不了驱动啊,有朋友会吗?帮一下忙,谢谢
我在SETUP.INF右键安装,也安装不了。
我把ANTTB_DDI.NT改成DefaultInstall 右键安装,也安装不了。
唯独在设备管理器里才可安装,到底是怎么回事?有朋友能解决不?
SETUP.INF肉容如下:
[Version]
Signature = $CHICAGO$
Provider = %MfgName%
DriverVer = 2/2/2004, 6.0.1
Class = "NC Adaptor"
ClassGUID ={C2536D9E-2DDE-4462-B43D-887F1BD60CB3}
[Manufacturer]
%MfgName% = MSCO.Mfg
[MSCO.Mfg]
%DeviceDesc% = ANTTB_DDI, PCI\VEN_4348DEV_5049&REV_10
[SourceDisksNames]
1 = %InstallDisk%,"",1
[SourceDisksFiles]
C6AB.SYS = 1
[DestinationDirs]
ANTTB_CopyFiles = 10,System32\Drivers
; 9X Style
[ClassInstall]
Addreg=Class_AddReg
; NT Style
[ClassInstall32]
Addreg=Class_AddReg
[Class_AddReg]
HKR,,,,%DeviceClassName%
HKR,,Icon,,"-5"
[ANTTB_DDI]
CopyFiles = ANTTB_CopyFiles
AddReg = AddReg_9X
[AddReg_9X]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,C6AB.SYS
HKR,,ErrorLogLevel,0x00010003,2
[ANTTB_DDI.NT]
CopyFiles=ANTTB_CopyFiles
AddReg=ANTTB_AddReg_NT
[ANTTB_DDI.NT.Services]
Addservice = ANTTB, 0x00000002, ANTTB_AddService
[ANTTB_AddService]
DisplayName = %SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %10%\System32\Drivers\C6AB.SYS
[ANTTB_AddReg_NT]
HKLM, "System\CurrentControlSet\Services\ANTTB\Parameters",\
"BreakOnEntry", 0x00010001, 0
HKLM, "System\CurrentControlSet\Services\ANTTB\Parameters",\
"InitValue", 0x00010001, 0x0000
[ANTTB_CopyFiles]
C6AB.SYS
[Strings]
ProviderName="ABC有限公司"
MfgName="ABC有限公司"
DeviceDesc="ABCCDD"
SvcDesc="ABCCDD"
InstallDisk="ABCCDD"
DeviceClassName="ABCCDD"
ExecWait "RunDll32 advpack.dll,LaunchINFSection SETUP.inf,ANTTB_DDI.NT"
这个注册不了驱动啊,有朋友会吗?帮一下忙,谢谢
我在SETUP.INF右键安装,也安装不了。
我把ANTTB_DDI.NT改成DefaultInstall 右键安装,也安装不了。
唯独在设备管理器里才可安装,到底是怎么回事?有朋友能解决不?
SETUP.INF肉容如下:
[Version]
Signature = $CHICAGO$
Provider = %MfgName%
DriverVer = 2/2/2004, 6.0.1
Class = "NC Adaptor"
ClassGUID ={C2536D9E-2DDE-4462-B43D-887F1BD60CB3}
[Manufacturer]
%MfgName% = MSCO.Mfg
[MSCO.Mfg]
%DeviceDesc% = ANTTB_DDI, PCI\VEN_4348DEV_5049&REV_10
[SourceDisksNames]
1 = %InstallDisk%,"",1
[SourceDisksFiles]
C6AB.SYS = 1
[DestinationDirs]
ANTTB_CopyFiles = 10,System32\Drivers
; 9X Style
[ClassInstall]
Addreg=Class_AddReg
; NT Style
[ClassInstall32]
Addreg=Class_AddReg
[Class_AddReg]
HKR,,,,%DeviceClassName%
HKR,,Icon,,"-5"
[ANTTB_DDI]
CopyFiles = ANTTB_CopyFiles
AddReg = AddReg_9X
[AddReg_9X]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,C6AB.SYS
HKR,,ErrorLogLevel,0x00010003,2
[ANTTB_DDI.NT]
CopyFiles=ANTTB_CopyFiles
AddReg=ANTTB_AddReg_NT
[ANTTB_DDI.NT.Services]
Addservice = ANTTB, 0x00000002, ANTTB_AddService
[ANTTB_AddService]
DisplayName = %SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %10%\System32\Drivers\C6AB.SYS
[ANTTB_AddReg_NT]
HKLM, "System\CurrentControlSet\Services\ANTTB\Parameters",\
"BreakOnEntry", 0x00010001, 0
HKLM, "System\CurrentControlSet\Services\ANTTB\Parameters",\
"InitValue", 0x00010001, 0x0000
[ANTTB_CopyFiles]
C6AB.SYS
[Strings]
ProviderName="ABC有限公司"
MfgName="ABC有限公司"
DeviceDesc="ABCCDD"
SvcDesc="ABCCDD"
InstallDisk="ABCCDD"
DeviceClassName="ABCCDD"
[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课
赞赏
他的文章
- 这个INF为什么用NSIS安装不了,会的进来帮帮忙! 2835
- 那位朋友能用OD跟踪一个软件?上传软件了 2810
- 有朋友知道=后面的值是怎么算出来的? 3292
- [求助]有朋友能把这个程序的自校验去掉吗?还没有解决! 4368
- [求助]脱壳中遇的问题!请教各位兄弟! 3727
看原图
赞赏
雪币:
留言: