2014-07-06 4 views
2

아래 단계를 수행했습니다 : 1. 테이프 장치 드라이버를 에뮬레이트하는 커널 드라이버를 빌드하고 컴파일하십시오. >내 .inf 용 Windows 설치 패키지를 만드는 방법은 무엇입니까?

이 지금은 준비 탐색기에서 .inf 파일에 설치 - 2. 3.이 4. "마우스 오른쪽 버튼을 클릭" 5. 수동 테스트 파일을 서명 .CAT 필요 만든 된 .inf 필요한 생성 좀 더 쉬운 설치 패키지를 만들 수는 있지만 어떻게 할 수 있을지 모르겠습니다. \ 드라이버 나는 또한 포함하는 dpinst.xml 파일 생성 :

<?xml version="1.0" ?> 
    <dpinst> 

<suppressAddRemovePrograms/> 

<!-- The following search and subDirectory elements direct 
    DPInst to search all subdirectories (under the DPInst working directory) to locate driver 
    packages. --> 
    <search> 
     <subDirectory>*</subDirectory> 
    </search> 

<!-- The following language element localizes its child elements 
    for the English (Standard) language. The child elements 
    customize the text that appears on the DPInst wizard pages. --> 
    <language code="0x0409"> 
     <dpinstTitle>Device Driver Updater</dpinstTitle> 
     <welcomeTitle>Welcome to the Device Installer!</welcomeTitle> 
     <welcomeIntro>This wizard will walk you through updating the drivers for your device.</welcomeIntro> 
     <installHeaderTitle>Installing the software for your device...</installHeaderTitle> 
     <finishTitle>Congratulations! You finished installing your device drivers.</finishTitle> 
    </language> 

    <scanHardware/> 

</dpinst> 

을 그리고 dpinst.exe 복사 그리고 난을 복사 한 하위 디렉토리 "저장"을 만들어

나는 디렉토리 C를 만들려고 .inf, .cat 및 .sys 파일을

이 디렉터리에서 dpinst.exe를 두 번 클릭하여 설치하려고하면 설치하려고합니다. "필요 없음 (업데이트 할 장치 없음)"메시지를 표시합니다.

그러나이 장치는 PnP 장치 드라이버가 아닙니다. 그것은 KMDF (Kernel Device Driver)입니까?

누구나 설치 패키지를 만드는 방법을 알고 있습니까?

안부 토마스

답변

0

당신이 WDK8.1 드라이버 샘플에서 WDF 설치 패키지 샘플을 시도 할 수도 있습니다. 샘플의

설명 :

WDF 설치 패키지 - installWdf는 시스템에 WDF 패키지를 설치하는 방법을 보여줍니다. 이 코드는 필요한 WDF 구성 요소를 사용자 시스템에 설치하는 데 사용할 수 있습니다. 샘플 코드는 더 나은 환경을 제공하기 위해 기존 설치 응용 프로그램으로 다시 작업 할 수도 있습니다.