JP4158422B2 - Driver installation system, method thereof and program thereof - Google Patents
Driver installation system, method thereof and program thereof Download PDFInfo
- Publication number
- JP4158422B2 JP4158422B2 JP2002162561A JP2002162561A JP4158422B2 JP 4158422 B2 JP4158422 B2 JP 4158422B2 JP 2002162561 A JP2002162561 A JP 2002162561A JP 2002162561 A JP2002162561 A JP 2002162561A JP 4158422 B2 JP4158422 B2 JP 4158422B2
- Authority
- JP
- Japan
- Prior art keywords
- driver
- hardware
- identification information
- information
- computer
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000009434 installation Methods 0.000 title claims description 75
- 238000000034 method Methods 0.000 title claims description 25
- 238000010586 diagram Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
Images
Landscapes
- Stored Programmes (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、ドライバインストールシステム、その方法及びそのプログラムに関する。
【0002】
【従来の技術】
近年、例えばディスクトップ型、タワー型、ノートブック型などのパソコンにおいて、種々のハードウェアを組み込んだものが販売されている。これらのハードウェアをパソコンで利用するには、各ハードウェアの動作に必要な情報をパソコンのオペレーティングシステムに提供したり動作を管理したりするドライバが必要となる。このため、パソコンに新たなハードウェアを組み込む場合には、ユーザはそのハードウェアのドライバのインストール作業を行う必要がある。
【0003】
【発明が解決しようとする課題】
しかしながら、各ハードウェアのドライバのインストール作業は、パソコンに組み込まれたハードウェアをユーザが確認したあと、各ハードウェアに対応するドライバを各種ハードウェアのドライバが記録されたドライバCDから手動でインストールするといった作業になるため、ユーザに大きな負担がかかるという問題があった。なお、特開2000−339263には、ドライバ取得方法に関する技術が開示されているが、具体的な自動インストールの手法については開示されていない。
【0004】
本発明は、このような課題に鑑みなされたものであり、ドライバをインストールする際のユーザの負担を軽減することを目的の一つとする。また、コンピュータに現に接続されているハードウェアのドライバだけを自動インストールすることを目的の一つとする。更に、複数のドライバを一括して自動インストールすることを目的の一つとする。
【0005】
【課題を解決するための手段およびその作用・効果】
上述の目的の少なくとも一つを達成するため、本発明の第1は、コンピュータに接続されたハードウェアを制御するドライバを自動インストールするドライバインストールシステムであって、
前記コンピュータに接続可能な1又は複数のハードウェアのドライバ情報と各ハードウェアの識別情報の特定部との対応関係を記憶する第1記憶手段と、
前記ドライバを汎用インストーラでインストールする際に必要となる所定形式で前記ハードウェアの識別情報を記憶する第2記憶手段と、
前記コンピュータに現に接続されているハードウェアから該ハードウェアの識別情報の特定部を取得する第1取得手段と、
前記第1取得手段が取得した前記識別情報の特定部に対応するドライバ情報を前記第1記憶手段から取得する第2取得手段と、
前記第2取得手段が取得した前記ドライバ情報に該ドライバの専用インストーラの処理手順を記述したスクリプトが含まれるか否かを判定する判定手段と、
前記判定手段により前記ドライバ情報に前記スクリプトが含まれていると判定されたときには、前記スクリプトを解釈実行して前記専用インストーラにより前記ドライバの自動インストールを実行し、前記判定手段により前記ドライバ情報に前記スクリプトが含まれていないと判定されたときには、前記第1取得手段が取得した前記識別情報の特定部を含む前記所定形式の識別情報を前記第2記憶手段から取得し、該取得した前記所定形式の識別情報と前記ドライバ情報に含まれるコマンドラインとを用いて汎用インストーラをコールして前記ドライバの自動インストールを実行するインストール実行手段と
を備えたものである。
【0006】
このドライバインストールシステムでは、コンピュータに現に接続されているハードウェアからそのハードウェアの識別情報の特定部を取得し、この識別情報の特定部に対応するドライバ情報を第1記憶手段から取得し、得られたドライバ情報にそのドライバの専用インストーラの処理手順を記述したスクリプトが含まれているか否かを判定する。そして、判定の結果、スクリプトが含まれているときには、そのスクリプトを解釈実行して専用インストーラによりそのドライバの自動インストールを実行する。一方、スクリプトが含まれていないときには、そのハードウェアの識別情報の特定部を含む所定形式の識別情報を第2記憶手段から取得し、その所定形式の識別情報とドライバ情報に含まれるコマンドラインとを用いて汎用インストーラをコールしてそのドライバの自動インストールを実行する。
【0007】
このドライバインストールシステムによれば、コンピュータに現に接続されているハードウェアのドライバをインストールするにあたり、スクリプトを解釈実行して専用インストーラによりドライバを自動インストールするか、汎用インストーラを用いてドライバを自動インストールするため、従来のようにユーザがインストール作業を行う場合に比べてユーザの負担が軽減する。また、現に接続されているハードウェアのドライバのみが自動インストールされるため、無駄なドライバをインストールすることがない。
【0008】
本発明のドライバインストールシステムにおいて、前記第1記憶手段は、前記コンピュータに対して着脱自在な記憶媒体であってもよい。こうすれば、第1記憶手段をコンピュータに簡単に付属させることができる。ここで、「記憶媒体」としては、コンピュータが読み取り可能な媒体であればどのようなものでもよく、例えばCD、DVD、FD、MO、各種メモリカードなどが挙げられる。
【0009】
本発明のドライバインストールシステムにおいて、前記第1記憶手段は、前記コンピュータの外部から提供された前記対応関係を記憶する媒体であってもよい。こうすれば、第1記憶手段の記憶内容をネットワーク経由で授受することも可能となる。ここで、「媒体」としては、例えばHDDなどが挙げられる。
【0010】
本発明のドライバインストールシステムにおいて、前記第2記憶手段は、前記コンピュータのオペレーティングシステムによって認識されたハードウェアの識別情報を前記所定形式で記憶してもよい。ここで、「オペレーティングシステム」としては、特に限定されないが、例えばマイクロソフト社のウィンドウズやアップル社のマックOSなどが挙げられる。ウィンドウズの場合にはハードウェアの識別情報を所定形式でレジストリに記憶してもよい。
【0011】
本発明のドライバインストールシステムにおいて、前記汎用インストーラは、前記コンピュータのオペレーティングシステムのアプリケーションプログラムインタフェースとして提供されるものであってもよい。こうすれば、別途、汎用インストーラを用意する必要がない。
【0012】
本発明のドライバインストールシステムにおいて、前記ハードウェアのドライバ情報に含まれるコマンドラインは、前記汎用インストーラをコールするコマンドラインであって前記ハードウェアの前記所定形式の識別情報が未指定のもの(ハードウェア未指定コマンドライン)であってもよい。こうすれば、このハードウェア未指定コマンドラインにハードウェアの所定形式の識別情報を指定するだけで汎用インストーラによる自動インストールが実行される。
【0013】
本発明のドライバインストールシステムにおいて、前記ハードウェアの識別情報は、前記ハードウェアの製造メーカの事情に影響されない部分と影響される部分とを含み、前記ハードウェアの識別情報の特定部は、前記ハードウェアの製造メーカの事情に影響されない部分であることが好ましい。こうすれば、第1記憶手段におけるハードウェアのドライバ情報と各ハードウェアの識別情報の特定部との対応関係は製造メーカの事情に影響されないため、製造メーカの事情によって対応関係を見直す必要がない。
【0014】
本発明のドライバインストールシステムにおいて、前記ハードウェアの識別情報は、ベンダ、デバイス、サブシステム及びリビジョンをそれぞれ特定する識別符号を含み、前記ハードウェアの識別情報の特定部は、ベンダ及びデバイスをそれぞれ特定する識別符号であることが好ましい。一般に、ベンダを特定する識別符号はそのハードウェアの製造メーカを表し、デバイスを特定する識別符号はそのハードウェアの製品を表すものであり、同じ製造メーカの同じ製品については変更されることがない。これに対して、サブシステムを特定する識別符号やリビジョンを特定する識別符号は、同じ製造メーカの同じ製品であっても製造メーカの事情(例えば製造ロットが相違する等)によって変更されるおそれがある。つまり、サブシステム及びリビジョンをそれぞれ特定する識別符号は製造メーカの事情に影響されるが、ベンダ及びデバイスをそれぞれ特定する識別符号は製造メーカの事情に影響されない。このため、第1記憶手段におけるハードウェアのドライバ情報と各ハードウェアの識別情報のうちベンダ及びデバイスをそれぞれ特定する識別符号との対応関係は、製造メーカの事情に影響されず、製造メーカの事情によって対応関係を見直す必要がない。
【0015】
本発明のドライバインストールシステムは、前記第2取得手段が取得した前記ドライバ情報が複数のときには、各ドライバ情報につき前記判定手段の結果に応じて前記インストール実行手段が各ドライバを自動インストールしてもよい。こうすれば、複数のドライバを一括して自動インストールすることができる。また、専用インストーラを持つドライバであっても専用インストーラを持たないドライバであっても適切に自動インストールすることができる。
【0016】
本発明の第2は、コンピュータに接続されたハードウェアを制御するドライバを前記コンピュータが自動インストールするドライバインストール方法であって、
前記コンピュータに現に接続されているハードウェアから該ハードウェアの前記識別情報の特定部を取得する第1取得ステップと、
前記コンピュータに接続可能な1又は複数のハードウェアのドライバ情報と各ハードウェアの識別情報の特定部との対応関係を記憶する第1記憶手段から、前記第1取得ステップで取得した前記識別情報の特定部に対応するドライバ情報を取得する第2取得ステップと、
前記第2取得ステップで取得した前記ドライバ情報に該ドライバの専用インストーラの処理手順を記述したスクリプトが含まれるか否かを判定する判定ステップと、
前記判定ステップで前記ドライバ情報に前記スクリプトが含まれていると判定されたときには、前記スクリプトを解釈実行して前記専用インストーラにより前記ドライバの自動インストールを実行し、前記判定ステップで前記ドライバ情報に前記スクリプトが含まれていないと判定されたときには、前記ドライバを汎用インストーラでインストールする際に必要となる所定形式で前記ハードウェアの識別情報を記憶する第2記憶手段から、前記第1取得ステップで取得した前記識別情報の特定部を含む前記所定形式の識別情報を取得し、該取得した前記所定形式の識別情報と前記ドライバ情報に含まれるコマンドラインとを用いて汎用インストーラをコールして自動インストールを実行するインストール実行ステップと
を含むものである。
【0017】
このドライバインストール方法によれば、コンピュータに現に接続されているハードウェアのドライバをインストールするにあたり、スクリプトを解釈実行して専用インストーラによりドライバを自動インストールするか、汎用インストーラを用いてドライバを自動インストールするため、従来のようにユーザがインストール作業を行う場合に比べてユーザの負担が軽減する。また、現に接続されているハードウェアのドライバのみが自動インストールされるため、無駄なドライバをインストールすることがない。
【0018】
このドライバインストール方法において、前記第1記憶手段は、前記コンピュータに対して着脱自在な記憶媒体であってもよいし、前記コンピュータの外部から提供された前記対応関係を記憶する媒体であってもよい。また、前記第2記憶手段は、前記コンピュータのオペレーティングシステムによって認識されたハードウェアの識別情報を前記所定形式で記憶してもよい。更に、前記汎用インストーラは、前記コンピュータのオペレーティングシステムのアプリケーションプログラムインタフェースとして提供されるものであってもよい。更にまた、前記ハードウェアのドライバ情報のコマンドラインは、前記汎用インストーラをコールするコマンドラインであって前記ハードウェアの前記所定形式の識別情報が未指定のものであってもよい。そしてまた、前記ハードウェアの識別情報は、前記ハードウェアの製造メーカの事情に影響されない部分と影響される部分とを含み、前記ハードウェアの識別情報の特定部は、前記ハードウェアの製造メーカの事情に影響されない部分であることが好ましく、例えば、前記ハードウェアの識別情報は、ベンダ、デバイス、サブシステム及びリビジョンをそれぞれ特定する識別符号を含み、前記ハードウェアの識別情報の特定部は、ベンダ及びデバイスをそれぞれ特定する識別符号であることが好ましい。そして更に、前記第2取得ステップで取得した前記ドライバ情報が複数のときには、各ドライバ情報につき前記判定ステップでの結果に応じて前記インストール実行ステップで各ドライバを自動インストールしてもよい。
【0019】
本発明の第3は、コンピュータに接続されたハードウェアを制御するドライバを自動インストールするドライバインストールプログラムであって、
前記コンピュータに対し、
前記コンピュータに現に接続されているハードウェアから該ハードウェアの前記識別情報の特定部を取得する第1取得ステップと、
前記コンピュータに接続可能な1又は複数のハードウェアのドライバ情報と各ハードウェアの識別情報の特定部との対応関係を記憶する第1記憶手段から、前記第1取得ステップで取得した前記識別情報の特定部に対応するドライバ情報を取得する第2取得ステップと、
前記第2取得ステップで取得した前記ドライバ情報に該ドライバの専用インストーラの処理手順を記述したスクリプトが含まれるか否かを判定する判定ステップと、
前記判定ステップで前記ドライバ情報に前記スクリプトが含まれていると判定されたときには、前記スクリプトを解釈実行して前記専用インストーラにより前記ドライバの自動インストールを実行し、前記判定ステップで前記ドライバ情報に前記スクリプトが含まれていないと判定されたときには、前記ドライバを汎用インストーラでインストールする際に必要となる所定形式で前記ハードウェアの識別情報を記憶する第2記憶手段から、前記第1取得ステップで取得した前記識別情報の特定部を含む前記所定形式の識別情報を取得し、該取得した前記所定形式の識別情報と前記ドライバ情報に含まれるコマンドラインとを用いて汎用インストーラをコールして自動インストールを実行するインストール実行ステップと
を実行させるためのものである。
【0020】
このドライバインストールプログラムをコンピュータに実行させると、コンピュータに現に接続されているハードウェアのドライバをインストールするにあたり、スクリプトを解釈実行して専用インストーラによりドライバを自動インストールするか、汎用インストーラを用いてドライバを自動インストールするため、従来のようにユーザがインストール作業を行う場合に比べてユーザの負担が軽減する。また、現に接続されているハードウェアのドライバのみが自動インストールされるため、無駄なドライバをインストールすることがない。なお、このドライバインストールプログラムは、コンピュータが読み取り可能な記憶媒体(例えばハードディスク、ROM、FD、CD、DVDなど)に記録されていてもよいし、伝送媒体(インターネットやLANなどの通信網)を介して配信されてもよいし、その他どのような形で授受されてもよい。
【0021】
このドライバインストールプログラムにおいて、前記第1記憶手段は、前記コンピュータに対して着脱自在な記憶媒体であってもよいし、前記コンピュータの外部から提供された前記対応関係を記憶する媒体であってもよい。また、前記第2記憶手段は、前記コンピュータのオペレーティングシステムによって認識されたハードウェアの識別情報を前記所定形式で記憶してもよい。更に、前記汎用インストーラは、前記コンピュータのオペレーティングシステムのアプリケーションプログラムインタフェースとして提供されるものであってもよい。更にまた、前記ハードウェアのドライバ情報のコマンドラインは、前記汎用インストーラをコールするコマンドラインであって前記ハードウェアの前記所定形式の識別情報が未指定のものであってもよい。そしてまた、前記ハードウェアの識別情報は、前記ハードウェアの製造メーカの事情に影響されない部分と影響される部分とを含み、前記ハードウェアの識別情報の特定部は、前記ハードウェアの製造メーカの事情に影響されない部分であることが好ましく、例えば、前記ハードウェアの識別情報は、ベンダ、デバイス、サブシステム及びリビジョンをそれぞれ特定する識別符号を含み、前記ハードウェアの識別情報の特定部は、ベンダ及びデバイスをそれぞれ特定する識別符号であることが好ましい。そして更に、前記第2取得ステップで取得した前記ドライバ情報が複数のときには、各ドライバ情報につき前記判定ステップでの結果に応じて前記インストール実行ステップで各ドライバを自動インストールしてもよい。
【0022】
【発明の実施の形態】
次に、本発明の実施の形態を図面に基づいて説明する。図1は、本実施形態のコンピュータシステム10の概略構成を表すブロック図である。
【0023】
本実施形態のコンピュータシステム10は、本発明のドライバインストールシステムを実現化したものであり、例えば汎用のディスクトップ型パソコンやノートブック型パソコンである。このコンピュータシステム10は、PCIバス等のシステムバス20に、CPU11、システムメモリ13、チップセット15、HDD17、CD−ROMドライブ18、ディスプレイコントローラ23、キーボードコントローラ27、モデム33、サウンドカード35及びネットワークアダプタ39が接続されたものである。
【0024】
CPU11は、このコンピュータシステム10の全体を制御する役割を果たし、システムメモリ13に格納されたオペレーティングシステム(例えばマイクロソフト社のウィンドウズ2000やウィンドウズXPなど)や、各種のハードウェアを制御するためのドライバや、各種のアプリケーションソフトのプログラムに基づいて動作する。
【0025】
システムメモリ13は、このコンピュータシステム10の主記憶装置であり、前出のオペレーティングシステムやドライバやアプリケーションソフトを格納している。
【0026】
チップセット15は、CPU11をサポートしCPU11と共に作動するプログラマブル割込コントローラなどの集積回路をセットにしたものである。
【0027】
HDD17及びCD−ROMドライブ18は、このコンピュータシステム10の外部記憶装置であり、システム起動時、現行のオペレーティングシステムは、HDD17からシステムメモリ13にロードされる。一方、後述するドライバ自動インストールソフトのプログラムはCD−ROMドライブ18に挿入されたCD−ROM19からシステムメモリ13にロードされる。また、ドライバ自動インストールソフトのプログラムを実行するにあたり必要となる各種のデータもCD−ROM19に記録されている。
【0028】
ディスプレイコントローラ23は、このコンピュータシステム10において画像出力を制御するものであり、CPU11から受信した信号に基づいてディスプレイ25の表示を制御する。
【0029】
キーボードコントローラ27は、このコンピュータシステム10においてオペレータによる入力を制御するものであり、キーボード29やマウス31等の入力装置の操作をデータ化してCPU11に送信する。
【0030】
モデム33は、このコンピュータシステム10が電話回線を介して情報を伝送できるようにする通信装置である。このモデム33は、送信時にデジタル信号を電話回線上の連続的に変化する搬送波周波数に変調し、受信時に搬送波からの情報を復調しデジタル信号に変換する。
【0031】
サウンドカード35は、WAVEファイルやMIDIファイルやMPEGファイルや音楽CD−ROMなどからの音声の再生及び録音を可能にする拡張ボードであり、マイク36を介して入力された音声データをCPU11に送信したり、音声データをスピーカ37を介して出力したりする。
【0032】
ネットワークアダプタ39は、このコンピュータシステム10をケーブルを介してLANなどのネットワークへ接続する拡張ボードであり、ネットワークカードなどとも称される。
【0033】
このコンピュータシステム10の動作はオペレーティングシステムによって統合的に制御され、オペレーティングシステムはこの制御のために必要な各種情報をHDD17上のレジストリに格納する。
【0034】
次に、このコンピュータシステム10のドライバ自動インストールについて図2に基づいて説明する。図2はドライバ自動インストールプログラムのフローチャートである。
【0035】
コンピュータシステム10のCPU11は、ドライバ自動インストールプログラムが記録されたCD−ROM19がセットされると、ステップS100で、オートラン(Auto Run)機能が働き、CD−ROM19からドライバ自動インストールプログラムが読み出されて開始される。
【0036】
続くステップS105で、CPU11は、インストールすべきドライバリストを作成する。ここで、セットされたCD−ROM19には、このコンピュータシステム10に搭載可能なハードウェアにつき、ハードウェアIDの一部やドライバ情報などが記述された定義ファイルが格納されている。ハードウェアIDは、ベンダIDとデバイスIDとサブシステムIDとリビジョンIDとで構成されている。このうち、ベンダIDはそのハードウェアを製造したメーカを表すIDであり、デバイスIDはその製造メーカが設定したその製品を表すIDであり、サブシステムIDはそのハードウェアが複数種類存在する場合にどの種類かを特定するIDであり、リビジョンIDはそのハードウェアのバージョン情報を表すIDである。
【0037】
ここで、図3(a)は定義ファイルの具体例である。この定義ファイルは、1行目にチップセットに関する定義、2行目にサウンドドライバに関する定義、3行目にネットワークドライバに関する定義、4行目にワイヤレスネットワークドライバに関する定義、5行目にモデムドライバに関する定義、6行目にディスプレイドライバに関する定義が記述されている。各定義には、左から順にベンダID欄51、デバイスID欄52、ドライバ名欄61、スクリプト名欄71、コールコマンド関連情報欄81が記述される。ベンダID欄51及びデバイスID欄52に記述されるベンダID及びデバイスIDはハードウェアIDの特定部をなすものであり、ドライバ名欄61に記述されるドライバ名は後述するメニュー表示の際に使用される名称であり、スクリプト名欄71に記述されるスクリプト名は各ドライバの専用インストーラの手順が記載されたスクリプトの名称であり、コールコマンド関連情報欄81に記述される情報は自動インストールを利用せずユーザが手動でインストールする場合に利用するものである。
【0038】
図3(a)の定義ファイルの1〜4行目及び6行目は、スクリプト名欄71にスクリプト名が記述され、コールコマンド関連情報欄81に専用インストーラのコールコマンドが記述されている。これに対して、定義ファイルの5行目は、モデムドライバに関する定義であるが、モデムドライバには専用インストーラが用意されていないためスクリプトが作成されておらず、このためスクリプト名欄71には本来スクリプト名を記述されるべきところを「$SETUP$」と記述されており、コールコマンド関連情報欄81も専用インストーラが存在しないためオペレーティングシステムのアプリケーションプログラムインタフェースとして提供される汎用インストーラをコールするコマンドラインのうちハードウェアIDが未指定のもの(ハードウェア未指定コマンドライン)が記述されている。すなわち、汎用インストーラをコールするコマンドラインは、図5に示すように、セットアップコマンドにオプションスイッチを付け、第1パラメータとしてinfファイルを指定し、第2パラメータとして所定形式のハードウェアIDを指定したものであるが、コールコマンド関連情報欄81には、このうち第2パラメータが省略されたものが記述されている。なお、コールコマンド関連情報欄81には、どのドライブがinfファイルを格納していても対処できるようにドライブ名が「??」と記述されている。
【0039】
さて、ステップS105において、CPU11は、システムバス20に接続されている各ハードウェアからハードウェアIDのうちの少なくともベンダID及びデバイスIDを取得し、取得したベンダID及びデバイスIDとCD−ROM19に記憶された定義ファイルのベンダID欄51及びデバイスID欄52とを照合することにより、CD−ROM19に収録されているドライバの中からインストールすべきドライバのみを選択し、ドライバリストを作成する。図3(b)はハードウェアから取得したベンダID及びデバイスIDの一例であり、これを図3(a)の定義ファイルと照合することにより、チップセットドライバ、サウンドドライバ、ネットワークドライバ、モデムドライバ、ディスプレイドライバをリストアップしたドライバリストを作成する。
【0040】
続くステップS110で、CPU11は、一括インストールのほかに個別インストール等の他のメニューを選択可能なメニュー選択画面をディスプレイに表示し、ステップS115で、一括インストールが選択されたか否かを判定する。ステップS115で一括インストールが選択されたなかったとき、つまり一括インストール以外のメニューが選択されたときには、ステップS120に進み、選択されたメニューに応じたルーチンを実行し、その後このプログラムを終了する。一方、ステップS115で一括インストールが選択されたときには、ステップS125に進んでインストールすべきドライバを一覧表示する。この一覧表示は、ステップS105で作成したドライバリストをディスプレイ25に表示することにより行う。図4は、ドライバリストをディスプレイ25に表示したときの一例を示す。この表示画面には、「インストール開始」ボタンが設けられている。
【0041】
続くステップS130で、「インストール開始」ボタンがオンされたか否かを判定し、オンされなければそのまま待機し、オンされたならばステップS135〜S160を実行することにより、ドライバリストにリストアップされたドライバを順次自動インストールしていく。
【0042】
すなわち、ステップS135でカウンタの値iに初期値「1」をセットし、ステップS140でi番目のドライバにつきスクリプトが存在するか否かを判定する。ここで、スクリプトとは、そのドライバに専用インストーラが存在しその専用インストーラのウィザードを自動的に進行させるための記述がなされたものである。例えば、スクリプトには、そのドライバの専用インストーラの手順に従ってダイアログが表示されるごとに「次へ」ボタンがオンされていき、インストールが完了したあと今すぐ再起動するか後で再起動するかのダイアログが表示されると「後で再起動する」がオンされるように記述されている。ステップS140でi番目のドライバにつきスクリプトが存在するとき、つまり定義ファイルのスクリプト名欄71にスクリプト名が記述されているときには、ステップS145に進み、スクリプト解釈実行プログラムを呼び出してそのドライバのスクリプトに基づいて処理を実行することにより、そのドライバの自動インストールを実行する。
【0043】
例えば、チップセットをインストールする場合には、図3(a)の定義ファイルの1行目に記述さているように、スクリプト名欄71にはスクリプト名である「chipinf.EDS」、つまり拡張子がEDSのファイル名が記述されていることから、スクリプト解釈実行プログラムを呼び出してこのスクリプトファイルを解釈し実行することにより、専用インストーラによる自動インストールが行われる。
【0044】
一方、ステップS140でi番目のドライバにつきスクリプトが存在しないとき、つまり定義ファイルのスクリプト名欄71にスクリプト名が記述されていないときには、ステップS150に進み、オペレーティングシステムのレジストリに所定形式で保管されているハードウェアIDの中から、i番目のドライバに対応するベンダID及びデバイスID(定義ファイルのベンダID欄51及びデバイスID欄52に記述されたID)を含むものを取得し、取得した所定形式のハードウェアIDをi番目のドライバに対応するハードウェア未指定コマンドラインにマージしてそのコマンドラインを完成させる。
【0045】
例えば、モデムドライバをインストールする場合には、図3(a)の定義ファイルの5行目に記述されているように、スクリプト名欄71にはスクリプト名ではなく「$SETUP$」と記述されていることから、スクリプトが存在しないと判定される。そして、オペレーティングシステム(例えばマイクロソフト社のウィンドウズXP)のレジストリ(例えばPCIバスに接続されているハードウェアID群を格納している場所)の中から、このモデムのベンダID欄51及びデバイスID欄52のベンダID及びデバイスIDを含むものを取得する。この場合、所定形式のハードウェアID(数1参照)を取得し、定義ファイルの5行目のコールコマンド関連情報欄81に記述されたハードウェア未指定コマンドラインにこの所定形式のハードウェアIDを第2パラメータとしてマージする。そのときのコマンドラインを図5に示す。なお、コールコマンド関連情報欄81ではドライブ名を「??」としたが、ここではCドライブに汎用インストーラが格納されているためドライブ名は「C」となる。図5は、入力したコマンドラインに従って処理が実行されたあとドライバの更新が成功したときのディスプレイ25の表示画面を示す。なお、レジストリは、オペレーティングシステムで各種ソフトウェアの設定情報などを保存する場所であり、本実施形態ではオペレーティングシステムによって認識されたハードウェアの所定形式のハードウェアIDがハードウェア未指定コマンドラインにマージされて実行コマンドとして機能可能な形式でこのレジストリに記憶されている。
【0046】
【数1】
【0047】
その後、ステップS155に進み、ドライバリストにリストアップされたすべてのドライバのインストールが完了したか否かを判定し、まだすべてのドライバのインストールが完了していないときにはステップS160でカウンタの値iを1インクリメントしたあと再びステップS140以降の処理を行い、一方、すべてのドライバのインストールが完了したときにはステップS165に進んですべてのドライバのインストールが完了した旨のメッセージをディスプレイ25に表示し、更にステップS170に進んで今すぐ再起動をすることの確認を行い、このプログラムを終了する。
【0048】
なお、本実施形態では、ドライバリストにリストアップされたドライバの上から順にインストールを行っていくが、このインストール順は予めトラブルが起きにくい適切な順序に定められている。
【0049】
ここで、本実施形態の構成要素と本発明の構成要素の対応関係を明らかにする。本実施形態のCD−ROM19が本発明の第1記憶手段に相当し、HDD17が第2記憶手段に相当し、CPU11が第1〜第2取得手段、判定手段及びインストール実行手段に相当する。また、スクリプト名欄71及びコールコマンド関連情報欄81の内容が本発明のドライバ情報に相当し、ハードウェアIDがハードウェアの識別情報に相当し、ハードウェアIDのうちベンダID及びデバイスIDがハードウェアの識別情報の特定部に相当する。更に、CD−ROM19には本発明のドライバインストールプログラムが記録されている。
【0050】
以上詳述した本実施形態では、コンピュータシステム10のシステムバス20に現に接続されているハードウェアからそのハードウェアのベンダID及びデバイスIDを取得し、このベンダID及びデバイスIDに対応するスクリプト名欄71の内容をCD−ROM19から取得し、得られたスクリプト名欄71の内容がスクリプト名か否かを判定する。そして、判定の結果、スクリプト名欄71の内容がスクリプト名のときには、そのスクリプトを解釈実行して専用インストーラによりそのドライバの自動インストールを実行する。一方、スクリプト名欄71の内容がスクリプト名でなかったときには、そのベンダID及びデバイスIDに対応するコールコマンド関連情報欄81のハードウェア未指定コールコマンドをCD−ROM19から取得すると共に、そのベンダID及びデバイスIDを含む所定形式のハードウェアIDをレジストリから取得し、レジストリから取得した所定形式のハードウェアIDをハードウェア未指定コールコマンドにマージし、オペレーティングシステムのアプリケーションプログラムインタフェースである汎用インストーラをコールして自動インストールを実行する。このように、本実施形態によれば、コンピュータシステム11に現に接続されているハードウェアのドライバをインストールするにあたり、スクリプトを解釈実行して専用インストーラによりドライバを自動インストールするか、汎用インストーラを用いてドライバを自動インストールするため、従来のようにユーザがインストール作業を行う場合に比べてユーザの負担が軽減する。また、現に接続されているハードウェアのドライバのみが自動インストールされるため、無駄なドライバをインストールすることがない。
【0051】
また、本実施形態における汎用インストーラは、コンピュータシステム10のオペレーティングシステムのアプリケーションプログラムインタフェースとして提供されるものであるため、別途、汎用インストーラを用意する必要がない。
【0052】
更に、ハードウェアのドライバ情報の一つであるコールコマンド関連情報欄81のコマンドラインはハードウェア未指定コールコマンドであるため、このハードウェア未指定コールコマンドにレジストリから取得した所定形式のハードウェアIDをパラメータとしてマージするだけで実行コマンドが完成し、汎用インストーラによる自動インストールが実行される。
【0053】
更にまた、ベンダ、デバイス、サブシステム及びリビジョンをそれぞれ特定するIDからなるハードウェアIDのうち、製造メーカの事情(例えば製造ロットが相違する等)によって変更されるおそれのないベンダID及びデバイスIDとドライバ情報との対応関係をCD−ROM19に記憶しているため、製造メーカの事情によってサブシステムID及びリビジョンIDが変更されたとしても、この対応関係を見直す必要がない。
【0054】
そしてまた、ドライバリストに列挙された複数のドライバを一括して自動インストールすることができ、また、専用インストーラを持つドライバであっても専用インストーラを持たないドライバであっても適切に自動インストールすることができる。
【0055】
なお、本発明は上述した実施形態に何等限定されるものではなく、種々の形態で実施し得ることはいうまでもない。
【0056】
例えば、上述した実施形態では、システムバス20に接続されているハードウェアからベンダID及びデバイスIDのみを取得したが、これらのIDに加えてサブシステムIDやリビジョンIDを取得してもよい。但し、定義ファイルとの照合は製造メーカの事情によって変更されることのないベンダID及びデバイスIDに基づいて行う。
【0057】
また、上述した実施形態では、定義ファイルやドライバ自動インストールプログラムをCD−ROM19に記憶したが、DVD、FD、MO、各種メモリカードなどに記憶してもよいし、あるいは、外部からネットワークなどを経由して定義ファイルやドライバ自動インストールプログラムの提供を受けてHDD17等に記憶してもよい。
【0058】
更に、上述した実施形態では、スクリプトのないドライバのコールコマンド関連情報欄81に一つのハードウェア未指定コールコマンドを記述したが、オペレーティングシステムごとに複数のハードウェア未指定コールコマンドを列挙して記述してもよい。例えば、コールコマンド関連情報欄81に、オペレーティングシステムがマイクロソフト社のウィンドウズXPの場合のハードウェア未指定コールコマンドと共に、オペレーティングシステムがマイクロソフト社のウィンドウズ2000の場合のハードウェア未指定コールコマンドを並記してもよい。どのコールコマンドを使用するかはどのオペレーティングシステムがインストールされているかによって決めればよい。
【0059】
更にまた、上述した実施形態では、CD−ROM19に記憶した定義ファイルには一つのハードウェアに対して一つのドライバを対応付けたが、一つのハードウェアに対して複数のドライバを対応付けてもよい。例えば、コンピュータシステム10のモデムとして製造メーカAの製品aというモデムと製造メーカBの製品bというモデムが接続可能だとすると、両方のモデムについて定義を作成してCD−ROM19に記憶しておき、実際に接続されているモデムに応じてどちらの定義を用いるかを決めればよい。こうすれば、コンピュータシステム10にどちらのモデムが接続されていても1枚のCD−ROM19で対処することができる。
【図面の簡単な説明】
【図1】本実施形態のコンピュータシステムの概略構成を表すブロック図である。
【図2】ドライバ自動インストールプログラムのフローチャートである。
【図3】定義ファイルとハードウェア情報検出値を表す説明図である。
【図4】ドライバリストの表示画面を表す説明図である。
【図5】汎用インストーラのコマンドラインを表す説明図である。
【符号の説明】
10…コンピュータシステム、11…CPU、13…システムメモリ、15…チップセット、17…HDD、18…CD−ROMドライブ、19…CD−ROM、20…システムバス、23…ディスプレイコントローラ、25…ディスプレイ、27…キーボードコントローラ、29…キーボード、31…マウス、33…モデム、35…サウンドカード、36…マイク、37…スピーカ、39…ネットワークアダプタ、51…ベンダID欄、52…デバイスID欄、61…ドライバ名欄、71…スクリプト名欄、81…コールコマンド関連情報欄。[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a driver installation system, a method thereof, and a program thereof.
[0002]
[Prior art]
In recent years, for example, personal computers such as a desktop type, a tower type, and a notebook type, in which various types of hardware are incorporated, are sold. In order to use such hardware in a personal computer, a driver that provides information necessary for the operation of each hardware to the operating system of the personal computer and manages the operation is required. For this reason, when installing new hardware in a personal computer, the user needs to install a driver for the hardware.
[0003]
[Problems to be solved by the invention]
However, in the installation work of each hardware driver, after the user confirms the hardware incorporated in the personal computer, the driver corresponding to each hardware is manually installed from the driver CD in which the various hardware drivers are recorded. Therefore, there is a problem that a heavy burden is placed on the user. Japanese Patent Laid-Open No. 2000-339263 discloses a technique related to a driver acquisition method, but does not disclose a specific automatic installation method.
[0004]
The present invention has been made in view of such problems, and an object thereof is to reduce the burden on the user when installing a driver. Another object is to automatically install only the hardware drivers that are actually connected to the computer. Another object is to automatically install a plurality of drivers at once.
[0005]
[Means for solving the problems and their functions and effects]
In order to achieve at least one of the above objects, a first aspect of the present invention is a driver installation system for automatically installing a driver for controlling hardware connected to a computer,
First storage means for storing a correspondence relationship between driver information of one or a plurality of hardware connectable to the computer and a specifying unit of identification information of each hardware;
Second storage means for storing identification information of the hardware in a predetermined format required when installing the driver with a general-purpose installer;
First acquisition means for acquiring a specific part of identification information of the hardware from hardware currently connected to the computer;
Second acquisition means for acquiring driver information corresponding to the identification part of the identification information acquired by the first acquisition means from the first storage means;
A determination unit that determines whether or not the driver information acquired by the second acquisition unit includes a script describing a processing procedure of a dedicated installer for the driver;
When the determination unit determines that the script is included in the driver information, the script is interpreted and executed, the driver is automatically installed by the dedicated installer, and the determination unit includes the driver information in the driver information. When it is determined that the script is not included, the predetermined format identification information including the identification information specifying unit acquired by the first acquisition unit is acquired from the second storage unit, and the acquired predetermined format is acquired. Installation execution means for calling a general-purpose installer using the identification information of the driver and the command line included in the driver information to perform automatic installation of the driver;
It is equipped with.
[0006]
In this driver installation system, the identification part of the hardware identification information is obtained from the hardware currently connected to the computer, and the driver information corresponding to the identification information identification part is obtained from the first storage means. It is determined whether or not the written driver information includes a script describing the processing procedure of the dedicated installer for the driver. If the script is included as a result of the determination, the script is interpreted and executed, and the driver is automatically installed by the dedicated installer. On the other hand, when the script is not included, identification information of a predetermined format including the identification part of the hardware identification information is acquired from the second storage means, and the command information included in the identification information of the predetermined format and the driver information The generic installer is called using to perform automatic installation of the driver.
[0007]
According to this driver installation system, when installing a hardware driver that is currently connected to the computer, the script is interpreted and executed, and the driver is automatically installed using a dedicated installer, or the driver is automatically installed using a general-purpose installer. Therefore, the burden on the user is reduced compared to the case where the user performs the installation work as in the past. In addition, since only the driver of the currently connected hardware is automatically installed, there is no need to install a useless driver.
[0008]
In the driver installation system of the present invention, the first storage unit may be a storage medium that is detachable from the computer. In this way, the first storage means can be easily attached to the computer. Here, the “storage medium” may be any computer-readable medium, such as a CD, DVD, FD, MO, and various memory cards.
[0009]
In the driver installation system of the present invention, the first storage unit may be a medium that stores the correspondence relationship provided from outside the computer. By doing so, it becomes possible to exchange the contents stored in the first storage means via the network. Here, examples of the “medium” include an HDD.
[0010]
In the driver installation system of the present invention, the second storage unit may store hardware identification information recognized by the operating system of the computer in the predetermined format. Here, the “operating system” is not particularly limited, and examples thereof include Windows by Microsoft and Mac OS by Apple. In the case of Windows, hardware identification information may be stored in a registry in a predetermined format.
[0011]
In the driver installation system of the present invention, the general-purpose installer may be provided as an application program interface of the operating system of the computer. In this way, it is not necessary to prepare a general-purpose installer separately.
[0012]
In the driver installation system of the present invention, the command line included in the hardware driver information is a command line that calls the general-purpose installer, and the identification information of the predetermined format of the hardware is not specified (hardware Unspecified command line). By doing this, automatic installation by the general-purpose installer is executed only by specifying identification information of a predetermined format of hardware in the command line not specifying hardware.
[0013]
In the driver installation system of the present invention, the hardware identification information includes a part that is not affected by a situation of the hardware manufacturer and a part that is affected, and the hardware identification information specifying unit includes the hardware identification information. It is preferable that it is a part which is not influenced by the situation of the manufacturer of the wear. In this way, the correspondence relationship between the hardware driver information in the first storage means and the identification part of each hardware identification information is not affected by the circumstances of the manufacturer, so there is no need to review the correspondence according to the circumstances of the manufacturer. .
[0014]
In the driver installation system of the present invention, the hardware identification information includes an identification code that identifies a vendor, a device, a subsystem, and a revision, and the hardware identification information identification unit identifies the vendor and the device, respectively. It is preferable that it is an identification code. In general, the identification code identifying the vendor represents the manufacturer of the hardware, the identification code identifying the device represents the product of the hardware, and is not changed for the same product of the same manufacturer. . On the other hand, the identification code for specifying the subsystem and the identification code for specifying the revision may be changed depending on the circumstances of the manufacturer (for example, different manufacturing lots) even for the same product of the same manufacturer. is there. In other words, the identification code for specifying the subsystem and revision is affected by the manufacturer's circumstances, but the identification code for specifying the vendor and device is not affected by the manufacturer's circumstances. For this reason, the correspondence relationship between the hardware driver information in the first storage means and the identification codes for identifying the vendor and the device among the identification information of each hardware is not affected by the circumstances of the manufacturer, and the circumstances of the manufacturer. There is no need to review the correspondence.
[0015]
In the driver installation system of the present invention, when there are a plurality of pieces of driver information acquired by the second acquisition unit, the installation execution unit may automatically install each driver according to the result of the determination unit for each driver information. . In this way, a plurality of drivers can be automatically installed at once. Even a driver having a dedicated installer or a driver without a dedicated installer can be automatically installed appropriately.
[0016]
A second aspect of the present invention is a driver installation method in which the computer automatically installs a driver for controlling hardware connected to the computer,
A first acquisition step of acquiring from the hardware currently connected to the computer the specific part of the identification information of the hardware;
From the first storage means for storing the correspondence between the driver information of one or a plurality of hardware connectable to the computer and the identification unit of the identification information of each hardware, the identification information acquired in the first acquisition step. A second acquisition step of acquiring driver information corresponding to the specific unit;
A determination step of determining whether or not the driver information acquired in the second acquisition step includes a script describing a processing procedure of a dedicated installer for the driver;
When it is determined in the determination step that the script is included in the driver information, the script is interpreted and executed, and the driver is automatically installed by the dedicated installer. In the determination step, the driver information is included in the driver information. When it is determined that the script is not included, it is acquired in the first acquisition step from the second storage means for storing the hardware identification information in a predetermined format required when the driver is installed by the general-purpose installer. The identification information of the predetermined format including the specified part of the identification information is acquired, and automatic installation is performed by calling a general-purpose installer using the acquired identification information of the predetermined format and the command line included in the driver information. Installation execution steps to be performed and
Is included.
[0017]
According to this driver installation method, when installing a driver for hardware currently connected to the computer, the driver is automatically installed using a dedicated installer by interpreting and executing a script, or the driver is automatically installed using a general-purpose installer. Therefore, the burden on the user is reduced compared to the case where the user performs the installation work as in the past. In addition, since only the driver of the currently connected hardware is automatically installed, there is no need to install a useless driver.
[0018]
In this driver installation method, the first storage unit may be a storage medium that is detachable from the computer, or a medium that stores the correspondence provided from outside the computer. . The second storage means may store hardware identification information recognized by the computer operating system in the predetermined format. Furthermore, the general-purpose installer may be provided as an application program interface of the computer operating system. Furthermore, the command line of the hardware driver information may be a command line that calls the general-purpose installer, and the identification information of the predetermined format of the hardware may be unspecified. In addition, the hardware identification information includes a part that is not affected by the situation of the hardware manufacturer and a part that is affected, and the identification part of the hardware identification information is a part of the hardware manufacturer. For example, the hardware identification information includes an identification code for identifying a vendor, a device, a subsystem, and a revision, and the hardware identification information identification unit includes a vendor identification information. And an identification code for identifying each device. Further, when there are a plurality of pieces of driver information acquired in the second acquisition step, each driver may be automatically installed in the installation execution step according to the result in the determination step for each driver information.
[0019]
A third aspect of the present invention is a driver installation program for automatically installing a driver for controlling hardware connected to a computer,
For the computer
A first acquisition step of acquiring from the hardware currently connected to the computer the specific part of the identification information of the hardware;
From the first storage means for storing the correspondence between the driver information of one or a plurality of hardware connectable to the computer and the identification unit of the identification information of each hardware, the identification information acquired in the first acquisition step. A second acquisition step of acquiring driver information corresponding to the specific unit;
A determination step of determining whether or not the driver information acquired in the second acquisition step includes a script describing a processing procedure of a dedicated installer for the driver;
When it is determined in the determination step that the script is included in the driver information, the script is interpreted and executed, and the driver is automatically installed by the dedicated installer. In the determination step, the driver information is included in the driver information. When it is determined that the script is not included, it is acquired in the first acquisition step from the second storage means for storing the hardware identification information in a predetermined format required when the driver is installed by the general-purpose installer. The identification information of the predetermined format including the specified part of the identification information is acquired, and automatic installation is performed by calling a general-purpose installer using the acquired identification information of the predetermined format and the command line included in the driver information. Installation execution steps to be performed and
Is to execute.
[0020]
When this driver installation program is executed on the computer, it installs the driver for the hardware currently connected to the computer by interpreting and executing the script and automatically installing the driver using the dedicated installer, or using the general-purpose installer to install the driver. Since the automatic installation is performed, the burden on the user is reduced compared to the case where the user performs the installation work as in the past. In addition, since only the driver of the currently connected hardware is automatically installed, there is no need to install a useless driver. The driver installation program may be recorded on a computer-readable storage medium (eg, hard disk, ROM, FD, CD, DVD, etc.) or via a transmission medium (communication network such as the Internet or LAN). It may be distributed in any other way, or may be exchanged in any other form.
[0021]
In the driver installation program, the first storage unit may be a storage medium that is detachable from the computer, or may be a medium that stores the correspondence provided from outside the computer. . The second storage means may store hardware identification information recognized by the computer operating system in the predetermined format. Furthermore, the general-purpose installer may be provided as an application program interface of the computer operating system. Furthermore, the command line of the hardware driver information may be a command line that calls the general-purpose installer, and the identification information of the predetermined format of the hardware may be unspecified. In addition, the hardware identification information includes a part that is not affected by the situation of the hardware manufacturer and a part that is affected, and the identification part of the hardware identification information is a part of the hardware manufacturer. For example, the hardware identification information includes an identification code for identifying a vendor, a device, a subsystem, and a revision, and the hardware identification information identification unit includes a vendor identification information. And an identification code for identifying each device. Further, when there are a plurality of pieces of driver information acquired in the second acquisition step, each driver may be automatically installed in the installation execution step according to the result in the determination step for each driver information.
[0022]
DETAILED DESCRIPTION OF THE INVENTION
Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram illustrating a schematic configuration of a
[0023]
The
[0024]
The
[0025]
The
[0026]
The chip set 15 is a set of integrated circuits such as a programmable interrupt controller that supports the
[0027]
The HDD 17 and the CD-
[0028]
The
[0029]
The
[0030]
The
[0031]
The
[0032]
The
[0033]
The operation of the
[0034]
Next, driver automatic installation of the
[0035]
When the CD-
[0036]
In subsequent step S105, the
[0037]
Here, FIG. 3A is a specific example of the definition file. This definition file contains the chipset definition on the first line, the sound driver definition on the second line, the network driver definition on the third line, the wireless network driver definition on the fourth line, and the modem driver definition on the fifth line. The definition about the display driver is described in the sixth line. Each definition includes a vendor ID column 51, a
[0038]
In the first to fourth and sixth lines of the definition file in FIG. 3A, the script name is described in the script name column 71, and the call command of the dedicated installer is described in the call command related information column 81. On the other hand, the fifth line of the definition file is a definition related to the modem driver. However, since a dedicated installer is not prepared for the modem driver, no script is created. The place where the script name is to be described is described as “$ SETUP $”, and the call command related information column 81 also has no dedicated installer, so the command line that calls the general-purpose installer provided as the application program interface of the operating system. Among them, a hardware ID not specified (a hardware non-specified command line) is described. In other words, as shown in FIG. 5, the command line for calling the general-purpose installer is a setup command with an option switch, an inf file specified as a first parameter, and a hardware ID of a predetermined format specified as a second parameter. However, in the call command related information column 81, the one in which the second parameter is omitted is described. In the call command related information column 81, the drive name is described as “??” so as to be able to cope with which drive stores the inf file.
[0039]
In step S105, the
[0040]
In subsequent step S110, the
[0041]
In subsequent step S130, it is determined whether or not the “installation start” button has been turned on. If not, the process waits as it is. The driver will be automatically installed in sequence.
[0042]
That is, an initial value “1” is set to the counter value i in step S135, and it is determined in step S140 whether a script exists for the i-th driver. Here, a script is a description in which a dedicated installer exists in the driver and a wizard for the dedicated installer is automatically advanced. For example, the script will have the “Next” button on each time a dialog is displayed following the instructions for that driver's dedicated installer, and whether to restart now or later after the installation is complete It is described that “Reboot later” is turned on when the dialog is displayed. When a script exists for the i-th driver in step S140, that is, when a script name is described in the script name column 71 of the definition file, the process proceeds to step S145, where the script interpretation execution program is called and based on the script of the driver. The driver is automatically installed by executing the process.
[0043]
For example, when installing a chipset, as described in the first line of the definition file in FIG. 3A, the script name column 71 contains a script name “chipinf.EDS”, that is, an extension. Since the EDS file name is described, automatic installation by the dedicated installer is performed by calling the script interpretation execution program to interpret and execute the script file.
[0044]
On the other hand, when there is no script for the i-th driver in step S140, that is, when no script name is described in the script name column 71 of the definition file, the process proceeds to step S150 and is stored in a predetermined format in the registry of the operating system. Hardware IDs that include the vendor ID and device ID corresponding to the i-th driver (IDs described in the vendor ID column 51 and
[0045]
For example, when installing a modem driver, “$ SETUP $” is described in the script name column 71 instead of the script name as described in the fifth line of the definition file in FIG. Therefore, it is determined that the script does not exist. Then, the vendor ID column 51 and
[0046]
[Expression 1]
[0047]
Thereafter, the process proceeds to step S155 to determine whether or not the installation of all the drivers listed in the driver list has been completed. When the installation of all the drivers has not been completed, the counter value i is set to 1 in step S160. After the increment, the processing from step S140 is performed again. On the other hand, when the installation of all the drivers is completed, the process proceeds to step S165, and a message indicating that the installation of all the drivers is completed is displayed on the
[0048]
In this embodiment, the installation is performed in order from the top of the drivers listed in the driver list, but this installation order is determined in advance in an appropriate order in which trouble is unlikely to occur.
[0049]
Here, the correspondence between the components of the present embodiment and the components of the present invention will be clarified. The CD-
[0050]
In the present embodiment described in detail above, the vendor ID and device ID of the hardware are acquired from the hardware currently connected to the
[0051]
Moreover, since the general-purpose installer in this embodiment is provided as an application program interface of the operating system of the
[0052]
Furthermore, since the command line in the call command related information column 81, which is one of the hardware driver information, is a hardware unspecified call command, a hardware ID of a predetermined format obtained from the registry in the hardware unspecified call command. Execution command is completed just by merging as parameters, and automatic installation by general-purpose installer is executed.
[0053]
Furthermore, among the hardware IDs composed of IDs for specifying the vendor, device, subsystem, and revision, the vendor ID and device ID that are not likely to be changed due to the circumstances of the manufacturer (for example, different manufacturing lots) Since the correspondence relationship with the driver information is stored in the CD-
[0054]
In addition, multiple drivers listed in the driver list can be automatically installed in a batch, and even if the driver has a dedicated installer or does not have a dedicated installer, it can be automatically installed properly. Can do.
[0055]
Needless to say, the present invention is not limited to the above-described embodiments, and can be implemented in various forms.
[0056]
For example, in the above-described embodiment, only the vendor ID and device ID are acquired from the hardware connected to the
[0057]
In the above-described embodiment, the definition file and the driver automatic installation program are stored in the CD-
[0058]
Furthermore, in the above-described embodiment, one hardware unspecified call command is described in the call command related information column 81 of the driver without a script, but a plurality of hardware unspecified call commands are listed and described for each operating system. May be. For example, in the call command related information column 81, a hardware unspecified call command when the operating system is Microsoft Windows 2000 and a hardware unspecified call command when the operating system is Microsoft Windows 2000 are written together. Also good. Which call command to use depends on which operating system is installed.
[0059]
Furthermore, in the above-described embodiment, one driver is associated with one hardware in the definition file stored in the CD-
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a schematic configuration of a computer system according to an embodiment.
FIG. 2 is a flowchart of a driver automatic installation program.
FIG. 3 is an explanatory diagram showing a definition file and hardware information detection values;
FIG. 4 is an explanatory diagram illustrating a driver list display screen.
FIG. 5 is an explanatory diagram showing a command line of a general-purpose installer.
[Explanation of symbols]
DESCRIPTION OF
Claims (10)
汎用インストーラをコールする際に利用されるコマンドラインを少なくとも含み前記コンピュータに接続可能な1又は複数のハードウェアのドライバ情報と各ハードウェアの識別情報の一部である特定部との対応関係を記憶する第1記憶手段と、
前記ドライバを汎用インストーラでインストールする際に必要となる所定形式で、前記コンピュータに接続されたハードウェアの識別情報を記憶する第2記憶手段と、
前記コンピュータに現に接続されているハードウェアから該ハードウェアの識別情報の特定部を取得し、該取得した識別情報の特定部に対応するドライバ情報を前記第1記憶手段から取得し、該取得したドライバ情報に該ドライバの専用インストーラの処理手順を記述したスクリプトが含まれるか否かを判定し、前記ドライバ情報に前記スクリプトが含まれていると判定されたときには、前記スクリプトを解釈実行して前記専用インストーラにより前記ドライバの自動インストールを実行し、前記ドライバ情報に前記スクリプトが含まれていないと判定されたときには、前記取得した識別情報の特定部を含む前記所定形式の識別情報を前記第2記憶手段から取得し、該第2記憶手段から取得した前記所定形式の識別情報と前記ドライバ情報に含まれるコマンドラインとを用いて汎用インストーラをコールして前記ドライバの自動インストールを実行するインストール実行手段と、
を備えたドライバインストールシステム。A driver installation system for automatically installing a driver for controlling hardware connected to a computer,
Stores correspondence between driver information of one or a plurality of hardware that includes at least a command line used when calling a general-purpose installer and can be connected to the computer, and a specific unit that is a part of identification information of each hardware First storage means for
Second storage means for storing identification information of hardware connected to the computer in a predetermined format required when installing the driver with a general-purpose installer;
To get a specific part of the hardware the hardware identification information from being currently connected to the computer, it acquires the corresponding driver information to a specific portion of the identification information Tokushi said mounting from said first storage means, It determines whether include script describing the processing procedure of the dedicated installer of the driver to the acquired driver information, when the script is determined to be included in the prior SL driver information, the script perform automatic installation of the driver by the dedicated installer interpreted and executed, and when the script is found not included in the prior SL driver information, the containing specific portions of the front Quito Tokushi were identification information acquires identification information of a predetermined format from said second memory means, to said identification information and the driver information of the predetermined format acquired from the second storage means And installation execution means for executing automatic installation of the driver by calling the installer using the Murrell command line,
Driver installation system with
前記第2取得手段が取得した前記ドライバ情報が複数のときには、各ドライバ情報につき前記判定手段の結果に応じて前記インストール実行手段が各ドライバを自動インストールする、ドライバインストールシステム。A driver installation system according to any one of claims 1 to 7
A driver installation system in which, when there are a plurality of pieces of driver information acquired by the second acquisition unit, the installation execution unit automatically installs each driver according to the result of the determination unit for each driver information.
前記コンピュータに現に接続されているハードウェアから該ハードウェアの前記識別情報の一部である特定部を取得する第1取得ステップと、
汎用インストーラをコールする際に利用されるコマンドラインを少なくとも含み前記コンピュータに接続可能な1又は複数のハードウェアのドライバ情報と各ハードウェアの識別情報の特定部との対応関係を記憶する第1記憶手段から、前記第1取得ステップで取得した前記識別情報の特定部に対応するドライバ情報を取得する第2取得ステップと、
前記第1取得ステップで取得した前記ドライバ情報に該ドライバの専用インストーラの処理手順を記述したスクリプトが含まれるか否かを判定する判定ステップと、
前記判定ステップで前記ドライバ情報に前記スクリプトが含まれていると判定されたときには、前記スクリプトを解釈実行して前記専用インストーラにより前記ドライバの自動インストールを実行し、前記判定ステップで前記ドライバ情報に前記スクリプトが含まれていないと判定されたときには、前記ドライバを汎用インストーラでインストールする際に必要となる所定形式で、前記コンピュータに接続されたハードウェアの識別情報を記憶する第2記憶手段から、前記第1取得ステップで取得した前記識別情報の特定部を含む前記所定形式の識別情報を取得し、該第2記憶手段から取得した前記所定形式の識別情報と前記ドライバ情報に含まれるコマンドラインとを用いて汎用インストーラをコールして自動インストールを実行するインストール実行ステップと、を含むドライバインストール方法。A driver installation method in which the computer automatically installs a driver for controlling hardware connected to the computer,
A first acquisition step of acquiring from a hardware currently connected to the computer a specific unit that is a part of the identification information of the hardware;
First memory for storing a correspondence relationship between driver information of one or a plurality of hardware that includes at least a command line used when calling a general-purpose installer and can be connected to the computer, and a specific portion of identification information of each hardware A second acquisition step of acquiring driver information corresponding to the identification part of the identification information acquired in the first acquisition step;
A determination step of determining whether or not the driver information acquired in the first acquisition step includes a script describing a processing procedure of a dedicated installer for the driver;
When it is determined in the determination step that the script is included in the driver information, the script is interpreted and executed, and the driver is automatically installed by the dedicated installer. In the determination step, the driver information is included in the driver information. When it is determined that a script is not included, from a second storage unit that stores identification information of hardware connected to the computer in a predetermined format required when installing the driver with a general-purpose installer, It acquires identification information of the predetermined format containing a specific portion of the identification information acquired by the first acquisition step, and a command line that is included in the identification information and the driver information of the predetermined format acquired from the second storage means Use this to call the generic installer and perform an automatic installation How to install the driver, including toll and the execution step, the.
前記コンピュータに対し、
前記コンピュータに現に接続されているハードウェアから該ハードウェアの前記識別情報の一部である特定部を取得する第1取得ステップと、
汎用インストーラをコールする際に利用されるコマンドラインを少なくとも含み前記コンピュータに接続可能な1又は複数のハードウェアのドライバ情報と各ハードウェアの識別情報の特定部との対応関係を記憶する第1記憶手段から、前記第1取得ステップで取得した前記識別情報の特定部に対応するドライバ情報を取得する第2取得ステップと、
前記第1取得ステップで取得した前記ドライバ情報に該ドライバの専用インストーラの処理手順を記述したスクリプトが含まれるか否かを判定する判定ステップと、
前記判定ステップで前記ドライバ情報に前記スクリプトが含まれていると判定されたときには、前記スクリプトを解釈実行して前記専用インストーラにより前記ドライバの自動インストールを実行し、前記判定ステップで前記ドライバ情報に前記スクリプトが含まれていないと判定されたときには、前記ドライバを汎用インストーラでインストールする際に必要となる所定形式で、前記コンピュータに接続されたハードウェアの識別情報を記憶する第2記憶手段から、前記第1取得ステップで取得した前記識別情報の特定部を含む前記所定形式の識別情報を取得し、該第2記憶手段から取得した前記所定形式の識別情報と前記ドライバ情報に含まれるコマンドラインとを用いて汎用インストーラをコールして自動インストールを実行するインストール実行ステップと、
を実行させるためのドライバインストールプログラム。A driver installation program for automatically installing a driver for controlling hardware connected to a computer,
For the computer
A first acquisition step of acquiring from a hardware currently connected to the computer a specific unit that is a part of the identification information of the hardware;
First memory for storing a correspondence relationship between driver information of one or a plurality of hardware that includes at least a command line used when calling a general-purpose installer and can be connected to the computer, and a specific portion of identification information of each hardware A second acquisition step of acquiring driver information corresponding to the identification part of the identification information acquired in the first acquisition step;
A determination step of determining whether or not the driver information acquired in the first acquisition step includes a script describing a processing procedure of a dedicated installer for the driver;
When it is determined in the determination step that the script is included in the driver information, the script is interpreted and executed, and the driver is automatically installed by the dedicated installer. In the determination step, the driver information is included in the driver information. When it is determined that a script is not included, from a second storage unit that stores identification information of hardware connected to the computer in a predetermined format required when installing the driver with a general-purpose installer, It acquires identification information of the predetermined format containing a specific portion of the identification information acquired by the first acquisition step, and a command line that is included in the identification information and the driver information of the predetermined format acquired from the second storage means Use this to call the generic installer and perform an automatic installation Tall execution step,
Driver installation program to execute.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002162561A JP4158422B2 (en) | 2002-06-04 | 2002-06-04 | Driver installation system, method thereof and program thereof |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002162561A JP4158422B2 (en) | 2002-06-04 | 2002-06-04 | Driver installation system, method thereof and program thereof |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2004013265A JP2004013265A (en) | 2004-01-15 |
| JP4158422B2 true JP4158422B2 (en) | 2008-10-01 |
Family
ID=30431273
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2002162561A Expired - Fee Related JP4158422B2 (en) | 2002-06-04 | 2002-06-04 | Driver installation system, method thereof and program thereof |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4158422B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2011081500A (en) * | 2009-10-05 | 2011-04-21 | Giga-Byte Technology Co Ltd | Operation system and operation method |
| CN111694604A (en) * | 2020-05-06 | 2020-09-22 | 新华三云计算技术有限公司 | Method, device and equipment for installing drivers in batches and machine-readable storage medium |
-
2002
- 2002-06-04 JP JP2002162561A patent/JP4158422B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2004013265A (en) | 2004-01-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6874405B2 (en) | Information processing equipment, programs, systems | |
| US7237238B2 (en) | Method and apparatus for automated operating systems upgrade | |
| KR100520058B1 (en) | System for upgrading device driver and method for upgrading the same | |
| US6581157B1 (en) | System and method for detecting and updating non-volatile memory on an electronic adapter board installed in a computing system | |
| US7395533B2 (en) | Information processing apparatus and method, computer program therefor, and computer-readable storage medium | |
| US7500026B2 (en) | Information processing apparatus control method for external device having both a wired interface and a wireless interface settings | |
| TW561412B (en) | System and method for providing hardware driver installation | |
| US7546597B2 (en) | Data processing apparatus having function of installing device drivers | |
| US20020001100A1 (en) | Image processing system, image data processing method, and storage medium | |
| US20050162688A1 (en) | Printing terminal, printing data outputting device, and computer and peripheral device using therefor | |
| JP2003308215A (en) | Information processing apparatus, control method, control program | |
| JP2003527654A (en) | Method, system and computer readable storage medium for automatic device driver configuration | |
| JP2010044579A (en) | Peripheral device, program, and driver installation system | |
| CA2508875A1 (en) | System and apparatus for eliminating user interaction during hardware configuration at system boot | |
| JP2007514217A (en) | Data exchange method between data processing apparatus and computer | |
| KR100601684B1 (en) | Method and system for driving an external storage device, image acquisition device, and driver | |
| JP4158423B2 (en) | Driver installation system, method thereof and program thereof | |
| JP2006024155A (en) | Peripheral device | |
| JP4158422B2 (en) | Driver installation system, method thereof and program thereof | |
| JP2003058378A (en) | Information processing apparatus, program installation method, storage medium, and program | |
| JP2004272764A (en) | Computer system function expansion method | |
| JP4141409B2 (en) | External peripherals | |
| JP2009009494A (en) | Information processing apparatus, information processing method, and control program | |
| US7825323B2 (en) | Electrical music apparatus capable of connecting with external device | |
| JP2007280171A (en) | Driver automatic installation device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050526 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20071206 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080401 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080526 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20080624 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20080707 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110725 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110725 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120725 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120725 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130725 Year of fee payment: 5 |
|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| LAPS | Cancellation because of no payment of annual fees |