Win2003 Server (x64) , install a new device , always faild.

Discussion in 'Windows Vista Drivers' started by pci boy, Dec 1, 2006.

  1. pci boy

    pci boy Guest

    Hi, everyone !

    Win2003 Server (x64) , install a new device , always faild.

    I want to install a new card , when i install the driver for
    PLX9656 (pci bridge device) ,it always faild .At last , display: "
    An error occurred during the installation of the device. A service
    installation section in this INF is invalid ".

    I think the question is modifying the INF file . MicroSoft said
    the differences is :[Manufacturer] and [MyCompanyModels] ,I have
    modified the INF , the result is still display : " An error occurred
    during the installation of the device. A service installation section
    in this INF is invalid ".

    My INF file :

    ;; PLX9656.inf

    ;; ********* PLEASE READ ***********
    ;; The wizard cannot create exact INF files for all buses and device
    types.
    ;; You may have to make changes to this file in order to get your
    device to
    ;; install. In particular, hardware IDs and logical configurations
    require
    ;; intervention.
    ;;
    ;; The Windows DDK documentation contains an excellent INF reference.

    ;--------- Version Section
    ---------------------------------------------------

    [Version]
    Signature="$Windows NT$"

    ; If device fits one of the standard classes, use the name and GUID
    here,
    ; otherwise create your own device class and GUID as this example
    shows.

    Class=NewDeviceClass
    ClassGUID={ff646f80-8def-11d2-9449-00105a075f6b}
    Provider=%PLX%


    ;--------- SourceDiskNames and SourceDiskFiles Section
    -----------------------

    ; These sections identify source disks and files for installation.
    They are
    ; shown here as an example, but commented out.

    [SourceDisksNames]
    1 = "Install Disk",Disk1,,

    [SourceDisksFiles]
    PLX9656.sys = 1,,

    ;--------- ClassInstall/ClassInstall32 Section
    -------------------------------

    ; Not necessary if using a standard class

    ; 9X Style
    [ClassInstall]
    Addreg=Class_AddReg

    ; NT Style
    [ClassInstall32]
    Addreg=Class_AddReg

    [Class_AddReg]
    HKR,,,,%DeviceClassName%
    HKR,,Icon,,"-18"

    ;--------- DestinationDirs Section
    -------------------------------------------

    [DestinationDirs]
    PLX9656_Files_Driver = 10,System32\Drivers

    ;--------- Manufacturer and Models Sections
    ----------------------------------

    [Manufacturer]
    %PLX% = PLX.Mfg, NTamd64


    [PLX.Mfg.NTamd64]
    "PLX 9656 Board (64-bit)" = DDInstall_9656, PCI\VEN_10b5&DEV_9656

    ; PCI hardware IDs use the form
    ; PCI\VEN_aaaa&DEV_bbbb&SUBSYS_cccccccc&REV_dd
    ;
    %DeviceDesc%=PLX9656_DDI, PCI\VEN_10B5&DEV_9656&SUBSYS_00000000&REV_00

    ;---------- DDInstall Sections
    -----------------------------------------------
    ; --------- Windows 9X -----------------

    ; Experimentation has shown that DDInstall root names greater than 19
    characters
    ; cause problems in Windows 98

    [PLX9656_DDI]
    CopyFiles=PLX9656_Files_Driver
    AddReg=PLX9656_9X_AddReg

    [PLX9656_9X_AddReg]
    HKR,,DevLoader,,*ntkern
    HKR,,NTMPDriver,,PLX9656.sys
    HKR, "Parameters", "BreakOnEntry", 0x00010001, 0

    ; --------- Windows NT -----------------

    [PLX9656_DDI.NT]
    CopyFiles=PLX9656_Files_Driver
    AddReg=PLX9656_NT_AddReg

    [PLX9656_DDI.NT.Services]
    Addservice = PLX9656, 0x00000002, PLX9656_AddService

    [PLX9656_AddService]
    DisplayName = %SvcDesc%
    ServiceType = 1 ; SERVICE_KERNEL_DRIVER
    StartType = 3 ; SERVICE_DEMAND_START
    ErrorControl = 1 ; SERVICE_ERROR_NORMAL
    ServiceBinary = %10%\System32\Drivers\PLX9656.sys

    [PLX9656_NT_AddReg]
    HKLM, "System\CurrentControlSet\Services\PLX9656\Parameters",\
    "BreakOnEntry", 0x00010001, 0



    ; --------- Files (common) -------------

    [PLX9656_Files_Driver]
    PLX9656.sys

    ;--------- Strings Section
    ---------------------------------------------------

    [Strings]
    ProviderName=""
    MfgName=""
    DeviceDesc=""
    DeviceClassName=""
    SvcDesc=""

    /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

    I think there are some wrong in my INF .
     
    pci boy, Dec 1, 2006
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.