Morning. I actually rebuilt my installer using this latest version of the inf and now the installer just craps out with an error code (that doesn’t get me anywhere). So, between that and the dpinst still telling me it cannot get the services, I’m still at a loss.
Here’s my inf, in its complete form at the moment:
[Version]
Signature = “$Windows NT$”
DriverPackageType = ClassFilter
ClassGuid = {0A796FFA-D294-4833-867A-E0DFD035152E}
Class = “ContentScreener”
Provider = %OSR%
DriverVer = 11/17/2006,1.0.0.0
[DestinationDirs]
DefaultDestDir = 12
OsrDmk.DriverFiles = 12 ;%windir%\system32\drivers;
OsrDmk.UserFiles = 10,FltMgr ;%windir%\FltMgr
OsrDs.DriverFiles = 12
;;
;; Source files
;;
[SourceDisksFiles]
OsrDt.sys = 5
OsrDsManager.sys = 5
OsrDmk.sys = 5
[SourceDisksNames]
5 = %Source-Disk-Name%
;;
;; Default install sections
;;
[DefaultInstall]
CopyINF = OsrDmk.UserFiles
CopyFiles = OsrDmk.DriverFiles, OsrDs.DriverFiles, OsrDt.DriverFiles
[DefaultInstall.Services]
AddService = OsrDmk,OsrDmk.Service
AddService = OsrDs,OsrDs.Service
AddService = OsrDt,OsrDt.Service
;;
;; Default uninstall sections
;;
[DefaultUninstall]
DelFiles = OsrDmk.DriverFiles, OsrDs.DriverFiles, OsrDt.DriverFiles
[DefaultUninstall.Services]
DelService = OsrDmk,0x204
DelService = OsrDs,0x204
DelService = OsrDt,0x204
;
; Services Section
;
[OsrDmk.Service]
DisplayName = “OSR Data Manipulation Kit - core services”
Description = “Osr Dmk - Core”
ServiceBinary = %12%\OsrDmk.sys ;%windir%\system32\drivers\OsrDmk.sys
ServiceType = 2 ;SERVICE_FILE_SYSTEM_DRIVER
StartType = 3 ;SERVICE_DEMAND_START
ErrorControl = 1 ;SERVICE_ERROR_NORMAL
LoadOrderGroup = “FSFilter Compression”
AddReg = OsrDmk.AddRegistry
Dependencies = FltMgr
[OsrDs.Service]
DisplayName = “DSmanager”
Description = “OSR DS SERVICE”
ServiceBinary = %12%\OsrDsManager.sys
ServiceType = 2 ;SERVICE_FILE_SYSTEM_DRIVER
StartType = 3 ;SERVICE_DEMAND_START
ErrorControl = 1 ;SERVICE_ERROR_NORMAL
LoadOrderGroup = “FSFilter Compression”
AddReg = OsrDs.AddRegistry
[OsrDt.Service]
DisplayName = “OSR Data Manipulation Kit - Dt services”
Description = “Osr Dmk - Dt”
ServiceBinary = %12%\OsrDt.sys ;%windir%\system32\drivers\OsrDt.sys
ServiceType = 2 ;SERVICE_FILE_SYSTEM_DRIVER
StartType = 3 ;SERVICE_DEMAND_START
ErrorControl = 1 ;SERVICE_ERROR_NORMAL
LoadOrderGroup = “FSFilter Compression”
AddReg = OsrDt.AddRegistry
Dependencies = FltMgr
;
; Registry Modifications
;
[OsrDmk.AddRegistry]
;
; Common stuff
;
HKR,“BreakOnEntry”,0x00010001, %BreakOnEntry%
HKR,“ThreadPrio”, 0x00010001, %ThreadPrio%
HKR,“RegisterAsFileSystem”, 0x00010001, %RegisterAsFileSystem%
HKR,“PolicyChangeThreads”, 0x00010001, %PolicyChangeThreads%
;
; Minifilter stuff
;
HKR,%RegInstancesSubkeyName%,%RegDefaultInstanceValueName%,0x00000000,%DefaultInstance%
HKR,%RegInstancesSubkeyName%“"%Instance1.Name%,%RegAltitudeValueName%,0x00000000,%Instance1.Altitude%
HKR,%RegInstancesSubkeyName%”"%Instance1.Name%,%RegFlagsValueName%,0x00010001,%Instance1.Flags%
;
; Specific Core Tuning
;
HKR,“DispatchThreads”, 0x00010001, %DispatchThreads%
[OsrDs.AddRegistry]
;
; Common stuff
;
HKR,“BreakOnEntry”,0x00010001, %BreakOnEntry%
;
; LFS Specific Stuff
;
HKR,“SpaceCleanerThreadPrio”, 0x00010001, %SpaceCleanerThreadPrio%
HKR,“SpaceCleanerThreads”, 0x00010001, %SpaceCleanerThreads%
HKR,“TimeCleanerThreadPrio”, 0x00010001, %TimeCleanerThreadPrio%
HKR,“TimeCleanerThreads”, 0x00010001, %TimeCleanerThreads%
HKR,“FlushThreadPrio”, 0x00010001, %FlushThreadPrio%
HKR,“FlushThreads”, 0x00010001, %FlushThreads%
HKR,“CleanOnClose”, 0x00010001, %CleanOnClose%
HKR,“ReadWriteCheck”, 0x00010001, %ReadWriteCheck%
;;HKR,“CheckpointCheck”, 0x00010001, %CheckPointCheck%
HKR,“CheckpointCheck”, 0x00010001, 0xFFFFFFFF
[OsrDt.AddRegistry]
;
; Common stuff
;
HKR,“BreakOnEntry”,0x00010001, %BreakOnEntry%
[OsrDmk.DriverFiles]
OsrDmk.sys
[OsrDmk.UserFiles]
Osrdmk.inf
[OsrDs.DriverFiles]
OsrDsManager.sys
[OsrDt.DriverFiles]
OsrDt.sys
;
; String Section
;
[Strings]
OSR = “OSR Open Systems Resources, Inc.”
Source-Disk-Name = “Osr Filter Install Disk”
;
; Common tuning
;
BreakOnEntry = 0
;
; CORE tuning
;
DispatchThreads = 4 ; per volume
ThreadPrio = 7
RegisterAsFileSystem = 1
PolicyChangeThreads = 3 ; per system
;
; DSLFS Tuning
;
FlushThreads = 3 ; per volume
FlushThreadPrio = 8 ; Same as usual prio
CleanOnClose = 1 ; TRUE by default
TimeCleanerThreadPrio = 6 ;
TimeCleanerThreads = 3 ; per volume
SpaceCleanerThreadPrio = 10 ;
SpaceCleanerThreads = 2 ; per volume
ReadWriteCheck = 0 ; FALSE (not for customer deployment)
;;CheckPointCheck = 0xFFFFFFFF
;Instances specific information.
RegInstancesSubkeyName = “Instances”
RegDefaultInstanceValueName = “DefaultInstance”
RegAltitudeValueName = “Altitude”
RegFlagsValueName = “Flags”
DefaultInstance = “OsrDmk Instance”
Instance1.Name = “OsrDmk Instance”
Instance1.Altitude = “10250”
Instance1.Flags = 0x1 ; Suppress automatic atl Disk"
---- Original ----
No, it still won’t install using Dpinst. I’ve tried the following options, but it still won’t install:
dpinst /lm /c /q
dpinst /c /q
obviously leaving out the /lm I get the error “there is no catalogue file” which I expect. With the /lm, I still get the same error: “could not get services associated with driver package” along with the error “Preinstall is not a supported operation for driver type 5” Keep in mind that I added the DriverPackageType. I have no idea if its correct or not. I know our driver is a file system filter driver, but outside of that, I’m not really sure about what the install is really supposed to be, other than the rundll install works properly…