JP2004005483A - Medium for recording installing program, installing device and installing method - Google Patents

Medium for recording installing program, installing device and installing method Download PDF

Info

Publication number
JP2004005483A
JP2004005483A JP2003072493A JP2003072493A JP2004005483A JP 2004005483 A JP2004005483 A JP 2004005483A JP 2003072493 A JP2003072493 A JP 2003072493A JP 2003072493 A JP2003072493 A JP 2003072493A JP 2004005483 A JP2004005483 A JP 2004005483A
Authority
JP
Japan
Prior art keywords
installation
information
database
device driver
driver
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.)
Granted
Application number
JP2003072493A
Other languages
Japanese (ja)
Other versions
JP3546962B2 (en
Inventor
Hikoyuki Osuda
大須田 彦之
Hiroshi Nakamura
中村 浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2003072493A priority Critical patent/JP3546962B2/en
Publication of JP2004005483A publication Critical patent/JP2004005483A/en
Application granted granted Critical
Publication of JP3546962B2 publication Critical patent/JP3546962B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To solve a problem in having occasionally installed a device driver on the basis of old information, and being unable to excellently install the device driver. <P>SOLUTION: A database is reconstructed (Step S150) after previously deleting an original information file (Step S140) when old installation information is included in the database constructed by installation information so as to prevent the device driver from being installed on the basis of the old information. <P>COPYRIGHT: (C)2004,JPO

Description

【特許請求の範囲】
【請求項1】デバイスドライバをコンピュータにインストールさせる際に、同コンピュータにてインストーラを起動させ、インストール情報を記述したテキストタイプの情報ファイルを中間ファイルにコンパイルしつつ、同中間ファイルを並び替えて結合し、ドライバ情報データベースを再構築させるインストールプログラムを記録した媒体であって、
上記インストーラを起動させると、同インストーラにて決定されているインストールすべきデバイスドライバの情報を利用して上記ドライバ情報データベースを検索するとともに、検索した結果、同デバイスドライバが上記ドライバ情報データベースにあると判断されると、上記ドライバ情報データベースに格納されている上記インストールすべきデバイスドライバのインストール情報のバージョンと、上記インストーラがインストールしようとしている情報ファイルにおけるインストール情報のバージョンとを対比してどちらが古いかを判断する判断ステップと、
上記ドライバ情報データベースに格納されている上記インストールすべきデバイスドライバのインストール情報である既存のバージョンの方が古いと判断した場合、所定のディレクトリ内に保存されている上記ドライバ情報データベースを構築する元となる情報ファイルから上記古いと判断されたインストール情報に該当する元の情報ファイルを削除する削除ステップと、
上記情報ファイルが削除された場合、上記ディレクトリ内に保存されている情報ファイルを中間ファイルにコンパイルしつつ、同中間ファイルを並び替えて結合し、上記ドライバ情報データベースを再構築させる再構築ステップとをコンピュータに実行させることを特徴とするインストールプログラムを記録した媒体。
【請求項2】上記請求項1に記載のインストールプログラムを記録した媒体において、
上記再構築ステップは、上記情報ファイルが削除された場合、フレキシブルディスクなどにより供給される情報ファイルからインストール情報を読み込むとともに、同情報ファイルを上記ディレクトリに書き込み、上記ドライバ情報データベースを再構築させることを特徴とするインストールプログラムを記録した媒体。
【請求項3】デバイスドライバをコンピュータにインストールさせる際に、同コンピュータにてインストーラを起動させ、インストール情報を記述したテキストタイプの情報ファイルを中間ファイルにコンパイルしつつ、同中間ファイルを並び替えて結合してドライバ情報データベースを再構築させるインストール装置であって、
上記インストーラを起動させると、同インストーラにて決定されているインストールすべきデバイスドライバの情報を利用して上記ドライバ情報データベースを検索するとともに、検索した結果、同デバイスドライバが上記ドライバ情報データベースにあると判断されると、上記ドライバ情報データベースに格納されているインストール情報のバージョンと、上記インストーラがインストールしようとしている情報ファイルにおけるインストール情報のバージョンとを対比してどちらが古いかを判断する判断手段と、
上記ドライバ情報データベースに格納されているインストール情報である既存のバージョンの方が古いと判断した場合、所定のディレクトリ内に保存されている上記ドライバ情報データベースを構築する元となる情報ファイルから上記古いと判断されたインストール情報に該当する元の情報ファイルを削除する削除手段と、
上記情報ファイルが削除された場合、上記ディレクトリ内に保存されている情報ファイルを中間ファイルにコンパイルしつつ、同中間ファイルを並び替えて結合し、上記ドライバ情報データベースを再構築させる再構築手段とを具備することを特徴とするインストール装置。
【請求項4】デバイスドライバをコンピュータにインストールさせる際に、同コンピュータにてインストーラを起動させ、インストール情報を記述したテキストタイプの情報ファイルを中間ファイルにコンパイルしつつ、同中間ファイルを並び替えて結合してドライバ情報データベースを再構築させるインストール方法であって、
上記インストーラを起動させると、同インストーラにて決定されているインストールすべきデバイスドライバの情報を利用して上記ドライバ情報データベースを検索するとともに、検索した結果、同デバイスドライバが上記ドライバ情報データベースにあると判断されると、上記ドライバ情報データベースに格納されているインストール情報のバージョンと、上記インストーラがインストールしようとしている情報ファイルにおけるインストール情報のバージョンとを対比してどちらが古いかを判断する判断工程と、
上記ドライバ情報データベースに格納されているインストール情報である既存のバージョンの方が古いと判断した場合、所定のディレクトリ内に保存されている上記ドライバ情報データベースを構築する元となる情報ファイルから上記古いと判断されたインストール情報に該当する元の情報ファイルを削除する削除工程と、
上記情報ファイルが削除された場合、上記ディレクトリ内に保存されている情報ファイルを中間ファイルにコンパイルしつつ、同中間ファイルを並び替えて結合し、上記ドライバ情報データベースを再構築させる再構築工程とを具備することを特徴とするインストール方法。
【発明の詳細な説明】
【0001】
【発明の属する技術分野】
本発明は、インストールプログラムを記録した媒体、インストール装置およびインストール方法に関する。
【0002】
【従来の技術】
近年のコンピュータでは、各種のハードウェアを制御できるようにするため、デバイスドライバが利用されており、このデバイスドライバはコンピュータにインストールされて利用可能となる。このデバイスドライバをインストールするためには、デバイスドライバ情報データベースが利用される。
【0003】
デバイスドライバ情報データベースは、コンピュータシステムに予め用意されているか、過去にインストールされたことのあるデバイスデバイスドライバの情報ファイルをもとに、システム固有の構造にコンパイル(形式化)し、結合されたものである。
【0004】
デバイスドライバ情報データベースを利用する際には、予め組み込まれているデバイスドライバを対応するハードウェアの一覧として表示して選択できるようにしつつ、これに含まれていない場合にはハードウェアと一緒に供給されるフレキシブルディスクなどから情報ファイルを取り込めるようになっている。そして、指定された情報ファイルに記載されたインストール情報に基づいて必要なデバイスドライバファイルをコンピュータ内に取り込んでインストール作業を終了する。
【0005】
【発明が解決しようとする課題】
デバイスドライバは適宜改良される性質を有しているが、上述した従来のコンピュータにおいては、インストールしようとしているデバイスドライバについての古いインストール情報がデータベースに組み込まれていると、古い情報に基づいてデバイスドライバをインストールしてしまったり、あるいは、インストールをうまく行えないという課題があった。
【0006】
本発明は、上記課題にかんがみてなされたもので、古いインストール情報に基づいてデバイスドライバをインストールしてしまうことを未然に防ぐことが可能なインストールプログラムを記録した媒体、インストール装置およびインストール方法の提供を目的とする。
【0007】
【課題を解決するための手段】
上記目的を達成するため、請求項1にかかる発明は、デバイスドライバをコンピュータにインストールさせる際に、同コンピュータにてインストーラを起動させ、インストール情報を記述したテキストタイプの情報ファイルを中間ファイルにコンパイルしつつ、同中間ファイルを並び替えて結合し、ドライバ情報データベースを再構築させるインストールプログラムを記録した媒体であって、上記インストーラを起動させると、同インストーラにて決定されているインストールすべきデバイスドライバの情報を利用して上記ドライバ情報データベースを検索するとともに、検索した結果、同デバイスドライバが上記ドライバ情報データベースにあると判断されると、上記ドライバ情報データベースに格納されている上記インストールすべきデバイスドライバのインストール情報のバージョンと、上記インストーラがインストールしようとしている情報ファイルにおけるインストール情報のバージョンとを対比してどちらが古いかを判断する判断ステップと、上記ドライバ情報データベースに格納されている上記インストールすべきデバイスドライバのインストール情報である既存のバージョンの方が古いと判断した場合、所定のディレクトリ内に保存されている上記ドライバ情報データベースを構築する元となる情報ファイルから上記古いと判断されたインストール情報に該当する元の情報ファイルを削除する削除ステップと、上記情報ファイルが削除された場合、上記ディレクトリ内に保存されている情報ファイルを中間ファイルにコンパイルしつつ、同中間ファイルを並び替えて結合し、上記ドライバ情報データベースを再構築させる再構築ステップとをコンピュータに実行させる構成としてある。
【0008】
上記のように構成した請求項1にかかる発明においては、インストールする際に最初の判断ステップで該当するデバイスドライバの古いインストール情報がドライバ情報データベースに組み込まれているか否かを判断する。そして、組み込まれていると判断された場合には再構築ステップにて該当するインストール情報を削除して上記ドライバ情報データベースを構成し直す。
【0009】
これによりインストールウィザードが起動される前、インストールしようとしているデバイスドライバについて古い情報ファイルがあった場合には、ドライバ情報データベースから削除されている。従って、このような場合には、インストールウィザードの表示欄にインストールしようとするデバイスドライバが表示されず、「ディスク使用」のコマンドボタンを実行させなければならない。そして、このことは誤って古い情報ファイルに基づいてデバイスドライバをインストールしてしまうことを防止することができることを意味する。
【0010】
さらに、請求項2にかかる発明は、請求項1に記載のインストールプログラムを記録した媒体において、上記再構築ステップは、上記情報ファイルが削除された場合、フレキシブルディスクなどにより供給される情報ファイルからインストール情報を読み込むとともに、同情報ファイルを上記ディレクトリに書き込み、上記ドライバ情報データベースを再構築させる構成としてある。
【0011】
上記のように構成した請求項2にかかる発明において、再構築ステップは削除ステップにて情報ファイルが削除された場合に、フレキシブルディスクなどに供給される情報ファイルを読み込んで上述した所定のディレクトリに書き込む。そして、再構築ステップはこのディレクトリに格納された情報ファイルに基づいてドライバ情報データベースを再構築する。
【0012】
むろん、このような記録媒体は、磁気記録媒体であってもよいし光磁気記録媒体であってもよいし、今後開発されるいかなる記録媒体においても全く同様に考えることができる。また、一次複製品、二次複製品などの複製段階については全く問う余地無く同等である。その他、供給方法として通信回線を利用して行なう場合でも本発明が利用されていることにはかわりない。
【0013】
さらに、一部がソフトウェアであって、一部がハードウェアで実現されている場合においても発明の思想において全く異なるものではなく、一部を記録媒体上に記憶しておいて必要に応じて適宜読み込まれるような形態のものとしてあってもよい。
【0014】
このように、予め古いインストール情報をデータベースから除去しておく手法は実体のあるコンピュータにおいて実現され、その意味で本発明をそのようなコンピュータを含んだ実体のある装置としても適用可能であることは容易に理解できる。このため、請求項3にかかる発明は、デバイスドライバをコンピュータにインストールさせる際に、同コンピュータにてインストーラを起動させ、インストール情報を記述したテキストタイプの情報ファイルを中間ファイルにコンパイルしつつ、同中間ファイルを並び替えて結合してドライバ情報データベースを再構築させるインストール装置であって、上記インストーラを起動させると、同インストーラにて決定されているインストールすべきデバイスドライバの情報を利用して上記ドライバ情報データベースを検索するとともに、検索した結果、同デバイスドライバが上記ドライバ情報データベースにあると判断されると、上記ドライバ情報データベースに格納されているインストール情報のバージョンと、上記インストーラがインストールしようとしている情報ファイルにおけるインストール情報のバージョンとを対比してどちらが古いかを判断する判断手段と、上記ドライバ情報データベースに格納されているインストール情報である既存のバージョンの方が古いと判断した場合、所定のディレクトリ内に保存されている上記ドライバ情報データベースを構築する元となる情報ファイルから上記古いと判断されたインストール情報に該当する元の情報ファイルを削除する削除手段と、上記情報ファイルが削除された場合、上記ディレクトリ内に保存されている情報ファイルを中間ファイルにコンパイルしつつ、同中間ファイルを並び替えて結合し、上記ドライバ情報データベースを再構築させる再構築手段とを具備する構成としてある。
【0015】
すなわち、コンピュータで制御される実体のある装置としても有効であることに相違はない。むろん、このようなインストール装置は単独で実施される場合もあるし、ある機器に組み込まれた状態で他の方法とともに実施されることもあるなど、発明の思想としてはこれに限らず、各種の態様を含むものであって、適宜、変更可能である。
【0016】
また、このようなインストールプログラムを記録した媒体はかかる制御に従って処理を進めていく上で、その根底にはその手順に発明が存在するということは当然であり、方法としても適用可能であることは容易に理解できる。このため、請求項4にかかる発明は、デバイスドライバをコンピュータにインストールさせる際に、同コンピュータにてインストーラを起動させ、インストール情報を記述したテキストタイプの情報ファイルを中間ファイルにコンパイルしつつ、同中間ファイルを並び替えて結合してドライバ情報データベースを再構築させるインストール方法であって、上記インストーラを起動させると、同インストーラにて決定されているインストールすべきデバイスドライバの情報を利用して上記ドライバ情報データベースを検索するとともに、検索した結果、同デバイスドライバが上記ドライバ情報データベースにあると判断されると、上記ドライバ情報データベースに格納されているインストール情報のバージョンと、上記インストーラがインストールしようとしている情報ファイルにおけるインストール情報のバージョンとを対比してどちらが古いかを判断する判断工程と、上記ドライバ情報データベースに格納されているインストール情報である既存のバージョンの方が古いと判断した場合、所定のディレクトリ内に保存されている上記ドライバ情報データベースを構築する元となる情報ファイルから上記古いと判断されたインストール情報に該当する元の情報ファイルを削除する削除工程と、上記情報ファイルが削除された場合、上記ディレクトリ内に保存されている情報ファイルを中間ファイルにコンパイルしつつ、同中間ファイルを並び替えて結合し、上記ドライバ情報データベースを再構築させる再構築工程とを具備する構成としてある。
【0017】
すなわち、必ずしも実体のある媒体などに限らず、その方法としても有効であることに相違はない。
【0018】
【発明の効果】
以上説明したように本発明は、古い情報に基づいてデバイスドライバをインストールしてしまうことを防止することが可能なインストールプログラムを記録した媒体を提供することができる。
さらに、請求項2にかかる発明によれば、インストールしようとするデバイスドライバをインストールウィザードにて必ず見つけることができる。
さらに、請求項4にかかる発明によれば、同様の効果を奏するインストール装置を提供することができ、請求項5にかかる発明によれば、インストール方法を提供することができる。
【0019】
【発明の実施の形態】
以下、図面にもとづいて本発明の実施形態を説明する。
図1は、本発明の一実施形態にかかるインストールプログラム(インストーラ)の概略フローを示しており、図2は典型的なパソコン10の概略構成を示している。ここで、まずハードウェアとしてのパソコン10の構成について説明する。
【0020】
パソコン10は演算処理の中枢をなすCPU11を備えており、このCPU11にはCPUバス12を介して二次キャッシュ13やデータバスユニット14やシステムコントローラ15が接続されている。近年のパソコンでは処理効率を向上させるためにCPUバス12のクロックスピードを上げており、遅いメモリ16はデータバスユニット14やシステムコントローラ15を介してCPU11によってアクセスされるようになっている。なお、このメモリ16にはバイオスエリアなどのROMエリアとともにRAMエリアも含まれている。
【0021】
同様にインターフェイス類も速いCPUバス12と直に接続することはできず、データバスユニット14やシステムコントローラ15によって汎用高速バスであるPCIバス17が提供されている。このPCIバス17にはパソコン10自体が直接持つPS/2ポートやパラレルポートやシリアルポートなどの通信用インターフェイスとともにフロッピーディスクを接続するための共通インターフェイス18が接続され、また、特に高速性を要求されるハードディスクやCD−ROMを接続してDMA転送させるためのバスマスタ19も接続されている。
【0022】
PCIバスには直にPCIデバイス21を接続できるほか、ISAブリッジ22を介してデータ幅の狭い旧式の汎用バスであるISAバス23を提供しており、このISAバス23を介してISAデバイス24を接続できるようになっている。
【0023】
図3はこのパソコン10に対する周辺機器を示しており、キーボード25とマウス26はPS/2ポートを介して、プリンタ27はパラレルポートを介して、モデム28はシリアルポートを介してそれぞれ共通インターフェイス18に接続されている。スキャナ29はPCIデバイス21としてのSCSIカード21aを介してPCIバス17に接続され、このSCSIカード21aに対しては各種の外部機器を接続可能であり、光磁気記憶装置32などを接続したりすることができる。また、ディスプレイ31は、ディスプレイコントローラカード21bを介して接続され、ハードディスク19aとCD−ROMドライブ19bはバスマスタ19を介してPCIバス17に接続されている。
【0024】
ISAデバイス24としてはさまざまな機器が提供されているが、PCMCIAカード24aを利用すればPCMCIAカードソケットを33を接続でき、画像データを記録したメモリカード34を装着してデータの入出力が容易になる。このメモリカード34はデジタルスチルカメラ35であるとか、他のモバイルパソコンなどからのデータを入力することも容易である。
【0025】
パソコン10にはこれらの他にもビデオカードを介して外部ディスプレイを接続する他、LANカードを接続してネットワークに接続することが可能であるし、赤外線通信装置を介して他の外部機器と接続したりすることも可能である。
【0026】
以上がパソコンシステムのハードウェアの概略構成であり、かかるハードウェアを前提として、パソコン10上では図4に示す態様でソフトウェアが実行されている。すなわち、上記ハードウェア41を基礎としてバイオス42が実行され、その上層にてオペレーティングシステム43とアプリケーション44が実行される。基本的にはオペレーティングシステム43がバイオス42を介するか直にハードウェア41とアクセスし、アプリケーション44はこのオペレーティングシステム43を介してハードウェア41とデータなどのやりとりを行う。例えば、ハードディスク19aからデータを読み込むには、オペレーティングシステム43を介してハードウェア41にアクセスする。この他、オペレーティングシステム43にはハードウェア41を制御するための各種のデバイスドライバを組み込むことが可能であり、組み込まれたデバイスドライバ類はオペレーティングシステム43の一部となって各種の制御を実行する。
【0027】
このようなデバイスドライバは予めシステムに組み込まれているものもあるし、新たにハードウェアを接続したときに組み込む必要が生じるものもある。前者の類として、ビデオカードを介して外部のディスプレイ31への表示を制御するためのディスプレイドライバなどがあり、後者の類として、プリンタ27への印字制御を実行するプリンタドライバなどがあるが、特にこれらを区別する必要もない。デバイスドライバを追加する際にはドライバ情報データベースを参照してインストール作業を実行する。
【0028】
図5はこのドライバ情報データベースの構造を示している。プリンタ27を制御するためのプリンタドライバを例にすると、当該プリンタ27の製造メーカーなどは当該プリンタ27を各種のオペレーティングシステム43のもとで制御できるようにするためのデバイスドライバを製品とともに出荷する。デバイスドライバは、通常、オペレーティングシステム43ごとに相違するので、適当なデバイスドライバをインストールさせるためにインストール情報を記述した情報ファイル(infファイル)も提供される。
【0029】
同図右欄にはテキストタイプで記述された情報ファイルの中身を示している。この情報ファイルに要求される形式は、
1.一つの情報ごとに改行されること
2.予め決められている分類項目は[]でくくること
3.[]でくくられた分類項目行に続いて、当該分類項目に関連する情報を記載すること
という決まりはあるものの、分類項目の記載の順序などは自由である。従って、常にこの情報ファイルを参照してインストール作業を実行することになると、処理が煩雑になりかねない。ただ、この時点で決まりを細かくしすぎると、単に記載順序を誤っただけでもインストールに利用できなくなるなどの弊害があり、自由度は敢えて高めにしてある。また、テキストタイプの記述としているのは、加筆・修正などが容易になるというメリットもあるからである。
【0030】
このようなテキストタイプの情報ファイルにおける長所・短所に鑑み、この情報ファイルをもとにして同図中欄に示すようなバイナリタイプの中間ファイルにコンパイルするとともに、バイナリタイプの複数の中間ファイルを結合してバイナリタイプのドライブ情報データベースを構築して利用している。
【0031】
図6は、複数の情報ファイルから中間ファイルを生成して一つのデータベースに結合する過程を簡略化して示しており、図7は処理の概略を示すフローチャートである。予め決められているinfファイル用のディレクトリ内で全ての情報ファイルを中間ファイルにコンパイルし(ステップS210)、中間ファイル同士を所定の順序に並び替え(ステップS220)、並び替えた順序に従って中間ファイル同士を結合させる(ステップS230)。この結合時には、ファイル内容を検索できるようにするためのアロケーション情報も併せて生成している。
【0032】
ここで、新たにデバイスドライバをインストールする際の処理について説明する。図1に示すインストーラが起動されると、まず、ステップS100ではドライバ情報データベースに該当するデバイスドライバ(以下、ドライバと呼ぶ)が組み込まれているか判断する。各インストーラはインストールすべきドライバが決定されているので、その情報を利用してドライバ情報データベースを検索する。むろん、インストールすべきドライバ自体を特定するためのデータファイルを用意しておき、このデータファイルを読み込んでインストールすべきドライバを特定する汎用型の構成とすることも可能である。
【0033】
検索した結果、該当するドライバがなければ古い情報に基づいてインストールすることはない。このため、ステップS110の判断を経て後述するステップS160のインストールウィザードを起動する。一方、ステップS110の判断でドライバがあると判断されると、ステップS120ではバージョンを比較する。データベースには中間ファイルの形態でバイナリタイプにコンパイルされたインストール情報が格納されているが、当該インストール情報のバージョンと、インストーラがインストールしようとしている情報ファイルにおけるインストール情報のバージョンとを対比してどちらが古いかを判断する。
【0034】
ただし、バージョンのデータは必ず存在するわけではないし、その名称も自由である。図1に示す例では、”[LastUpdate]”という分類項目があり、そこで最終更新日の日付”1998/11/30”が記録されている。一方のデータベース内にはコンパイルされてはいるものの、”LastUpdate=1998/01/01”という情報が組み込まれている。
【0035】
従って、ステップS130では既存のバージョンの方が古いと判断して、ステップS140で該当する情報ファイルを削除する。上述したようにデータベースを構築する元となる情報ファイルはinfファイルとして所定のディレクトリ内に全て保存されている。従って、このディレクトリ内で該当する元の情報ファイルを削除する。
【0036】
削除したら、ステップS150では上述したドライバ情報データベース構築モジュールを起動する。すると、上述したように全ての情報ファイルを中間ファイルにコンパイルしつつ、中間ファイルを並び替えて結合してデータベースを再構築する。むろん、このようにして再構築したデータベースには、該当するドライバの情報ファイルは含まれていない。この過程を図8に示している。該当する情報ファイル(inf3)を削除して再構築するので、データベースには他の情報ファイル(inf1,inf2)のインストール情報だけが組み込まれることになる。
【0037】
以上の流れをまとめると、次のようになる。
1.該当するドライバがもともとデータベースにない場合は、インストールウィザードを実行する時点でデータベースには当該ドライバのインストール情報は組み込まれていない。また、このデータベースには変更は加えられていない。
【0038】
2.該当するドライバがあるものの新しいインストール情報がデータベースにある場合には、データベースに変更は加えられず、かつ、インストールウィザードを実行する時点でデータベースには当該ドライバのインストール情報が組み込まれている。
【0039】
3.該当するドライバがデータベースにあったものの古い情報ファイルであった場合は、インストールウィザードを実行する時点でデータベースには当該ドライバのインストール情報は組み込まれておらず、かつ、このデータベース自体は再構築したものとなっている。
【0040】
この状態でステップS160にてインストールウィザードを実行する。図9はインストールウィザードの処理をフローチャートにより示しており、図10は表示・選択画面の一例を示している。
【0041】
インストールウィザードが起動されると、まず、ステップS300にてドライバ情報データベースに組み込まれているドライバを表示し、キーボード25とマウス26による選択を待機する。図10に示す画面は、プリンタのドライバを追加する際のウィザード画面を示しており、左の表示欄W11に製造元を表示し、いずれかの製造元を選択すると、当該製造元に対応する個々のプリンタが右の表示欄W12に表示されるので、インストールしようとするプリンタを選択して反転させる。表示画面の下部には「戻る」、「次へ」、「キャンセル」というコマンドボタンW21,W22,W23が配置され、インストールしようとしているプリンタが表示されて選択できた場合には「次へ」のコマンドボタンW22を実行させる。すると、ステップS310にて既存のドライバを選択したと判断され、ステップS320にてデータベースに組み込まれているインストール情報を抽出し、ステップS350にて該当するドライバファイルをシステムにインストールする。
【0042】
一方、表示欄W11,W12でインストールしようとするプリンタが表示されない場合には、「ディスク使用」のコマンドボタンW31を実行させると、フレキシブルディスクなどから情報ファイルを供給することができる。この場合、ステップS310では既存のドライバを選択しなかったと判断され、ステップS330にてフラグをセットしつつステップS340にてフレキシブルディスクの情報ファイルからインストール情報を読み込む。
【0043】
このインストールウィザードが起動される前、インストールしようとしているドライバについて古い情報ファイルがあった場合には、データベースから削除されている。従って、このような場合には、表示欄W11,W12でインストールしようとするプリンタが表示されず、「ディスク使用」のコマンドボタンW31を実行させなければならない。そして、このことは誤って古い情報ファイルに基づいてドライバをインストールしてしまうことを防止できることを意味する。
【0044】
ステップS350にて順調に該当するドライバファイルをインストールできたら、ステップS360ではステップS330にてセットされるフラグの状況を判定する。ここでは、ディスク使用でインストール情報を読み込んだ場合にはデータベースにも反映させる処理を行う。まず、ステップS370にて情報ファイルを上記所定のディレクトリにコピーし、ステップS380にてドライバ情報データベース構築モジュールを起動させる。すると、図11に示すように、新たにコピーした情報ファイル(inf31)を含んだデータベースが再構築される。
【0045】
この例では、予め該当するドライバの情報ファイルを削除してデータベースを再構築しておき、このデータベースにドライバがないときには改めて情報ファイルをコピーしてデータベースを再構築する。従って、再構築の作業を2回繰り返すことになる。これは通常の処理手順をできるだけ利用することでインストールプログラムの負担を軽減させるメリットがあるが、作業時間の面では効率的ではない。これに対し、ステップS140で該当する情報ファイルを削除した後、フレキシブルディスクの情報ファイルを読み込む(ステップS340と同様の処理)とともに、その情報ファイルを上記所定のディレクトリに書き込み(ステップS370と同様の処理)、ステップS150でデータベースを再構築することも可能である。
【0046】
このようにすれば、ステップS160にてインストールウィザードを実行させたときに表示欄W11,W12にて上記情報ファイルに含まれていたインストール情報が表示されるので、インストールしようとするプリンタは必ず見つかることになる。従って、ステップS330にてフラグをセットする処理は実行されず、ステップS380にてデータベースを再構築することもなくなる。
【0047】
また、上述した例では、データベースから古いインストール情報を削除するためには元の情報ファイルを削除してデータベースを再構築するという手法を実行している。しかしながら、データベースが中間ファイルの結合であることから、該当部分を削除して連結し直したり、あるいはデータベースで表示されるドライバの名前を書き換えて選択できなくすることによっても同様に古い情報を利用することを防止できるようになる。むろん、後者の場合は使わない情報が残ることになるので、ベストモードではないもののシステム次第では利用可能である。
【0048】
このように、インストール情報によって構築されたデータベースに古いインストール情報が含まれているような場合には、予め元の情報ファイルを削除(ステップS140)してからデータベースを再構築する(ステップS150)ようにしたため、古い情報に基づいてデバイスドライバをインストールしてしまうことを防止することができる。
【図面の簡単な説明】
【図1】本発明の一実施形態にかかるインストールプログラムのフローチャートである。
【図2】パソコンの概略ブロック図である。
【図3】パソコンへの周辺装置の接続状況を示す概略ブロック図である。
【図4】パソコンのソフトウェアの構成を示す図である。
【図5】ドライバ情報のデータベースの構成を示す図である。
【図6】情報ファイルからデータベースを構築する過程を示す図である。
【図7】ドライバ情報データベース構築モジュールのフローチャートである。
【図8】古い情報ファイルを削除してデータベースを再構築する過程を示す図である。
【図9】インストールウィザードのフローチャートである。
【図10】インストールウィザードの表示画面を示す図である。
【図11】情報ファイルに新しい情報ファイルを加えてデータベースを再構築する過程を示す図である。
【符号の説明】
10…パソコン
11…CPU
12…CPUバス
13…二次キャッシュ
14…データバスユニット
15…システムコントローラ
16…メモリ
17…PCIバス
18…共通インターフェイス
19…バスマスタ
19a…ハードディスク
19b…CD−ROMドライブ
21…PCIデバイス
21a…SCSIカード
22…ISAブリッジ
23…ISAバス
24…ISAデバイス
24a…PCMCIAカード
25…キーボード
26…マウス
27…プリンタ
28…モデム
29…スキャナ
31…デジタルビデオカメラ
32…光磁気記憶装置
33…PCMCIAカードソケット
34…メモリカード
35…デジタルスチルカメラ
41…ハードウェア
42…バイオス
43…オペレーティングシステム
43a…プリンタドライバ
44…アプリケーション
[Claims]
When a device driver is installed in a computer, an installer is started on the computer, and while compiling a text type information file describing installation information into an intermediate file, the intermediate file is rearranged and combined. And a medium recording an installation program for rebuilding the driver information database,
When the installer is started, the driver information database is searched using the information on the device driver to be installed determined by the installer, and as a result of the search, the device driver is found in the driver information database. If determined, the version of the installation information of the device driver to be installed stored in the driver information database is compared with the version of the installation information in the information file to be installed by the installer to determine which is older. A determining step of determining;
If it is determined that the existing version, which is the installation information of the device driver to be installed, stored in the driver information database is older, the source of the driver information database stored in a predetermined directory and A deletion step of deleting the original information file corresponding to the installation information determined to be old from the information file
A step of compiling the information file stored in the directory into an intermediate file, rearranging and combining the intermediate file, and reconstructing the driver information database when the information file is deleted. A medium on which an installation program characterized by being executed by a computer is recorded.
2. A medium on which the installation program according to claim 1 is recorded.
The rebuilding step includes, when the information file is deleted, reading installation information from an information file supplied by a flexible disk or the like, writing the information file to the directory, and rebuilding the driver information database. A medium on which a characteristic installation program is recorded.
3. When installing a device driver on a computer, an installer is started on the computer, and while compiling a text-type information file describing installation information into an intermediate file, the intermediate file is rearranged and combined. An installation device for rebuilding the driver information database by performing
When the installer is started, the driver information database is searched using the information on the device driver to be installed determined by the installer, and as a result of the search, the device driver is found in the driver information database. When it is determined, the version of the installation information stored in the driver information database and the version of the installation information in the information file that the installer is trying to install, comparing the version of the installation information, to determine which is older,
If it is determined that the existing version, which is the installation information stored in the driver information database, is older, it is determined from the information file used to construct the driver information database stored in a predetermined directory that the driver information is older. Deleting means for deleting the original information file corresponding to the determined installation information;
Rebuilding means for rearranging and combining the intermediate files while compiling the information files stored in the directory into intermediate files when the information files are deleted, and rebuilding the driver information database. An installation device, comprising:
4. When installing a device driver on a computer, an installer is started on the computer, and while compiling a text-type information file describing installation information into an intermediate file, the intermediate file is rearranged and combined. Installation method to rebuild the driver information database
When the installer is started, the driver information database is searched using the information on the device driver to be installed determined by the installer, and as a result of the search, the device driver is found in the driver information database. When determined, a step of comparing the version of the installation information stored in the driver information database with the version of the installation information in the information file that the installer is about to install, and determining which is older,
If it is determined that the existing version, which is the installation information stored in the driver information database, is older, it is determined from the information file used to construct the driver information database stored in a predetermined directory that the driver information is older. A deletion step of deleting the original information file corresponding to the determined installation information;
A step of compiling the information file stored in the directory into an intermediate file, rearranging and combining the intermediate file, and reconstructing the driver information database when the information file is deleted. An installation method, comprising:
DETAILED DESCRIPTION OF THE INVENTION
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a medium recording an installation program, an installation device, and an installation method.
[0002]
[Prior art]
In recent computers, device drivers are used in order to control various types of hardware. The device drivers are installed in the computers and can be used. In order to install this device driver, a device driver information database is used.
[0003]
The device driver information database is compiled (formatted) into a system-specific structure based on information files of device device drivers that have been prepared in the computer system or that have been installed in the past, and are combined. It is.
[0004]
When using the device driver information database, the device driver installed in advance is displayed as a list of corresponding hardware so that it can be selected, and if it is not included, it is supplied together with the hardware Information files can be imported from flexible disks and the like. Then, based on the installation information described in the specified information file, a necessary device driver file is fetched into the computer, and the installation operation is completed.
[0005]
[Problems to be solved by the invention]
Although the device driver has a property that can be appropriately improved, in the above-described conventional computer, if old installation information about the device driver to be installed is incorporated in the database, the device driver is updated based on the old information. Had to be installed, or the installation was not successful.
[0006]
SUMMARY An advantage of some aspects of the invention is to provide a medium, an installation device, and an installation method that record an installation program capable of preventing a device driver from being installed based on old installation information. With the goal.
[0007]
[Means for Solving the Problems]
In order to achieve the above object, according to the first aspect of the present invention, when a device driver is installed in a computer, an installer is started on the computer, and a text-type information file describing installation information is compiled into an intermediate file. A medium that records an installation program for rearranging and combining the intermediate files and reconstructing a driver information database, and when the installer is started, the device driver to be installed determined by the installer is The device information is searched using the driver information database. If the device driver is found to be in the driver information database as a result of the search, the data to be installed stored in the driver information database is stored. A step of comparing the version of the installation information of the chair driver with the version of the installation information in the information file to be installed by the installer to determine which is older, and the step of installing the driver stored in the driver information database. If it is determined that the existing version, which is the installation information of the device driver to be used, is older, the installation information determined to be older is obtained from the information file from which the driver information database is stored and stored in a predetermined directory. Deleting the original information file corresponding to the above, and, when the information file is deleted, rearranging the intermediate file while compiling the information file stored in the directory into an intermediate file Bound, it is constituted to execute a reconstruction step of reconstructing the driver information database on the computer.
[0008]
In the invention according to claim 1 configured as described above, at the time of installation, it is determined in a first determination step whether old installation information of the corresponding device driver is incorporated in the driver information database. If it is determined that the driver information database is incorporated, the corresponding installation information is deleted in the rebuilding step and the driver information database is reconfigured.
[0009]
As a result, before the installation wizard is started, if there is an old information file for the device driver to be installed, it is deleted from the driver information database. Therefore, in such a case, the device driver to be installed is not displayed in the display field of the installation wizard, and the command button of “USE DISK” must be executed. This means that a device driver can be prevented from being erroneously installed based on an old information file.
[0010]
Further, according to a second aspect of the present invention, in the medium on which the installation program according to the first aspect is recorded, when the information file is deleted, the installation is performed from an information file supplied by a flexible disk or the like. The information is read, the information file is written in the directory, and the driver information database is reconstructed.
[0011]
In the invention according to claim 2 configured as described above, when the information file is deleted in the deleting step, the information file supplied to the flexible disk or the like is read and written in the above-mentioned predetermined directory. . Then, the rebuilding step rebuilds the driver information database based on the information files stored in this directory.
[0012]
Of course, such a recording medium may be a magnetic recording medium or a magneto-optical recording medium, and can be considered in the same manner in any recording medium to be developed in the future. Further, the duplication stages of the primary duplicated product, the secondary duplicated product and the like are equivalent without any question. In addition, the present invention is not limited to the case where the present invention is used even when the supply is performed using a communication line.
[0013]
Further, even when a part is implemented by software and a part is implemented by hardware, the concept of the present invention is not completely different, and a part is stored on a recording medium and appropriately It may be in a form that can be read.
[0014]
As described above, the method of removing old installation information from the database in advance is realized in a substantial computer, and in that sense, the present invention can be applied to a substantial device including such a computer. Easy to understand. Therefore, according to the invention according to claim 3, when the device driver is installed in the computer, the installer is started on the computer, and a text-type information file describing the installation information is compiled into an intermediate file. An installation apparatus for rearranging and combining files to reconstruct a driver information database, wherein when the installer is started, the driver information is used by using information of a device driver to be installed determined by the installer. The database is searched, and as a result of the search, if it is determined that the device driver is in the driver information database, the version of the installation information stored in the driver information database and the installer are installed. When comparing with the version of the installation information in the information file to be updated to determine which is older, and when it is determined that the existing version which is the installation information stored in the driver information database is older. Deleting means for deleting the original information file corresponding to the installation information determined to be old from the information file from which the driver information database stored in the predetermined directory is built, and the information file is deleted. In this case, the information file stored in the directory is compiled into an intermediate file, and the intermediate files are rearranged and combined to reconstruct the driver information database. .
[0015]
That is, there is no difference that the present invention is effective as a substantial device controlled by a computer. Of course, such an installation device may be implemented alone, or may be implemented together with another method in a state of being incorporated in a certain device, and the idea of the invention is not limited to this. It includes embodiments and can be changed as appropriate.
[0016]
In addition, when the medium on which such an installation program is recorded proceeds in accordance with such control, it is natural that the invention exists in the procedure at the root thereof, and that the method can be applied as a method. Easy to understand. For this reason, the invention according to claim 4 is characterized in that when installing a device driver on a computer, the installer is started on the computer, and a text-type information file describing installation information is compiled into an intermediate file. An installation method for rearranging and combining files to rebuild a driver information database. When the installer is started, the driver information is used by using information of a device driver to be installed determined by the installer. The database is searched, and as a result of the search, if it is determined that the device driver is in the driver information database, the version of the installation information stored in the driver information database and the installer are installed. When comparing the version of the installation information in the information file to be updated to determine which is older, and when it is determined that the existing version which is the installation information stored in the driver information database is older. A deletion step of deleting an original information file corresponding to the installation information determined to be old from an information file which is stored in a predetermined directory and which is used to construct the driver information database; and In this case, the information file stored in the directory is compiled into an intermediate file, the intermediate files are rearranged and combined, and a rebuilding step of rebuilding the driver information database is provided. .
[0017]
In other words, there is no difference that the method is not necessarily limited to a tangible medium or the like but is effective as a method.
[0018]
【The invention's effect】
As described above, the present invention can provide a medium recording an installation program capable of preventing a device driver from being installed based on old information.
Further, according to the second aspect of the present invention, a device driver to be installed can always be found by the installation wizard.
Further, according to the invention according to claim 4, it is possible to provide an installation device having the same effect, and according to the invention according to claim 5, it is possible to provide an installation method.
[0019]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
FIG. 1 shows a schematic flow of an installation program (installer) according to an embodiment of the present invention, and FIG. 2 shows a schematic configuration of a typical personal computer 10. Here, the configuration of the personal computer 10 as hardware will be described first.
[0020]
The personal computer 10 includes a CPU 11 which is a center of the arithmetic processing. The CPU 11 is connected to a secondary cache 13, a data bus unit 14, and a system controller 15 via a CPU bus 12. In recent personal computers, the clock speed of the CPU bus 12 is increased in order to improve processing efficiency, and the slow memory 16 is accessed by the CPU 11 via the data bus unit 14 and the system controller 15. The memory 16 includes a ROM area such as a BIOS area and a RAM area.
[0021]
Similarly, interfaces cannot be directly connected to the fast CPU bus 12, and the data bus unit 14 and the system controller 15 provide a PCI bus 17 which is a general-purpose high-speed bus. The PCI bus 17 is connected to a common interface 18 for connecting a floppy disk together with a communication interface such as a PS / 2 port, a parallel port, or a serial port, which the personal computer 10 itself has directly. A bus master 19 for connecting a hard disk or a CD-ROM for DMA transfer is also connected.
[0022]
A PCI device 21 can be directly connected to the PCI bus, and an ISA bus 23 which is an old general-purpose bus having a small data width is provided via an ISA bridge 22. An ISA device 24 is connected via the ISA bus 23. You can connect.
[0023]
FIG. 3 shows peripheral devices for the personal computer 10. A keyboard 25 and a mouse 26 are connected to the common interface 18 via a PS / 2 port, a printer 27 is connected via a parallel port, and a modem 28 is connected via a serial port. It is connected. The scanner 29 is connected to the PCI bus 17 via a SCSI card 21a serving as the PCI device 21. Various external devices can be connected to the SCSI card 21a, and the scanner 29 connects the magneto-optical storage device 32 and the like. be able to. The display 31 is connected via the display controller card 21b, and the hard disk 19a and the CD-ROM drive 19b are connected to the PCI bus 17 via the bus master 19.
[0024]
Various devices are provided as the ISA device 24. If a PCMCIA card 24a is used, a PCMCIA card socket 33 can be connected, and a memory card 34 on which image data is recorded is mounted to easily input and output data. Become. The memory card 34 is a digital still camera 35, and it is easy to input data from another mobile personal computer.
[0025]
In addition to the above, an external display can be connected to the personal computer 10 via a video card, or a LAN card can be connected to a network, or connected to another external device via an infrared communication device. It is also possible to do.
[0026]
The above is the schematic configuration of the hardware of the personal computer system. On the premise of such hardware, software is executed on the personal computer 10 in the manner shown in FIG. That is, the BIOS 42 is executed on the basis of the hardware 41, and the operating system 43 and the application 44 are executed at an upper layer. Basically, the operating system 43 accesses the hardware 41 directly or via the BIOS 42, and the application 44 exchanges data with the hardware 41 via the operating system 43. For example, to read data from the hard disk 19a, access the hardware 41 via the operating system 43. In addition, various device drivers for controlling the hardware 41 can be incorporated in the operating system 43, and the incorporated device drivers execute various controls as a part of the operating system 43. .
[0027]
Some of these device drivers are pre-installed in the system, while others need to be installed when new hardware is connected. The former class includes a display driver for controlling display on an external display 31 via a video card, and the latter class includes a printer driver for executing printing control to the printer 27. There is no need to distinguish between them. When adding a device driver, an installation operation is performed with reference to a driver information database.
[0028]
FIG. 5 shows the structure of this driver information database. Taking a printer driver for controlling the printer 27 as an example, a manufacturer or the like of the printer 27 ships a device driver for controlling the printer 27 under various operating systems 43 together with a product. Since a device driver usually differs for each operating system 43, an information file (inf file) in which installation information is described to install an appropriate device driver is also provided.
[0029]
The right column of the figure shows the contents of the information file described in text type. The format required for this information file is
1. Line breaks for each piece of information
2. Predetermined classification items must be enclosed in []
3. Following the category item line enclosed in [], describe information related to the category item
Although there is a rule, the order of description of the classification items is arbitrary. Therefore, if the installation work is always performed with reference to this information file, the processing may be complicated. However, if the rules are made too fine at this point, there is a problem that even if the order of description is simply incorrect, it cannot be used for installation, and the degree of freedom is intentionally increased. In addition, the description of the text type is provided because there is an advantage that addition and correction can be easily performed.
[0030]
In consideration of the advantages and disadvantages of such a text type information file, based on this information file, it is compiled into a binary type intermediate file as shown in the column in the same figure, and a plurality of binary type intermediate files are combined. To build and use a binary type drive information database.
[0031]
FIG. 6 shows a simplified process of generating an intermediate file from a plurality of information files and combining it into one database, and FIG. 7 is a flowchart showing an outline of the process. All information files are compiled into intermediate files in a predetermined directory for the inf file (step S210), the intermediate files are rearranged in a predetermined order (step S220), and the intermediate files are rearranged according to the rearranged order. Are combined (step S230). At the time of this connection, allocation information for enabling the file contents to be searched is also generated.
[0032]
Here, processing when a new device driver is installed will be described. When the installer shown in FIG. 1 is started, first, in step S100, it is determined whether a corresponding device driver (hereinafter, referred to as a driver) is installed in the driver information database. Since each installer determines a driver to be installed, the installer searches the driver information database using the information. Of course, it is also possible to prepare a data file for specifying the driver itself to be installed, and to adopt a general-purpose configuration for reading the data file and specifying the driver to be installed.
[0033]
If the result of the search is that there is no corresponding driver, the driver will not be installed based on the old information. For this reason, the installation wizard of step S160, which will be described later, is activated after the determination of step S110. On the other hand, if it is determined in step S110 that there is a driver, the versions are compared in step S120. The database stores the installation information compiled into a binary type in the form of an intermediate file, and which version is older than the version of the installation information in the information file that the installer is trying to install. Judge.
[0034]
However, version data does not always exist, and its name is free. In the example shown in FIG. 1, there is a classification item "[LastUpdate]", and the date "Nov. 30, 1998" of the last update date is recorded there. Although one database has been compiled, information "LastUpdate = 1998/01/01" is incorporated therein.
[0035]
Therefore, in step S130, it is determined that the existing version is older, and the corresponding information file is deleted in step S140. As described above, the information files from which the database is constructed are all stored as inf files in a predetermined directory. Therefore, the corresponding original information file in this directory is deleted.
[0036]
After the deletion, in step S150, the above-described driver information database construction module is started. Then, as described above, while compiling all information files into intermediate files, the intermediate files are rearranged and combined to reconstruct the database. Of course, the database reconstructed in this way does not include the information file of the corresponding driver. This process is shown in FIG. Since the corresponding information file (inf3) is deleted and reconstructed, only the installation information of the other information files (inf1, inf2) is incorporated into the database.
[0037]
The above flow can be summarized as follows.
1. If the driver is not originally in the database, the installation information of the driver is not incorporated in the database when the installation wizard is executed. No changes have been made to this database.
[0038]
2. If there is a corresponding driver but new installation information is in the database, no change is made to the database, and the installation information of the driver is incorporated in the database when the installation wizard is executed.
[0039]
3. If the relevant driver was in the database but was an old information file, the database did not include the driver's installation information when the installation wizard was run, and the database itself was rebuilt. It has become.
[0040]
In this state, the installation wizard is executed in step S160. FIG. 9 shows a process of the installation wizard by a flowchart, and FIG. 10 shows an example of a display / selection screen.
[0041]
When the installation wizard is started, first, the driver incorporated in the driver information database is displayed in step S300, and the selection by the keyboard 25 and the mouse 26 is awaited. The screen shown in FIG. 10 shows a wizard screen when a printer driver is added. When a manufacturer is displayed in the left display column W11 and any manufacturer is selected, an individual printer corresponding to the manufacturer is displayed. Since it is displayed in the right display field W12, the printer to be installed is selected and inverted. At the bottom of the display screen, command buttons W21, W22, and W23 for "return", "next", and "cancel" are arranged. When the printer to be installed is displayed and selected, "next" is displayed. The command button W22 is executed. Then, in step S310, it is determined that an existing driver has been selected. In step S320, installation information incorporated in the database is extracted, and in step S350, the corresponding driver file is installed in the system.
[0042]
On the other hand, if the printer to be installed is not displayed in the display columns W11 and W12, the information file can be supplied from a flexible disk or the like by executing the command button W31 of "USE DISK". In this case, it is determined in step S310 that the existing driver has not been selected, and the installation information is read from the information file of the flexible disk in step S340 while setting the flag in step S330.
[0043]
Before the installation wizard was started, if there was an old information file for the driver to be installed, it has been deleted from the database. Therefore, in such a case, the printer to be installed is not displayed in the display fields W11 and W12, and the command button W31 of "USE DISK" must be executed. This means that it is possible to prevent the driver from being erroneously installed based on the old information file.
[0044]
If the corresponding driver file can be successfully installed in step S350, the state of the flag set in step S330 is determined in step S360. Here, when the installation information is read by using the disk, a process of reflecting the installation information in the database is performed. First, in step S370, the information file is copied to the predetermined directory, and in step S380, the driver information database construction module is started. Then, as shown in FIG. 11, the database including the newly copied information file (inf31) is reconstructed.
[0045]
In this example, the information file of the corresponding driver is deleted in advance, and the database is reconstructed. If there is no driver in this database, the information file is copied again to reconstruct the database. Therefore, the rebuilding operation is repeated twice. This has the advantage of reducing the load on the installation program by using the normal processing procedure as much as possible, but is not efficient in terms of work time. On the other hand, after the corresponding information file is deleted in step S140, the information file of the flexible disk is read (the same processing as in step S340), and the information file is written in the predetermined directory (the same processing as in step S370). ), It is also possible to reconstruct the database in step S150.
[0046]
In this way, when the installation wizard is executed in step S160, the installation information included in the information file is displayed in the display fields W11 and W12, so that the printer to be installed can be always found. become. Therefore, the process of setting the flag in step S330 is not executed, and the database is not reconstructed in step S380.
[0047]
Further, in the above-described example, in order to delete old installation information from the database, a method of deleting the original information file and reconstructing the database is executed. However, since the database is a combination of intermediate files, the old information is also used by deleting the relevant part and reconnecting it, or by rewriting the driver name displayed in the database so that it can not be selected Can be prevented. Of course, in the latter case, unused information will remain, so it is not the best mode but can be used depending on the system.
[0048]
As described above, when the database constructed by the installation information includes old installation information, the original information file is deleted in advance (step S140), and then the database is reconstructed (step S150). Therefore, it is possible to prevent a device driver from being installed based on old information.
[Brief description of the drawings]
FIG. 1 is a flowchart of an installation program according to an embodiment of the present invention.
FIG. 2 is a schematic block diagram of a personal computer.
FIG. 3 is a schematic block diagram showing a connection status of a peripheral device to a personal computer.
FIG. 4 is a diagram showing a configuration of software of a personal computer.
FIG. 5 is a diagram illustrating a configuration of a database of driver information.
FIG. 6 is a diagram showing a process of constructing a database from information files.
FIG. 7 is a flowchart of a driver information database construction module.
FIG. 8 is a diagram showing a process of deleting an old information file and reconstructing a database.
FIG. 9 is a flowchart of an installation wizard.
FIG. 10 is a diagram showing a display screen of an installation wizard.
FIG. 11 is a diagram illustrating a process of rebuilding a database by adding a new information file to an information file.
[Explanation of symbols]
10 ... PC
11 CPU
12 CPU bus
13 ... Secondary cache
14 Data bus unit
15 System controller
16 ... Memory
17… PCI bus
18 Common interface
19 ... Bus master
19a ... Hard disk
19b ... CD-ROM drive
21 ... PCI device
21a ... SCSI card
22… ISA bridge
23 ... ISA bus
24… ISA device
24a PCMCIA card
25 ... Keyboard
26 ... Mouse
27 ... Printer
28 ... Modem
29 ... Scanner
31 ... Digital video camera
32 ... Magneto-optical storage device
33 ... PCMCIA card socket
34… Memory card
35 ... Digital still camera
41 ... Hardware
42 ... Bios
43… Operating system
43a: Printer driver
44… Application

Claims (7)

デバイスドライバのインストール情報を取り込んだデータベースを備え、取り込んであるデバイスドライバを表示して選択を待機し、この選択作業でデバイスドライバを選択した場合には既存のインストール情報を利用してインストール作業を実行し、デバイスドライバが選択されない場合には新たなインストール情報を利用してインストール作業を実行しつつ、同インストール情報をデータベースに組み込むコンピュータに対して、
インストールする際に該当するデバイスドライバの古いインストール情報がデータベースに組み込まれているか否かを判断する判断ステップと、
組み込まれていると判断された場合には該当するインストール情報を削除して上記データベースを構成し直して上記選択作業を実行させる再構築ステップと
をコンピュータに実行させることを特徴とするインストールプログラムを記録した媒体。
Providing a database that captures device driver installation information, displays the captured device driver, waits for selection, and executes the installation using the existing installation information if a device driver is selected during this selection. However, if the device driver is not selected, while performing the installation work using the new installation information, the computer that incorporates the installation information into the database,
A determining step of determining whether or not old installation information of the corresponding device driver is incorporated in the database when installing;
If it is determined that the program is incorporated, the installation program deletes the corresponding installation information, reconfigures the database, and executes a rebuilding step of executing the selection operation. Medium.
上記請求項1に記載のインストールプログラムを記録した媒体において、上記データベースは、テキストタイプの複数の情報ファイルからバイナリタイプのデータベースとして生成されることを特徴とするインストールプログラムを記録した媒体。2. A medium recording the installation program according to claim 1, wherein the database is generated as a binary type database from a plurality of text type information files. 上記請求項2に記載のインストールプログラムを記録した媒体において、上記再構築ステップでは、上記該当するテキストタイプの情報ファイルを削除した上で残余の情報ファイルから上記データベースを再構築させることを特徴とするインストールプログラムを記録した媒体。3. The medium recording the installation program according to claim 2, wherein in the reconstructing step, the database is reconstructed from the remaining information files after the corresponding text type information file is deleted. Medium on which the installation program is recorded. 上記請求項1〜請求項3のいずれかに記載のインストールプログラムを記録した媒体において、上記判断ステップでは、既存のインストール情報のバージョンと最新のインストール情報のバージョンとを対比して、既存のものが古くない場合には古いインストール情報がデータベースに組み込まれていないと判断することを特徴とするインストールプログラムを記録した媒体。In the medium on which the installation program according to any one of claims 1 to 3 is recorded, in the determination step, the version of the existing installation information is compared with the version of the latest installation information, and A medium recording an installation program characterized by determining that old installation information is not incorporated in the database if it is not old. 上記請求項1〜請求項4のいずれかに記載のインストールプログラムを記録した媒体において、上記再構築ステップでは、最新のインストール情報を含めて上記データベースを再構築することを特徴とするインストールプログラムを記録した媒体。5. The recording medium according to claim 1, wherein the rebuilding step includes rebuilding the database including the latest installation information. Medium. デバイスドライバのインストール情報を取り込んだデータベースを備え、取り込んであるデバイスドライバを表示して選択を待機し、この選択作業でデバイスドライバを選択した場合には既存のインストール情報を利用してインストール作業を実行し、デバイスドライバが選択されない場合には新たなインストール情報を利用してインストール作業を実行しつつ、同インストール情報をデータベースに組み込むコンピュータに対して、
インストールする際に該当するデバイスドライバの古いインストール情報がデータベースに組み込まれているか否かを判断する判断手段と、
組み込まれていると判断された場合には該当するインストール情報を削除して上記データベースを構成し直して上記選択作業を実行させる再構築手段とを具備することを特徴とするインストール装置。
Providing a database that captures device driver installation information, displays the captured device driver, waits for selection, and executes the installation using the existing installation information if a device driver is selected during this selection. However, if the device driver is not selected, while performing the installation work using the new installation information, the computer that incorporates the installation information into the database,
Determining means for determining whether or not old installation information of the corresponding device driver is incorporated in the database when installing;
An installation apparatus comprising: a reconstructing unit that deletes the corresponding installation information when it is determined to be incorporated, reconfigures the database, and executes the selection operation.
デバイスドライバのインストール情報を取り込んだデータベースを備え、取り込んであるデバイスドライバを表示して選択を待機し、この選択作業でデバイスドライバを選択した場合には既存のインストール情報を利用してインストール作業を実行し、デバイスドライバが選択されない場合には新たなインストール情報を利用してインストール作業を実行しつつ、同インストール情報をデータベースに組み込む際に、
インストールする際に該当するデバイスドライバの古いインストール情報がデータベースに組み込まれているか否かを判断し、組み込まれていると判断された場合には該当するインストール情報を削除して上記データベースを構成し直して上記選択作業を実行させることを特徴とするインストール方法。
Providing a database that captures device driver installation information, displays the captured device driver, waits for selection, and executes the installation using the existing installation information if a device driver is selected during this selection. However, when the device driver is not selected, while performing the installation work using the new installation information, when incorporating the installation information into the database,
At the time of installation, it is determined whether the old installation information of the corresponding device driver is included in the database. If it is determined that the installation information is included, delete the corresponding installation information and reconfigure the database. An installation method characterized by causing the above-mentioned selection work to be executed.
JP2003072493A 2003-03-17 2003-03-17 Installation device, installation method, and medium recording installation program Expired - Fee Related JP3546962B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003072493A JP3546962B2 (en) 2003-03-17 2003-03-17 Installation device, installation method, and medium recording installation program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003072493A JP3546962B2 (en) 2003-03-17 2003-03-17 Installation device, installation method, and medium recording installation program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP11044922A Division JP2000242472A (en) 1999-02-23 1999-02-23 Medium recording installation program, and device and method for installation

Publications (2)

Publication Number Publication Date
JP2004005483A true JP2004005483A (en) 2004-01-08
JP3546962B2 JP3546962B2 (en) 2004-07-28

Family

ID=30437902

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003072493A Expired - Fee Related JP3546962B2 (en) 2003-03-17 2003-03-17 Installation device, installation method, and medium recording installation program

Country Status (1)

Country Link
JP (1) JP3546962B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100378664C (en) * 2004-05-14 2008-04-02 三星电子株式会社 Office automation equipment, method for mounting, repacking and upgrading drive thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100378664C (en) * 2004-05-14 2008-04-02 三星电子株式会社 Office automation equipment, method for mounting, repacking and upgrading drive thereof

Also Published As

Publication number Publication date
JP3546962B2 (en) 2004-07-28

Similar Documents

Publication Publication Date Title
JP4143611B2 (en) Backup generation device, recovery processing device, backup generation method, recovery processing method, and program
CN102272751B (en) Data integrity in a database environment through background synchronization
JPWO2002056179A1 (en) Method for regenerating partition using virtual drive, data processing device, and data storage device
CN111989656A (en) Configurable recovery state
WO2009153917A1 (en) Virtual computer system, information processor and program providing the virtual computer system
WO2012063339A1 (en) Computer system, job execution management method, and program
CN111090701B (en) Service request processing method, device, readable storage medium and computer equipment
JP2007128448A (en) File system and file information processing method
CN111868698A (en) Free space direct connection
JP3546962B2 (en) Installation device, installation method, and medium recording installation program
JP4390618B2 (en) Database reorganization program, database reorganization method, and database reorganization apparatus
US8972996B2 (en) Information processing apparatus, computer-readable medium storing information processing program, and information processing method
US7701607B2 (en) Method and device for managing images stored in a plurality of storage media included in or connected to image forming apparatus
JP2000242472A (en) Medium recording installation program, and device and method for installation
JP2004246787A (en) Information processor and method for controlling program
JP2008059388A (en) Information processor and data erasing method of hard disk applied to information processor
JP2008181381A (en) Semiconductor memory card, data management method for semiconductor memory card, database engine, and semiconductor memory system
JP2004171188A (en) Individual information management method and device
JP2000293413A (en) Data storage device and storage medium
JPH11212845A (en) Device and method for backup data management and recording medium
JPH1021123A (en) Information processor
JP2001159994A (en) Device and method for processing information
JP2005222531A (en) Data recording apparatus and data recording method
JP3698945B2 (en) Data update processing method
JP2003036192A (en) File management program, computer-readable recording medium having the program recorded therein and file management method

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040116

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040301

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: 20040324

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040406

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: 20080423

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090423

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090423

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100423

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110423

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110423

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120423

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130423

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130423

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140423

Year of fee payment: 10

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