JP3546962B2 - Installation device, installation method, and medium recording installation program - Google Patents
Installation device, installation method, and medium recording installation program Download PDFInfo
- Publication number
- JP3546962B2 JP3546962B2 JP2003072493A JP2003072493A JP3546962B2 JP 3546962 B2 JP3546962 B2 JP 3546962B2 JP 2003072493 A JP2003072493 A JP 2003072493A JP 2003072493 A JP2003072493 A JP 2003072493A JP 3546962 B2 JP3546962 B2 JP 3546962B2
- Authority
- JP
- Japan
- Prior art keywords
- information
- installation
- driver
- file
- stored
- 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
Images
Description
【0001】
【発明の属する技術分野】
本発明は、インストール装置、インストール方法およびインストールプログラムを記録した媒体に関する。
【0002】
【従来の技術】
近年のコンピュータでは、各種のハードウェアを制御できるようにするため、デバイスドライバが利用されており、このデバイスドライバはコンピュータにインストールされて利用可能となる。このデバイスドライバをインストールするためには、デバイスドライバ情報データベースが利用される。
【0003】
デバイスドライバ情報データベースは、コンピュータシステムに予め用意されているか、過去にインストールされたことのあるデバイスドライバの情報ファイルをもとに、システム固有の構造にコンパイル(形式化)し、結合されたものである。
【0004】
デバイスドライバ情報データベースを利用する際には、予め組み込まれているデバイスドライバを対応するハードウェアの一覧として表示して選択できるようにしつつ、これに含まれていない場合にはハードウェアと一緒に供給されるフレキシブルディスクなどから情報ファイルを取り込めるようになっている。そして、指定された情報ファイルに記載されたインストール情報に基づいて必要なデバイスドライバファイルをコンピュータ内に取り込んでインストール作業を終了する。
【0005】
【発明が解決しようとする課題】
デバイスドライバは適宜改良される性質を有しているが、上述した従来のコンピュータにおいては、インストールしようとしているデバイスドライバについての古いインストール情報がデータベースに組み込まれていると、古い情報に基づいてデバイスドライバをインストールしてしまったり、あるいは、インストールをうまく行えないという課題があった。
【0006】
本発明は、上記課題にかんがみてなされたもので、古いインストール情報に基づいてデバイスドライバをインストールしてしまうことを未然に防ぐことが可能なインストール装置、インストール方法およびインストールプログラムを記録した媒体の提供を目的とする。
【0007】
【課題を解決するための手段】
上記目的を達成するため、請求項1にかかる発明は、デバイスドライバのインストール情報を記述したテキストタイプの情報ファイルであってコンピュータの情報ファイル用のディレクトリに保存された情報ファイルを中間ファイルにコンパイルしつつ同中間ファイルを並び替えて結合して再構築された同コンピュータのドライバ情報データベースに、予め決定されているインストールしようとしているデバイスドライバのインストール情報が格納されている場合には、当該格納されているインストール情報を利用して当該インストールしようとしているデバイスドライバを同コンピュータにインストール可能であり、格納されていない場合には、外部のディスクに記録されたインストールしようとしているデバイスドライバのインストール情報を記述した情報ファイルに記述されたインストール情報を利用して当該ディスクに記録されたインストールしようとしているデバイスドライバを同コンピュータにインストールするインストール装置であって、上記ドライバ情報データベースに上記インストールしようとしているデバイスドライバのインストール情報が格納されている場合に、当該格納されているインストール情報のバージョンと上記ディスクに記録されたインストールしようとしているデバイスドライバのインストール情報を記述した情報ファイルに記述されたインストール情報のバージョンとを対比してどちらが古いかを判断する判断手段と、上記ドライバ情報データベースに格納されているインストール情報のバージョンの方が古いと判断された場合に、上記情報ファイル用のディレクトリ内に保存されている情報ファイルの中から上記インストールしようとしているデバイスドライバのインストール情報を記述した情報ファイルを削除する削除手段と、上記削除手段にて上記情報ファイルが削除された場合に、削除後に同情報ファイル用のディレクトリに保存されている情報ファイルを中間ファイルにコンパイルしつつ同中間ファイルを並び替えて結合して上記ドライバ情報データベースを再構築する再構築手段と、上記判断手段の判断の後であって同判断手段にて上記ドライバ情報データベースに格納されているインストール情報のバージョンの方が古いと判断された場合には上記再構築手段にて上記ドライバ情報データベースが再構築された後において、上記ドライバ情報データベースに上記予め決定されているインストールしようとしているデバイスドライバのインストール情報が格納されている場合には当該格納されているインストール情報を利用して当該インストールしようとしているデバイスドライバを上記コンピュータにインストール可能であり、格納されていない場合には上記ディスクに記録されたインストールしようとしているデバイスドライバのインストール情報を記述した情報ファイルに記述されたインストール情報を利用して当該ディスクに記録されたインストールしようとしているデバイスドライバを上記コンピュータにインストールする手段とを具備する構成としてある。
【0008】
上記のように構成した請求項1にかかる発明においては、ドライバ情報データベースに上記インストールしようとしているデバイスドライバのインストール情報が格納されている場合に、当該ドライバ情報データベースに格納されているインストール情報のバージョンと外部のディスクに記録されたインストールしようとしているデバイスドライバのインストール情報を記述した情報ファイルに記述されたインストール情報のバージョンとでどちらが古いかを判断する。そして、ドライバ情報データベースに格納されているインストール情報のバージョンの方が古いと判断された場合に、情報ファイル用のディレクトリ内に保存されている情報ファイルの中から上記インストールしようとしているデバイスドライバのインストール情報を記述した情報ファイルを削除して上記ドライバ情報データベースを構成し直す。
【0009】
これによりインストールウィザードが起動される前、インストールしようとしているデバイスドライバについて古い情報ファイルがあった場合には、ドライバ情報データベースから削除されている。従って、このような場合には、インストールウィザードの表示欄にインストールしようとするデバイスドライバが表示されず、「ディスク使用」のコマンドボタンを実行させなければならない。そして、このことは誤って古い情報ファイルに基づいてデバイスドライバをインストールしてしまうことを防止することができることを意味する。
【0010】
さらに、請求項2にかかる発明は、請求項1に記載のインストール装置において、上記ディスクに記録されたインストールしようとしているデバイスドライバが上記コンピュータにインストールされた場合に、当該ディスクに記録されたインストールしようとしているデバイスドライバのインストール情報を記述した情報ファイルを上記情報ファイル用のディレクトリにコピーし、コピー後に同情報ファイル用のディレクトリに保存されている情報ファイルを中間ファイルにコンパイルしつつ同中間ファイルを並び替えて結合して上記ドライバ情報データベースを再構築する手段をさらに備える構成としてある。
【0011】
上記のように構成した請求項2にかかる発明において、外部のディスクに記録されたインストールしようとしているデバイスドライバが上記コンピュータにインストールされた場合に、当該ディスクに記録されたインストールしようとしているデバイスドライバのインストール情報を記述した情報ファイルを上記情報ファイル用のディレクトリにコピーし、コピー後に同情報ファイル用のディレクトリに保存されている情報ファイルを中間ファイルにコンパイルしつつ同中間ファイルを並び替えて結合してドライバ情報データベースを再構築する。
【0012】
むろん、このようなインストール装置は単独で実施される場合もあるし、ある機器に組み込まれた状態で他の方法とともに実施されることもあるなど、発明の思想としてはこれに限らず、各種の態様を含むものであって、適宜、変更可能である。
【0013】
また、方法としても適用可能であることは容易に理解できる。このため、請求項3にかかる発明は、デバイスドライバのインストール情報を記述したテキストタイプの情報ファイルであってコンピュータの情報ファイル用のディレクトリに保存された情報ファイルを中間ファイルにコンパイルしつつ同中間ファイルを並び替えて結合して再構築された同コンピュータのドライバ情報データベースに、予め決定されているインストールしようとしているデバイスドライバのインストール情報が格納されている場合には、当該格納されているインストール情報を利用して当該インストールしようとしているデバイスドライバを同コンピュータにインストール可能であり、格納されていない場合には、外部のディスクに記録されたインストールしようとしているデバイスドライバのインストール情報を記述した情報ファイルに記述されたインストール情報を利用して当該ディスクに記録されたインストールしようとしているデバイスドライバを同コンピュータにインストールするインストール方法であって、上記コンピュータにて、上記ドライバ情報データベースに上記インストールしようとしているデバイスドライバのインストール情報が格納されている場合に、当該格納されているインストール情報のバージョンと上記ディスクに記録されたインストールしようとしているデバイスドライバのインストール情報を記述した情報ファイルに記述されたインストール情報のバージョンとを対比してどちらが古いかを判断する判断工程と、上記コンピュータにて、上記ドライバ情報データベースに格納されているインストール情報のバージョンの方が古いと判断された場合に、上記情報ファイル用のディレクトリ内に保存されている情報ファイルの中から上記インストールしようとしているデバイスドライバのインストール情報を記述した情報ファイルを削除する削除工程と、上記コンピュータにて、上記削除工程にて上記情報ファイルが削除された場合に、削除後に同情報ファイル用のディレクトリに保存されている情報ファイルを中間ファイルにコンパイルしつつ同中間ファイルを並び替えて結合して上記ドライバ情報データベースを再構築する再構築工程と、上記コンピュータにて、上記判断工程の判断の後であって同判断工程にて上記ドライバ情報データベースに格納されているインストール情報のバージョンの方が古い と判断された場合には上記再構築工程にて上記ドライバ情報データベースが再構築された後において、上記ドライバ情報データベースに上記予め決定されているインストールしようとしているデバイスドライバのインストール情報が格納されている場合には当該格納されているインストール情報を利用して当該インストールしようとしているデバイスドライバを上記コンピュータにインストール可能であり、格納されていない場合には上記ディスクに記録されたインストールしようとしているデバイスドライバのインストール情報を記述した情報ファイルに記述されたインストール情報を利用して当該ディスクに記録されたインストールしようとしているデバイスドライバを上記コンピュータにインストールする工程とを具備する構成としてある。
【0014】
すなわち、方法としても有効であることに相違はない。
【0015】
さらに、請求項4にかかる発明は、デバイスドライバのインストール情報を記述したテキストタイプの情報ファイルであってコンピュータの情報ファイル用のディレクトリに保存された情報ファイルを中間ファイルにコンパイルしつつ同中間ファイルを並び替えて結合して再構築された同コンピュータのドライバ情報データベースに、予め決定されているインストールしようとしているデバイスドライバのインストール情報が格納されている場合には、当該格納されているインストール情報を利用して当該インストールしようとしているデバイスドライバを同コンピュータにインストールさせることが可能であり、格納されていない場合には、外部のディスクに記録されたインストールしようとしているデバイスドライバのインストール情報を記述した情報ファイルに記述されたインストール情報を利用して当該ディスクに記録されたインストールしようとしているデバイスドライバを同コンピュータにインストールさせるためのインストールプログラムを記録した媒体であって、上記コンピュータに、上記ドライバ情報データベースに上記インストールしようとしているデバイスドライバのインストール情報が格納されている場合に、当該格納されているインストール情報のバージョンと上記ディスクに記録されたインストールしようとしているデバイスドライバのインストール情報を記述した情報ファイルに記述されたインストール情報のバージョンとを対比してどちらが古いかを判断する判断ステップと、上記ドライバ情報データベースに格納されているインストール情報のバージョンの方が古いと判断された場合に、上記情報ファイル用のディレクトリ内に保存されている情報ファイルの中から上記インストールしようとしているデバイスドライバのインストール情報を記述した情報ファイルを削除する削除ステップと、上記削除ステップにて上記情報ファイルが削除された場合に、削除後に同情報ファイル用のディレクトリに保存されている情報ファイルを中間ファイルにコンパイルしつつ同中間ファイルを並び替えて結合して上記ドライバ情報データベースを再構築する再構築ステップと、上記判断ステップの判断の後であって同判断ステップにて上記ドライバ情報データベースに格納されているインストール情報のバージョンの方が古いと判断された場合には上記再構築ステップにて上記ドライバ情報データベースが再構築された後において、上記ドライバ情報データベースに上記予め決定されているインストールしようとしているデバイスドライバのインストール情報が格納されている場合には当該格納されているインストール情報を利用して当該インストールしようとしているデバイスドライバを上記コンピュータにインストール可能であり、格納されていない場合には上記ディスクに記録されたインストールしようとしているデバイスドライバのインストール情報を記述した情報ファイルに記述されたインストール情報を利用して当該ディスクに記録されたインストールしようとしているデバイスドライバを上記コンピュータにインストールするステップとを実行させるためのインストールプログラムを記録した媒体の構成としてある。
【0016】
むろん、このような記録媒体は、磁気記録媒体であってもよいし光磁気記録媒体であってもよいし、今後開発されるいかなる記録媒体においても全く同様に考えることができる。また、一次複製品、二次複製品などの複製段階については全く問う余地無く同等である 。
【0017】
さらに、一部がソフトウェアであって、一部がハードウェアで実現されている場合においても発明の思想において全く異なるものではなく、一部を記録媒体上に記憶しておいて必要に応じて適宜読み込まれるような形態のものとしてあってもよい。
【0018】
【発明の効果】
以上説明したように本発明は、古い情報に基づいてデバイスドライバをインストールしてしまうことを防止することが可能なインストール装置を提供することができる。
さらに、請求項2にかかる発明によれば、新たに外部のディスクから情報ファイル用のディレクトリにコピーした情報ファイルを含んだデータベースが再構築される。
さらに、請求項3にかかる発明によれば、同様の効果を奏するインストール方法を提供することができ、請求項4にかかる発明によれば、インストールプログラムを記録した媒体を提供することができる。
【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…アプリケーション[0001]
TECHNICAL FIELD OF THE INVENTION
The present inventionInstallation device, installation method, and medium recording installation programAbout.
[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 prepared in advance in the computer system or has been installed in the past.RudeIt is compiled (formatted) into a structure unique to the system based on the information file of the device driver and combined.
[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]
The present invention has been made in view of the above problems, and can prevent a device driver from being installed based on old installation information.Installation device, installation method, and medium recording installation programThe purpose is to provide.
[0007]
[Means for Solving the Problems]
In order to achieve the above object, the invention according to
[0008]
In the invention according to
[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, the invention according to
[0011]
In the invention according to
[0012]
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.
[0013]
Further, it can be easily understood that the present invention is applicable as a method. For this reason, the invention according to claim 3 compiles an information file, which is a text type information file describing installation information of a device driver and stored in a directory for information files of a computer, into an intermediate file while compiling the intermediate file. If installation information of a predetermined device driver to be installed is stored in the driver information database of the computer reconstructed by rearranging and combining the stored installation information, the stored installation information is used. If the device driver to be installed can be installed on the same computer by using it and it is not stored, the installation information of the device driver to be installed recorded on an external disk is described. And installing the device driver to be installed recorded on the disk into the same computer using the installation information described in the information file, wherein the computer attempts to install the device driver in the driver information database. If the installation information of the device driver is stored, the installation information described in the information file that describes the version of the stored installation information and the installation information of the device driver to be installed recorded on the disk A step of judging which is older by comparing the version of the driver information with the version of the installation information stored in the driver information database by the computer. If it is determined that, in the information file stored in the information file directory, a deletion step of deleting the information file describing the installation information of the device driver to be installed, When the information file is deleted in the deleting step, the information file stored in the directory for the information file after the deletion is compiled into an intermediate file, and the intermediate files are rearranged and combined, and the driver is deleted. A rebuilding step for rebuilding the information database, and the computer, after the determination in the determining step, the version of the installation information stored in the driver information database in the determining step is older. If it is determined that the driver information database is reconstructed in the reconstructing step, the driver information database stores the predetermined installation information of the device driver to be installed. In this case, the device driver to be installed can be installed on the computer by using the stored installation information. Otherwise, the device driver to be installed recorded on the disc can be installed. Using the installation information described in the information file describing the installation information to install the device driver to be installed recorded on the disk into the computer. That.
[0014]
That is, there is no difference that the method is effective.
[0015]
Further, the invention according to claim 4 compiles an information file, which is a text-type information file describing device driver installation information and is stored in a computer information file directory, into an intermediate file while compiling the intermediate file. If the driver information database of the same computer that has been rearranged, combined, and reconfigured stores the predetermined installation information of the device driver to be installed, the stored installation information is used. And the device driver to be installed can be installed on the same computer. If the device driver is not stored, the installation information of the device driver to be installed is recorded on an external disk. A medium in which an installation program for causing a computer to install a device driver to be installed recorded on the disk using the installation information described in the described information file is installed in the computer. When the installation information of the device driver to be installed is stored in the information database, information describing the version of the stored installation information and the installation information of the device driver to be installed recorded on the disk. A determination step of determining which is older by comparing the version of the installation information described in the file with the version of the installation information stored in the driver information database; Deleting the information file describing the installation information of the device driver to be installed from the information files stored in the directory for the information file, when it is determined that the version is older. When the information file is deleted in the deleting step, the information file stored in the directory for the information file after the deletion is compiled into an intermediate file while the intermediate file is rearranged and combined, and the driver is deleted. After the rebuilding step of rebuilding the information database and the determination of the above-described determining step, and when it is determined in the determining step that the version of the installation information stored in the driver information database is older, In the rebuilding step, the driver information data After the base is rebuilt, if the predetermined installation information of the device driver to be installed is stored in the driver information database, the installation is performed using the stored installation information. The device driver to be installed can be installed on the computer, and if not stored, the installation information described in the information file describing the installation information of the device driver to be installed recorded on the disk is used. And installing the device driver to be installed recorded on the disk into the computer.
[0016]
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. In addition, the duplication stage of the primary duplicated product, secondary duplicated product, etc. is completely equivalent without question. .
[0017]
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.
[0018]
【The invention's effect】
As described above, the present invention can prevent a device driver from being installed based on old information.Installation deviceCan be provided.
Further, according to the invention of
further,According to the third aspect of the present invention, it is possible to provide an installation method having the same effect, and according to the fourth aspect of the present invention, a medium on which an installation program is recorded.Can be provided.
[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
[0021]
Similarly, interfaces cannot be directly connected to the
[0022]
A
[0023]
FIG. 3 shows peripheral devices for the personal computer 10. A
[0024]
Various devices are provided as the
[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
[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
[0028]
FIG. 5 shows the structure of this driver information database. Taking a printer driver for controlling the
[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 installation information compiled into a binary type in the form of an intermediate file.An information file recorded on a flexible disk etc.The installer compares the version of the installation information in the information file to be installed with the version of the installation information to determine which is older.
[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
[0042]
On the other hand, if the printer to be installed is not displayed in the display fields 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]
By doing so, the installation information contained in the information file is displayed in the display fields W11 and W12 when the installation wizard is executed in step S160, 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 illustrating a connection state of a peripheral device to a personal computer.
FIG. 4 is a diagram illustrating 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 showing 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 (4)
上記ドライバ情報データベースに上記インストールしようとしているデバイスドライバのインストール情報が格納されている場合に、当該格納されているインストール情報のバージョンと上記ディスクに記録されたインストールしようとしているデバイスドライバのインストール情報を記述した情報ファイルに記述されたインストール情報のバージョンとを対比してどちらが古いかを判断する判断手段と、 When the installation information of the device driver to be installed is stored in the driver information database, the version of the stored installation information and the installation information of the device driver to be installed recorded on the disk are described. Means for determining which is older by comparing with the version of the installation information described in the information file described above,
上記ドライバ情報データベースに格納されているインストール情報のバージョンの方が古いと判断された場合に、上記情報ファイル用のディレクトリ内に保存されている情報ファイルの中から上記インストールしようとしているデバイスドライバのインストール情報を記述した情報ファイルを削除する削除手段と、 If it is determined that the version of the installation information stored in the driver information database is older, install the device driver to be installed from among the information files stored in the information file directory. Deleting means for deleting an information file describing information;
上記削除手段にて上記情報ファイルが削除された場合に、削除後に同情報ファイル用のディレクトリに保存されている情報ファイルを中間ファイルにコンパイルしつつ同中間ファイルを並び替えて結合して上記ドライバ情報データベースを再構築する再構築手段と、 When the information file is deleted by the deletion means, the information file stored in the directory for the information file after the deletion is compiled into an intermediate file while the intermediate file is rearranged and combined, and the driver information is deleted. Restructuring means for restructuring the database;
上記判断手段の判断の後であって同判断手段にて上記ドライバ情報データベースに格納されているインストール情報のバージョンの方が古いと判断された場合には上記再構築手段にて上記ドライバ情報データベースが再構築された後において、上記ドライバ情報データベースに上記予め決定されているインストールしようとしているデバイスドライバのインストール情報が格納されている場合には当該格納されているインストール情報を利用して当該インストールしようとしているデバイスドライバを上記コンピュータにインストール可能であり、格納されていない場合には上記ディスクに記録されたインストールしようとしているデバイスドライバのインストール情報を記述した情報ファイルに記述されたインストール情報を利用して当該ディスクに記録されたインストールしようとしているデバイスドライバを上記コンピュータにインストールする手段とを具備することを特徴とするインストール装置。 After the determination by the determining means, if the determining means determines that the version of the installation information stored in the driver information database is older, the restructuring means checks the driver information database. After the rebuilding, if the predetermined installation information of the device driver to be installed is stored in the driver information database, the installation is attempted using the stored installation information. If the device driver can be installed on the computer, and is not stored, using the installation information described in the information file describing the installation information of the device driver to be installed recorded on the disc, A device driver that is attempting to install recorded in the disk installation apparatus, characterized by comprising a means for installing to the computer.
上記ディスクに記録されたインストールしようとしているデバイスドライバが上記コンピュータにインストールされた場合に、当該ディスクに記録されたインストールしようとしているデバイスドライバのインストール情報を記述した情報ファイルを上記情報ファイル用のディレクトリにコピーし、コピー後に同情報ファイル用のディレクトリに保存されている情報ファイルを中間ファイルにコンパイルしつつ同中間ファイルを並び替えて結合して上記ドライバ情報データベースを再構築する手段をさらに備えることを特徴とするインストール装置。 When the device driver to be installed recorded on the disk is installed on the computer, an information file describing the installation information of the device driver to be installed recorded on the disk is written to the information file directory. Means for reconstructing the driver information database by rearranging and combining the intermediate files while compiling the information files stored in the information file directory into intermediate files after copying. And installation equipment.
上記コンピュータにて、上記ドライバ情報データベースに上記インストールしようとしているデバイスドライバのインストール情報が格納されている場合に、当該格納されているインストール情報のバージョンと上記ディスクに記録されたインストールしようとしているデバイスドライバのインストール情報を記述した情報ファイルに記述されたインストール情報のバージョンとを対比してどちらが古いかを判断する判断工程と、 In the computer, when the installation information of the device driver to be installed is stored in the driver information database, the version of the stored installation information and the device driver to be installed recorded on the disk. A determination step of comparing which version is older than the version of the installation information described in the information file describing the installation information of
上記コンピュータにて、上記ドライバ情報データベースに格納されているインストール情報のバージョンの方が古いと判断された場合に、上記情報ファイル用のディレクトリ内に保存されている情報ファイルの中から上記インストールしようとしているデバイスドライバのインストール情報を記述した情報ファイルを削除する削除工程と、 If the computer determines that the version of the installation information stored in the driver information database is older, the computer attempts to install the information file from among the information files stored in the information file directory. A deletion step of deleting an information file describing installation information of a device driver,
上記コンピュータにて、上記削除工程にて上記情報ファイルが削除された場合に、削除後に同情報ファイル用のディレクトリに保存されている情報ファイルを中間ファイルにコンパイルしつつ同中間ファイルを並び替えて結合して上記ドライバ情報データベースを再構築する再構築工程と、 In the computer, when the information file is deleted in the deleting step, the information file stored in the directory for the information file after the deletion is compiled into an intermediate file, and the intermediate file is rearranged and combined. A rebuilding step of rebuilding the driver information database by
上記コンピュータにて、上記判断工程の判断の後であって同判断工程にて上記ドライバ情報データベースに格納されているインストール情報のバージョンの方が古いと判断された場合には上記再構築工程にて上記ドライバ情報データベースが再構築された後において、上記ドライバ情報データベースに上記予め決定されているインストールしようとしているデバイスドライバのインストール情報が格納されている場合には当該格納されているインストール情報を利用して当該インストールしようとしているデバイスドライバを上記コンピュータにインストール可能であり、格納されていない場合には上記ディスクに記録されたインストールしようとしているデバイスドライバのインストール情報を記述した情報ファイルに記述されたインストール情報を利用して当該ディスクに記録されたインストールしようとしているデバイスドライバを上記コンピュータにインストールする工程とを具備することを特徴とするインストール方法。 In the above-mentioned computer, if it is determined that the version of the installation information stored in the driver information database is older after the determination in the determination step, After the driver information database is reconstructed, if the predetermined installation information of the device driver to be installed is stored in the driver information database, the stored installation information is used. If the device driver to be installed can be installed on the computer, and if the device driver is not stored, the installation described in the information file describing the installation information of the device driver to be installed recorded on the disk is performed. How characterized by comprising using the Le information device drivers are attempting to install recorded on the disc and the step of installing to the computer.
上記コンピュータに、 In the above computer,
上記ドライバ情報データベースに上記インストールしようとしているデバイスドライバのインストール情報が格納されている場合に、当該格納されているインストール情報のバージョンと上記ディスクに記録されたインストールしようとしているデバイスドライバのインストール情報を記述した情報ファイルに記述されたインストール情報のバージョンとを対比してどちらが古いかを判断する判断ステップと、 When the installation information of the device driver to be installed is stored in the driver information database, the version of the stored installation information and the installation information of the device driver to be installed recorded on the disk are described. A determination step of determining which is older by comparing the version of the installation information described in the information file with
上記ドライバ情報データベースに格納されているインストール情報のバージョンの方が古いと判断された場合に、上記情報ファイル用のディレクトリ内に保存されている情報フ If it is determined that the version of the installation information stored in the driver information database is older, the information file stored in the information file directory is determined. ァイルの中から上記インストールしようとしているデバイスドライバのインストール情報を記述した情報ファイルを削除する削除ステップと、A deletion step of deleting an information file describing installation information of the device driver to be installed from the file,
上記削除ステップにて上記情報ファイルが削除された場合に、削除後に同情報ファイル用のディレクトリに保存されている情報ファイルを中間ファイルにコンパイルしつつ同中間ファイルを並び替えて結合して上記ドライバ情報データベースを再構築する再構築ステップと、 When the information file is deleted in the deleting step, the information file stored in the directory for the information file after the deletion is compiled into an intermediate file while the intermediate file is rearranged and combined, and the driver information is deleted. A rebuilding step to rebuild the database;
上記判断ステップの判断の後であって同判断ステップにて上記ドライバ情報データベースに格納されているインストール情報のバージョンの方が古いと判断された場合には上記再構築ステップにて上記ドライバ情報データベースが再構築された後において、上記ドライバ情報データベースに上記予め決定されているインストールしようとしているデバイスドライバのインストール情報が格納されている場合には当該格納されているインストール情報を利用して当該インストールしようとしているデバイスドライバを上記コンピュータにインストール可能であり、格納されていない場合には上記ディスクに記録されたインストールしようとしているデバイスドライバのインストール情報を記述した情報ファイルに記述されたインストール情報を利用して当該ディスクに記録されたインストールしようとしているデバイスドライバを上記コンピュータにインストールするステップとを実行させるためのインストールプログラムを記録した媒体。 After the determination in the determining step, if it is determined in the determining step that the version of the installation information stored in the driver information database is older, the driver information database is determined in the reconstructing step. After the rebuilding, if the predetermined installation information of the device driver to be installed is stored in the driver information database, the installation is attempted using the stored installation information. If the device driver can be installed on the computer, and it is not stored, the installation information described in the information file describing the installation information of the device driver to be installed recorded on the disk is written. Medium recording an installation program for the device driver to use are trying to install recorded on the disc and a step of installing to the computer.
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 JP2004005483A (en) | 2004-01-08 |
JP3546962B2 true 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) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100607970B1 (en) * | 2004-05-14 | 2006-08-03 | 삼성전자주식회사 | OA device and method for installing/reinstalling its driver |
-
2003
- 2003-03-17 JP JP2003072493A patent/JP3546962B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2004005483A (en) | 2004-01-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2912840B2 (en) | File management system | |
US10067835B2 (en) | System reset | |
CN1947099B (en) | Data processing device and method for data exchanging by computer | |
JP4453203B2 (en) | Device environment setting system, device environment setting processing method, and information recording medium | |
JPWO2002056179A1 (en) | Method for regenerating partition using virtual drive, data processing device, and data storage device | |
US8949590B2 (en) | Controlling access to software component state | |
US20090319740A1 (en) | Virtual computer system, information processing device providing virtual computer system, and program thereof | |
JP2002175164A (en) | Storage medium storing program and information processor and information processing method | |
WO2024066995A1 (en) | Text code editing method and system | |
JP3546962B2 (en) | Installation device, installation method, and medium recording installation program | |
JP2007128448A (en) | File system and file information processing method | |
JP2005182615A (en) | Emulation system and emulation method | |
JP4390618B2 (en) | Database reorganization program, database reorganization method, and database reorganization apparatus | |
JP2000242472A (en) | Medium recording installation program, and device and method for installation | |
CN112231761A (en) | Device mounting method, computing device and readable storage medium | |
JP3535413B2 (en) | Data processing device, data processing system, data processing method, and recording medium | |
JP2004246787A (en) | Information processor and method for controlling program | |
JP3346997B2 (en) | Printer driver deletion method and apparatus, and medium recording printer driver deletion program | |
JP2004341840A (en) | Backup method, system therefor, and restoration method | |
JP3698945B2 (en) | Data update processing method | |
JP2001159994A (en) | Device and method for processing information | |
JPH04260141A (en) | Data shared processor | |
JP2003036192A (en) | File management program, computer-readable recording medium having the program recorded therein and file management method | |
JPH10105383A (en) | Uninstalling method for application program, and information recording medium | |
JP2003248609A (en) | Data processing device, data processing system, data processing method and recording medium |
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 |