locked
Install 64 bit driver on Windows 2008 Server R2 RRS feed

  • Question

  • Hello. I am not sure if this is the correct place to post this, so I am sorry if I didn't post in the correct location. I am trying to update my 32-bit driver to a 64-bit driver and when i install the driver I get the following errors.

    Windows found driver software for your device but encountered an error while attempting to install it.  A system cannot find the file specified.

    Here is my inf file, I also attached the last part of the setup log file for your reference.  It seems like it is trying to find SerIngBr.sys under C:\Windows\System32\DriverStore\FileRepository\seringbr.inf_amd64_neutral_ccf5acf49e2d93d5, but i only have SerIngBr.inf and SerIngBr.pnf files in the folder.

    So, can anyone tell me what is wrong with my inf file?  Am i suppose to have a .sys file under that driverstore\FileRepository folder?  If so, how should i modify the inf file to do so?  If not, how can i fix the problem?

    Aside from this, my current inf is not properly decorated for 64-bit, can anyone tell me what am i missing?  I have to disable this using the DisableDecoratedModelsRequirements registry for now.

    Thank you so much for the help.

    [Version]
    Signature="$Windows NT$"
    Class=SerIngBr
    ClassGUID={317FBFB9-F3D9-44C8-9AD0-0CC72FD9DB5A}
    Provider=%SerIngBr.Provider%
    DriverVer=05/13/2010,3.0.0.1  ; Modify date to match SerIngBr.sys as it changes.
    ;CatalogFile=SerIngBr.cat

    [Manufacturer]
    %SerIngBr.Manufacturer%=SerIngBr.NTamd64
         
    [ClassInstall32]
    AddReg=SerIngBr.AddClassReg.NTAMD64

    [SerIngBr.NTamd64]
    %SerIngBr.DeviceDesc%=SerIngBr.INSTALL.NTAMD64, PCI\VEN_10B5&DEV_5406
    %SerIngBr.DeviceDesc%=SerIngBr.INSTALL.NTAMD64, PCI\VEN_10B5&DEV_9601
    %SerIngBr.DeviceDesc%=SerIngBr.INSTALL.NTAMD64, PCI\VEN_10B5&DEV_86E1

    [ControlFlags]
    ExcludeFromSelect=PCI\VEN_10B5&DEV_5406, PCI\VEN_10B5&DEV_5406
    [SourceDisksNames]
    1=%SerIngBr.DriverDiskName%,,drivers\SerIngBrd\Install\amd64,,

    [SourceDisksFiles]
    SerIngBr.sys=1
         
    [DestinationDirs]
    DefaultDestDir = 10,system32\drivers ; WINDOWS\SYSTEM32\DRIVERS
    SerIngBr.CopyFiles.NTamd64 = 10,system32\drivers ; WINDOWS\SYSTEM32\DRIVERS
         
    [SerIngBr.INSTALL.NTamd64]
    DriverVer=05/13/2010,3.0.0.1 ; Modify date to match SerIngBr.sys as it changes.
    CopyFiles=SerIngBr.CopyFiles.NTamd64
    AddReg=SerIngBr.AddRegLoader.NTAMD64
         
    [SerIngBr.AddClassReg.NTamd64]
    HKR,,,,%SerIngBr.ClassName%

    [SerIngBr.AddRegLoader.NTamd64]
    HKR,,DevLoader,,*ntkern
    HKR,,NTMPDriver,,SerIngBr.sys

    [SerIngBr.AddReg.NTamd64]
    HKR,Parameters,DefaultTimeoutInSeconds,0x00010001,0x2 ; the default timeout is 2 seconds.
    HKR,Parameters,LoggingLevel,0x00010001,0x1 ; Indicates how much will be logged. 3 means only log errors

    [SerIngBr.INSTALL.NTamd64.Services]
    AddService = SerIngBr,0x00000002,SerIngBr_Service_Inst.NTAMD64,SerIngBr_EventLog_Inst.NTAMD64

    [SerIngBr_Service_Inst.NTamd64]
    ServiceType     = 1 ;%SERVICE_KERNEL_DRIVER%
    StartType       = 3 ;%SERVICE_DEMAND_START%
    ErrorControl    = 1 ;%SERVICE_ERROR_NORMAL%
    ServiceBinary   = %12%/SerIngBr.sys
    DisplayName     = %SerIngBr.DeviceDesc%
    AddReg=SerIngBr.AddReg.NTAMD64

    [SerIngBr_EventLog_Inst.NTamd64]
    AddReg=SerIngBr.AddEventLogReg.NTAMD64

    [SerIngBr.AddEventLogReg.NTamd64]
    HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\SerIngBr.sys"
    HKR,,TypesSupported,0x00010001,7

    [SerIngBr.CopyFiles.NTamd64]
    SerIngBr.sys


    ;---------------------------------------------------------------;
         
    [Strings]
    SerIngBr.Provider="MDA"
    SerIngBr.Manufacturer="MDA"
    SerIngBr.DeviceDesc="DAS SIB"
    SerIngBr.ClassName="SIB"
    SerIngBr.DriverDiskName="DAS Installation CD"

    Setupapi.dev.log under C:\WINDOWS\inf

         dvi:                {DIF_INSTALLDEVICEFILES} 10:49:03.086
         dvi:                     No class installer for 'DAS Serial Interface Board'
         dvi:                     Default installer: Enter 10:49:03.086
         dvi:                          {Install FILES}
         inf:                               Opened PNF: 'c:\windows\system32\driverstore\filerepository\seringbr.inf_amd64_neutral_ccf5acf49e2d93d5\seringbr.inf' ([strings])
         inf:                               {Install Inf Section [SerIngBr.INSTALL.NTAMD64]}
         inf:                                    CopyFiles=SerIngBr.CopyFiles.NTamd64  (seringbr.inf line 61)
         cpy:                                    Open PnpLockdownPolicy: Err=2. This is OK. Use LockDownPolicyDefault
         flq:                                    QueueSingleCopy...
         flq:                                    Inf     : 'c:\windows\system32\driverstore\filerepository\seringbr.inf_amd64_neutral_ccf5acf49e2d93d5\seringbr.inf'
         flq:                                    SourceInf: 'c:\windows\system32\driverstore\filerepository\seringbr.inf_amd64_neutral_ccf5acf49e2d93d5\seringbr.inf'
         flq:                                    SourceSection: [sourcedisksfiles]
         flq:                                    Source root path based on SourceInf
         flq:                                    SourceRootPath: 'C:\Windows\System32\DriverStore\FileRepository\seringbr.inf_amd64_neutral_ccf5acf49e2d93d5'
         flq:                                    {FILE_QUEUE_COPY}
         flq:                                         CopyStyle      - 0x00000000
         flq:                                         {FILE_QUEUE_COPY}
         flq:                                              CopyStyle      - 0x00000000
         flq:                                              SourceRootPath - 'C:\Windows\System32\DriverStore\FileRepository\seringbr.inf_amd64_neutral_ccf5acf49e2d93d5'
         flq:                                              SourceFilename - 'SerIngBr.sys'
         flq:                                              TargetDirectory- 'C:\Windows\system32\drivers'
         flq:                                              TargetFilename - 'SerIngBr.sys'
         flq:                                              SourceDesc     - 'Direct Archive System Installation CD'
         flq:                                         {FILE_QUEUE_COPY exit(0x00000000)}
         flq:                                    {FILE_QUEUE_COPY exit(0x00000000)}
         inf:                               {Install Inf Section [SerIngBr.INSTALL.NTAMD64] exit (0x00000000)}
         dvi:                               Processing co-installer registration section [SerIngBr.INSTALL.NTAMD64.CoInstallers].
         inf:                               {Install Inf Section [SerIngBr.INSTALL.NTAMD64.CoInstallers]}
         inf:                               {Install Inf Section [SerIngBr.INSTALL.NTAMD64.CoInstallers] exit (0x00000000)}
         dvi:                               Co-installers registered.
         dvi:                               {Install INTERFACES}
         dvi:                                    Installing section [SerIngBr.INSTALL.NTAMD64.Interfaces]
         dvi:                               {Install INTERFACES exit 00000000}
         dvi:                          {Install FILES exit (0x00000000)}
         dvi:                     Default installer: Exit
         dvi:                {DIF_INSTALLDEVICEFILES - exit(0x00000000)} 10:49:03.092
         ndv:                Pruning file queue...
         dvi:                {_SCAN_FILE_QUEUE}
         flq:                     ScanQ flags=620
         flq:                          SPQ_SCAN_PRUNE_COPY_QUEUE
         flq:                          SPQ_SCAN_FILE_COMPARISON
         flq:                          SPQ_SCAN_ACTIVATE_DRP
         flq:                     ScanQ number of copy nodes=1
    !    sig:                     GetNameSDInfo
    !    sig:                     Error 0: The operation completed successfully.
         flq:                     ScanQ action=200 DoPruning=32
         flq:                     ScanQ end Validity flags=620 CopyNodes=1
         dvi:                {_SCAN_FILE_QUEUE exit(0, 0x00000000)}
         ndv:                Committing file queue...
         flq:                {_commit_file_queue}
         flq:                     CommitQ DelNodes=0 RenNodes=0 CopyNodes=1
         flq:                     {SPFILENOTIFY_STARTQUEUE}
         flq:                     {SPFILENOTIFY_STARTQUEUE - exit(0x00000001)}
         flq:                     {_commit_copy_subqueue}
         flq:                          subqueue count=1
         flq:                          {SPFILENOTIFY_STARTSUBQUEUE}
         flq:                          {SPFILENOTIFY_STARTSUBQUEUE - exit(0x00000001)}
         flq:                          source media:
         flq:                               Description  - [Direct Archive System Installation CD]
         flq:                               SourcePath   - [C:\Windows\System32\DriverStore\FileRepository\seringbr.inf_amd64_neutral_ccf5acf49e2d93d5]
         flq:                               SourceFile   - [SerIngBr.sys]
         flq:                               Flags        - 0x00000000
         flq:                          {SPFQNOTIFY_NEEDMEDIA}
         flq:                               {SPFILENOTIFY_NEEDMEDIA}
         flq:                               {SPFILENOTIFY_NEEDMEDIA - exit(0x00000000)}
         flq:                          {SPFQNOTIFY_NEEDMEDIA - returned 0x00000000}
    !!!  flq:                          source media: SPFQOPERATION_ABORT.
    !!!  flq:                          Error 2: The system cannot find the file specified.
         flq:                     {_commit_copy_subqueue exit(0x00000002)}
    !!!  flq:                     FileQueueCommit aborting!
    !!!  flq:                     Error 2: The system cannot find the file specified.
         flq:                     {SPFILENOTIFY_ENDQUEUE}
         flq:                     {SPFILENOTIFY_ENDQUEUE - exit(0x00000001)}
         flq:                {_commit_file_queue exit(0x00000002)}
         ndv:                Device install status=0x00000002
         ndv:                Performing device install final cleanup...
    !    ndv:                Queueing up error report since device installation failed...
         ndv:           {Core Device Install - exit(0x00000002)} 10:49:03.099
         ump:           Server install process exited with code 0x00000002 10:49:03.101
         ump:      {Plug and Play Service: Device Install exit(00000002)}
         ndv:      Device Install failed for new device...installing NULL driver.
         dvi:      {Plug and Play Service: Device Install for PCI\VEN_10B5&DEV_86E1&SUBSYS_831110B5&REV_AA\5&5B2D1C6&0&200018}
         ump:           Creating Install Process: DrvInst.exe 10:49:03.107
    !    ndv:           Installing NULL driver!
         dvi:           Set selected driver complete.
         dvi:           {DIF_ALLOW_INSTALL} 10:49:03.112
         dvi:                No class installer for 'Other PCI Bridge Device'
         dvi:                No CoInstallers found
         dvi:                Default installer: Enter 10:49:03.113
         dvi:                Default installer: Exit
         dvi:           {DIF_ALLOW_INSTALL - exit(0xe000020e)} 10:49:03.114
         dvi:           {DIF_INSTALLDEVICE} 10:49:03.114
         dvi:                No class installer for 'Other PCI Bridge Device'
         dvi:                Default installer: Enter 10:49:03.114
    !    dvi:                     Installing NULL driver!
         dvi:                     Writing common driver property settings.
         dvi:                     {Restarting Devices} 10:49:03.122
         dvi:                          Restart: PCI\VEN_10B5&DEV_86E1&SUBSYS_831110B5&REV_AA\5&5B2D1C6&0&200018
         dvi:                          Restart complete.
         dvi:                     {Restarting Devices exit} 10:49:03.126
         dvi:                Default installer: Exit
         dvi:           {DIF_INSTALLDEVICE - exit(0x00000000)} 10:49:03.127
         ump:           Server install process exited with code 0x00000000 10:49:03.129
         ump:      {Plug and Play Service: Device Install exit(00000000)}
         ndv: {Update Driver Software Wizard exit(00000002)}
    <<<  Section end 2010/05/19 10:49:04.744
    <<<  [Exit status: FAILURE(0x00000002)]

    Wednesday, May 19, 2010 6:20 PM

All replies

  • This is not the proper forum for this question.  You should repost to http://social.msdn.microsoft.com/Forums/en-US/windowsgeneraldevelopmentissues/threads.

    To answer one of your questions, yes the file repository should have a copy of the .sys in it.

    If you are maintaining both a x86 and x64 driver, then you should create a single .inx file:
    http://msdn.microsoft.com/en-us/library/ff545473(VS.85).aspx

    sample inx:

    ;///////////////////////////////////////////////////////////////////////////////
    ;//
    ;//  Copyright (c) 2010 Microsoft Corporation
    ;//
    ;//  Module Name:
    ;//   WFPSamplerCalloutDriver.Inf
    ;//
    ;//  Abstract:
    ;//   INF file for installing the WFPSampler callout driver.
    ;//
    ;//  Author:
    ;//   Dusty Harper   (DHarper)
    ;//
    ;//  Revision History:
    ;//
    ;//   [ Month ][Day] [Year] - [Revision]-[ Comments ]
    ;//   April   01,  2010 -  0.0.0.1 - Creation
    ;//
    ;///////////////////////////////////////////////////////////////////////////////
    
    [Version]
      Signature  = "$Windows NT$"
      Class    = WFPCALLOUTS
      ClassGuid  = {57465043-616C-6C6F-7574-5F636C617373}
      Provider  = %Msft%
      CatalogFile = 
      DriverVer  = 
    
    [Manufacturer]
    %StdMfg% = Microsoft,NT$ARCH$
    
    [SourceDisksNames.$ARCH$]
      1 = %WFPSamplerDiskId%,,,""
    
    [SourceDisksFiles.$ARCH$]
      WFPSampler.sys = 1,,
    
    [ClassInstall32.nt$ARCH$]
      AddReg = WFPCalloutsClassReg
    
    [DestinationDirs]
      DefaultDestDir     = 12               ;/// %WinDir%\System32\Drivers
      WFPSampler.DriverFiles = 12               ;/// %WinDir%\System32\Drivers
    
    [DefaultInstall.nt$ARCH$]
      OptionDesc = %WFPSamplerDescription%
      CopyFiles = WFPSampler.DriverFiles
    
    [DefaultInstall.nt$ARCH$.Services]
      AddService = %WFPSamplerServiceName%,,WFPSampler.Service
    
    [DefaultUninstall.nt$ARCH$]
      DelFiles = WFPSampler.DriverFiles
    
    [DefaultUninstall.nt$ARCH$.Services]
      DelService = WFPSampler,0x200              ;/// SPSVCINST_STOPSERVICE
    
    [WFPCalloutClassReg]
      HKR,,,0,%WFPCalloutClassName%
      HKR,,Icon,,-5
      HKR,,DeviceCharacteristics,0x10001,0x100         ;/// FILE_DEVICE_SECURE_OPEN, FILE_DEVICE_SECURE_OPEN
      HKR,,Security,,"D:P(A;;GA;;;SY)(A;;GA;;;BA)(A;;GA;;;LS)" ;/// Permit Generic All access to SYstem, Built-in Admin, and Local System.
    
    [WFPSampler.DriverFiles]
      WFPSamplerCalloutDriver.sys,,,0x00000040         ;/// COPYFLG_OVERWRITE_OLDER_ONLY
    
    [WFPSampler.Service]
      DisplayName  = %WFPSamplerServiceName%
      Description  = %WFPSamplerServiceDescription%
      ServiceType  = 1                    ;/// SERVICE_KERNEL_DRIVER
      StartType   = 2                    ;/// SERVICE_AUTO_START
      ErrorControl = 1                    ;/// SERVICE_ERROR_NORMAL
      ServiceBinary = %12%\WFPSamplerCalloutDriver.sys     ;/// %WinDir%\System32\Drivers\WFPSamplerCalloutDriver.sys
      Dependencies = BFE
    
    [Strings]
      Msft             = "Microsoft Corporation"
      StdMfg            = "Network Filtering Devices"
      WFPCalloutClassName     = "WFP Callout"
      WFPSamplerDeviceDescription = "WFP Sampler Callout Device"
      WFPSamplerDescription    = "WFP Sampler Callout Driver"
      WFPSamplerServiceName    = "WFPSamplerCallouts"
      WFPSamplerServiceDescription = "WFP Sampler Service - Callouts"
      WFPSamplerRegistry      = "System\CurrentControlSet\Services\WFPSamplerCallouts"
      WFPSamplerDiskId       = "WFPSampler Installation Disk"
    

    Results:

    ;///////////////////////////////////////////////////////////////////////////////
    ;//
    ;//  Copyright (c) 2010 Microsoft Corporation
    ;//
    ;//  Module Name:
    ;//   WFPSamplerCalloutDriver.Inf
    ;//
    ;//  Abstract:
    ;//   INF file for installing the WFPSampler callout driver.
    ;//
    ;//  Author:
    ;//   Dusty Harper   (DHarper)
    ;//
    ;//  Revision History:
    ;//
    ;//   [ Month ][Day] [Year] - [Revision]-[ Comments ]
    ;//   April   01,  2010 -  0.0.0.1 - Creation
    ;//
    ;///////////////////////////////////////////////////////////////////////////////
    
    [Version]
      Signature  = "$Windows NT$"
      Class    = WFPCALLOUTS
      ClassGuid  = {57465043-616C-6C6F-7574-5F636C617373}
      Provider  = %Msft%
      CatalogFile=WFPSamplerCalloutDriver.Cat
      DriverVer=05/18/2010,6.1.7753.0
    
    [Manufacturer]
    %StdMfg% = Microsoft,NTamd64
    
    [SourceDisksNames.amd64]
      1 = %WFPSamplerDiskId%,,,""
    
    [SourceDisksFiles.amd64]
      WFPSampler.sys = 1,,
    
    [ClassInstall32.ntamd64]
      AddReg = WFPCalloutsClassReg
    
    [DestinationDirs]
      DefaultDestDir     = 12               ;/// %WinDir%\System32\Drivers
      WFPSampler.DriverFiles = 12               ;/// %WinDir%\System32\Drivers
    
    [DefaultInstall.ntamd64]
      OptionDesc = %WFPSamplerDescription%
      CopyFiles = WFPSampler.DriverFiles
    
    [DefaultInstall.ntamd64.Services]
      AddService = %WFPSamplerServiceName%,,WFPSampler.Service
    
    [DefaultUninstall.ntamd64]
      DelFiles = WFPSampler.DriverFiles
    
    [DefaultUninstall.ntamd64.Services]
      DelService = WFPSampler,0x200              ;/// SPSVCINST_STOPSERVICE
    
    [WFPCalloutClassReg]
      HKR,,,0,%WFPCalloutClassName%
      HKR,,Icon,,-5
      HKR,,DeviceCharacteristics,0x10001,0x100         ;/// FILE_DEVICE_SECURE_OPEN, FILE_DEVICE_SECURE_OPEN
      HKR,,Security,,"D:P(A;;GA;;;SY)(A;;GA;;;BA)(A;;GA;;;LS)" ;/// Permit Generic All access to SYstem, Built-in Admin, and Local System.
    
    [WFPSampler.DriverFiles]
      WFPSamplerCalloutDriver.sys,,,0x00000040         ;/// COPYFLG_OVERWRITE_OLDER_ONLY
    
    [WFPSampler.Service]
      DisplayName  = %WFPSamplerServiceName%
      Description  = %WFPSamplerServiceDescription%
      ServiceType  = 1                    ;/// SERVICE_KERNEL_DRIVER
      StartType   = 2                    ;/// SERVICE_AUTO_START
      ErrorControl = 1                    ;/// SERVICE_ERROR_NORMAL
      ServiceBinary = %12%\WFPSamplerCalloutDriver.sys     ;/// %WinDir%\System32\Drivers\WFPSamplerCalloutDriver.sys
      Dependencies = BFE
    
    [Strings]
      Msft             = "Microsoft Corporation"
      StdMfg            = "Network Filtering Devices"
      WFPCalloutClassName     = "WFP Callout"
      WFPSamplerDeviceDescription = "WFP Sampler Callout Device"
      WFPSamplerDescription    = "WFP Sampler Callout Driver"
      WFPSamplerServiceName    = "WFPSamplerCallouts"
      WFPSamplerServiceDescription = "WFP Sampler Service - Callouts"
      WFPSamplerRegistry      = "System\CurrentControlSet\Services\WFPSamplerCallouts"
      WFPSamplerDiskId       = "WFPSampler Installation Disk"
    

     

    Hope this helps.

    As a sample


    Dusty Harper [MSFT]
    Microsoft Corporation
    ------------------------------------------------------------
    This posting is provided "AS IS", with NO warranties and confers NO rights
    ------------------------------------------------------------
    Wednesday, May 19, 2010 7:19 PM
    Moderator
  • Thanks Dusty for your reply.  I know this is not the proper forum for this question and I re-post my question to the link above and still waiting for an answer.  I am hoping that you provide me with some help such that i can install my driver.  I can't test out my 64-bit driver until i can install it.

    I am not sure what i need to specify in my inf file such that WINDOWS will copy the .sys file to the driver store.  I set the DisableDecoratedModelsRequirement to 1 and disabled driver signature enforcement using the F8 option.  Will this cause WINDOWS not to copy the file over?

    I tried to manually copy .sys file over to the driver store and tried to install the driver again.  Now, i can install the driver, but WINDOWS says that my driver is not configured correct and still not usable.

    Any help would be great and thank you for your help in advance.

    Here is the error.

    This device is not configured correctly. (Code 1)

    The installation failed because a function driver was not specified for this device instance.

    To find a driver for this device, click Update Driver.

    Thursday, May 20, 2010 7:00 PM
  • For running ODBC driver on 64 Bit Machine Try Steps given below:

    Open IIS manager, select Application Pools, select the application pool you are using, click on Advanced Settings in the right-hand menu.  Under General, set "Enable 32-Bit Applications" to "True".

    Enjoy

    • Proposed as answer by Parag Vyas Tuesday, January 29, 2013 4:55 PM
    Tuesday, January 29, 2013 4:52 PM