以下の手順を実行しました。 1. テープ デバイス ドライバをエミュレートするカーネル ドライバをビルドしてコンパイルします。2. 必要な .inf を作成 3. 必要な .cat を作成 4. ファイルに署名 5. 手動で「右クリック」してテスト -> エクスプローラーから .inf ファイルにインストール
これで、より簡単なインストール パッケージを実行する準備が整いましたが、これを行う方法がわかりません。
ディレクトリ C:\drivers を作成しようとしました。ここで、以下を含む 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をコピーし、.inf、.cat、および.sysファイルをコピーしたサブディレクトリ「ストレージ」を作成しました
このディレクトリから dpinst.exe をダブルクリックしてインストールしようとすると、「不要(更新用のデバイスがありません)」というメッセージが表示されます
しかし、これは PnP デバイス ドライバーではありませんか? KMDF(カーネルデバイスドライバー)ですか?
インストール パッケージの作成方法を知っている人はいますか?
よろしくトーマス