Author Topic: inf file choosing floppy  (Read 846 times)

Guest_darren_*

  • Guest
inf file choosing floppy
« on: June 29, 2005, 09:02:29 AM »
i have this inf file:
Code: [Select]
; NETxbNDS.INF
;

[version]
Signature  = "$Windows NT$"
Class=Net
ClassGUID  = {4d36e972-e325-11ce-bfc1-08002be10318}
provider=%V_NS%
DriverVer=04/05/2000,1.00.0.0

;****************************************************************************
; Localizable Strings
;****************************************************************************
[strings]
; Provider
NS="NS"
; Manufacturers
; PNP Devices
xbmobile.DeviceDesc="xbMobile dial-up adapter"
xbmobile_HELP="This Adapter lets your computer connect to a ns box using BBMP (ns Block Mode Protocol)."
xbmobile.Service.DispName   = "xbMobile dial-up adapter"
xbrasser.Service.DispName    = "xbMobile RAS Service"
xbrasser.DeviceDesc          = "xbMobile RAS Service"
DiskDesc1 = "xbMobile dial-up adapter Disk"
;****************************************************************************

[Manufacturer]
%V_NS%=xbmobile

[xbmobile]
%xbmobile.DeviceDesc%=xbmobile.ndi, xbmobile;xbmobile dial-up adapter

;****************************************************************************
; xbmobile
;****************************************************************************
[xbmobile.ndi]
AddReg=xbmobile.ndi.reg, xbmobile.staticparams.reg
Characteristics = 0x1001   ; NCF_DONTEXPOSELOWER+NCF_VIRTUAL
CopyFiles = xbMobile_CopyFiles_Sys, xbMobile_CopyFiles_DLL, xbMobile_CopyExeFiles, xbMobile.CopyHelp

[xbmobile.ndi.Services]
AddService      = xbmobile, 0x00000002, xbmobile.service, common.EventLog
AddService      = xbrasser, 0, xbrasser.service, common.EventLog

[xbmobile.service]
DisplayName     = %xbmobile.Service.DispName%
ServiceType     = 1;%SERVICE_KERNEL_DRIVER%
StartType       = 2;%SERVICE_AUTO_START%
ErrorControl    = 1;%SERVICE_ERROR_NORMAL%
ServiceBinary   = %12%\xbmobile.sys
Description     = %xbmobile.DeviceDesc%
LoadOrderGroup  = NDIS


[xbrasser.service]
DisplayName     = %xbrasser.Service.DispName%
ServiceType     = 0x0110   ;SERVICE_INTERACTIVE_PROCESS | SERVICE_WIN32
StartType       = 3;%SERVICE_DEMAND_START%
ErrorControl    = 1;%SERVICE_ERROR_NORMAL%
ServiceBinary   = %11%\xbrasser.exe
Description     = %xbrasser.DeviceDesc%
LoadOrderGroup  = NDIS

[common.EventLog]
AddReg = common.AddEventLog.reg

[common.AddEventLog.reg]
HKR, ,EventMessageFile, 0x00020000, %%SystemRoot%%\System32\netevent.dll
HKR, ,TypesSupported,   0x00010001, 7

[xbmobile.ndi.reg]
HKR, , IsxbSwitchTypes,      0x10001, "0x01"  ; ISxb_SWITCH_AUTO
HKR, , IsxbAutoSwitchDetect, 0x10001, "0"
HKR, , IsxbNumDChannels,     0x10001, "1"
HKR, , WanEndPoints,         0x10001, "1"
HKR, 0, IsxbNumBChannels,     0x10001, "1"
HKR,Ndi,Service,    0, "xbmobile"
HKR, Ndi\Interfaces, UpperRange, , "ndiswan"
HKR, Ndi\Interfaces, LowerRange, , "nolower"
HKR, Ndi,HelpText,,%xbmobile_HELP%

[xbmobile.staticparams.reg]
HKR, Parameters, ServiceName,   0,      "xbmobile"
HKR, Parameters, seed,          0,      "BSEED"
HKR, Parameters, RIPTableLen,   0x10001,512

[xbMobile_CopyFiles_Sys]
xbmobile.sys,,,0

[xbMobile_CopyFiles_DLL]
smmbbmp.dll,,,0
xbdlg32.dll,,,0
xbrasedt.dll,,,0
xbcustom.dll,,,0
sdos32.dll,,,0
smwin16.dll,,,0
smwin32.dll,,,0
w32gcr40.dll,,,0
python23.dll,,,0
xbmobile.dll,,,0


;should not copy inf's
;[xbMobile.CopyFiles.Inf]
;netxbmob.inf

[xbMobile_CopyExeFiles]
xbndscfg.exe,,,0
xbwst32.exe,,,0
xbrasser.exe,,,0
xbndscfg.ini,,,0
;xbtrview.exe,,,0

[xbMobile_CopyHelp]
xbndscfg.hlp,,,0

[SourceDisksNames]
;<disk lable>=<disk desc>,<disk label>,
2 =%DiskDesc1%,c:\Program Files\xbMobile\file.tag,,C:\Program files\xbMobile
;2 =%DiskDesc1%,,,C:\Program files\xbMobile
;2 = "Hard Drive",,

[SourceDisksFiles]
xbmobile.sys=2,,
smmbbmp.dll=2,,
xbdlg32.dll=2,,
xbrasedt.dll=2,,
xbcustom.dll=2,,
sdos32.dll=2,,
smwin16.dll=2,,
smwin32.dll=2,,
w32gcr40.dll=2,,
python23.dll=2,,
xbmobile.dll=2,,
xbndscfg.exe=2,,
xbndscfg.ini=2,,
xbwst32.exe=2,,
xbrasser.exe=2,,
xbndscfg.hlp=2,,

;****************************************************************************
; Destination Directories
;****************************************************************************
[DestinationDirs]
DefaultDestDir              = 11   ; LDID_SYS
xbMobile_CopyFiles_Sys      = 12   ; LDID_SYSTEM32_DRIVERS (Win NT 5.0)
xbMobile_CopyFiles_DLL      = 11   ; LDID_SYS, %windir%\System32
xbMobile_CopyExeFiles       = 11   ; LDID_SYS
xbMobile_CopyHelp           = 18   ; LDID_HELP

but when it runs with setup it tries to get the files from the floppy drive.....
any ideas y?

regards
Darren