JP2008158660A - Installer creation device, installer creation method, and installer creation program - Google Patents
Installer creation device, installer creation method, and installer creation program Download PDFInfo
- Publication number
- JP2008158660A JP2008158660A JP2006344539A JP2006344539A JP2008158660A JP 2008158660 A JP2008158660 A JP 2008158660A JP 2006344539 A JP2006344539 A JP 2006344539A JP 2006344539 A JP2006344539 A JP 2006344539A JP 2008158660 A JP2008158660 A JP 2008158660A
- Authority
- JP
- Japan
- Prior art keywords
- file
- device driver
- information
- definition file
- installer
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims description 49
- 238000009434 installation Methods 0.000 claims abstract description 18
- 238000003860 storage Methods 0.000 claims description 19
- 238000011900 installation process Methods 0.000 claims 3
- 230000006870 function Effects 0.000 description 18
- 238000010586 diagram Methods 0.000 description 10
- 230000010365 information processing Effects 0.000 description 9
- 238000004519 manufacturing process Methods 0.000 description 6
- 230000002093 peripheral effect Effects 0.000 description 4
- KNMAVSAGTYIFJF-UHFFFAOYSA-N 1-[2-[(2-hydroxy-3-phenoxypropyl)amino]ethylamino]-3-phenoxypropan-2-ol;dihydrochloride Chemical compound Cl.Cl.C=1C=CC=CC=1OCC(O)CNCCNCC(O)COC1=CC=CC=C1 KNMAVSAGTYIFJF-UHFFFAOYSA-N 0.000 description 3
- 238000004891 communication Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
Images
Landscapes
- Stored Programmes (AREA)
Abstract
【課題】OSが再インストールされてしまう場合等でも既存のデバイスドライバの設定を引き継ぐことができるインストーラ作成装置を提供する。
【解決手段】このインストーラ作成装置は、HDDに格納されているデバイスドライバの設定情報を取得する取得手段(ステップS301)と、取得したデバイスドライバに対応するINFファイルの情報に基づき、該デバイスドライバをインストールする際にインストールアプリケーションが使用する新たなINFファイルを生成する生成手段(ステップS304)と、デバイスドライバに含まれるファイル情報を取得し、該取得ファイル情報を新たなINFファイルに追加して該ファイルを変更する変更手段(ステップS304)と、該変更手段で追加されたファイル情報に基づいて、デバイスドライバのファイルを収集し、所定の領域にコピーする収集手段と、を備える。
【選択図】図3Provided is an installer creation device capable of taking over the settings of an existing device driver even when an OS is reinstalled.
The installer creating apparatus obtains the device driver setting information stored in the HDD (step S301) and the device driver based on the information of the INF file corresponding to the acquired device driver. A generation unit (step S304) for generating a new INF file used by the installation application when installing, and acquiring file information included in the device driver, and adding the acquired file information to the new INF file And changing means (step S304) for changing the device driver, and collecting means for collecting the device driver files and copying them to a predetermined area based on the file information added by the changing means.
[Selection] Figure 3
Description
本発明は、プリンタドライバ等のデバイスドライバのインストーラを作成するインストーラ作成装置、インストーラ作成方法、およびインストーラ作成プログラムに関する。 The present invention relates to an installer creation apparatus, an installer creation method, and an installer creation program for creating an installer for a device driver such as a printer driver.
従来から、プリンタ等の周辺機器を多くのユーザで共有して使用することが広く行われている。その際には、プリンタサーバをネットワーク上に設置し、該プリンタサーバによって、各クライアントコンピュータがプリンタを使用する際に必要な設定や、各クライアントコンピュータに対する権限設定やセキュリティ設定等の情報を管理している。 2. Description of the Related Art Conventionally, peripheral devices such as printers are widely used by being shared by many users. In this case, a printer server is installed on the network, and the printer server manages information necessary for each client computer to use the printer, such as authority settings and security settings for each client computer. Yes.
ところで、クライアントコンピュータの数が増えてくると、プリンタサーバへの負荷が増大するので、プリンタサーバを増やしたり、プリンタサーバをより機能の高いものにしたりする必要性が出てくる。 By the way, as the number of client computers increases, the load on the printer server increases, so it becomes necessary to increase the number of printer servers or to make the printer server more functional.
その場合に管理者は、既存のプリンタサーバにおけるプリンタドライバの設定情報を基準設定としてメモ等で記録する。その後、追加或いは変更するプリンタサーバのプリンタドライバインストーラの用意し、該インストーラを起動して新たなプリンタドライバをインストールする。そして、インストールした新たなプリンタドライバに対してメモ等で記録した既存のプリンタドライバの基準設定を反映させる。 In that case, the administrator records the setting information of the printer driver in the existing printer server as a reference setting as a memo or the like. Thereafter, a printer driver installer for the printer server to be added or changed is prepared, and the installer is activated to install a new printer driver. Then, the standard setting of the existing printer driver recorded with a memo or the like is reflected on the new installed printer driver.
管理者が以上の作業を手作業で行うことは、複雑であるとともに手間がかかってしまう。また、複数台のプリンタサーバに対して既存のプリンタサーバの基準設定を反映することを考えると、その台数分作業を行わなければならないため、負荷はさらに増大する。 It is complicated and troublesome for an administrator to perform the above-mentioned work manually. Also, considering that the standard settings of existing printer servers are reflected to a plurality of printer servers, the work must be performed for the number of printer servers, which further increases the load.
そこで、プリンタドライバの更新の際に新たにインストールされたプリンタドライバの設定を既存のプリンタドライバの基準設定に合わせる技術が開示されている(特許文献1参照)。
上記特許文献1は、プリンタドライバの更新が行われる際に、既にインストールされているプリンタドライバのデバイス設定を引き継ぐものであるが、例えばOSを再インストールする場合などには適用することができない。OSが再インストールされると、それまでに設定されていたプリンタドライバがクリアされてしまうからである。 The above-mentioned patent document 1 takes over the device settings of a printer driver that has already been installed when the printer driver is updated, but cannot be applied, for example, when the OS is reinstalled. This is because when the OS is reinstalled, the printer driver set up to that point is cleared.
そこで、本発明は、OSが再インストールされてしまう場合等でも既存のデバイスドライバの設定を引き継ぐことができるインストーラを作成するためのインストーラ作成装置、インストーラの作成方法、およびインストーラ作成プログラムを提供することを目的とする。 Accordingly, the present invention provides an installer creation apparatus, an installer creation method, and an installer creation program for creating an installer that can take over the settings of an existing device driver even when the OS is reinstalled. With the goal.
上記目的を達成するために、請求項1に記載のインストーラ作成装置は、デバイスドライバのインストーラを作成する装置であって、所定の記憶領域に格納されているデバイスドライバの設定情報を取得する設定情報取得手段と、該設定情報取得手段で取得した前記デバイスドライバに対応する定義ファイルの情報に基づき、該デバイスドライバをインストールする際にインストールアプリケーションが使用する新たな定義ファイルを生成する定義ファイル生成手段と、前記デバイスドライバに含まれる所定のファイル情報を取得し、該取得ファイル情報を前記新たな定義ファイルに追加して該ファイルを変更する定義ファイル変更手段と、該定義ファイル変更手段で追加されたファイル情報に基づいて、前記デバイスドライバのファイルを収集し、所定の領域にコピーする収集手段と、を備えることを特徴とする。 In order to achieve the above object, an installer creating apparatus according to claim 1 is an apparatus for creating an installer of a device driver, and setting information for acquiring device driver setting information stored in a predetermined storage area. An acquisition unit; and a definition file generation unit that generates a new definition file used by an installation application when installing the device driver based on information of a definition file corresponding to the device driver acquired by the setting information acquisition unit; A definition file changing unit that acquires predetermined file information included in the device driver, adds the acquired file information to the new definition file and changes the file, and a file added by the definition file changing unit Based on the information, the device driver file Condensed, characterized in that it comprises a collection means for copying in a predetermined area.
請求項6に記載のインストーラ作成方法は、デバイスドライバのインストーラを作成する方法であって、所定の記憶領域に格納されているデバイスドライバの設定情報を取得する設定情報取得ステップと、該設定情報取得ステップで取得した前記デバイスドライバに対応する定義ファイルの情報に基づき、該デバイスドライバをインストールする際にインストールアプリケーションが使用する新たな定義ファイルを生成する定義ファイル生成ステップと、前記デバイスドライバに含まれる所定のファイル情報を取得し、該取得ファイル情報を前記新たな定義ファイルに追加して該ファイルを変更する定義ファイル変更ステップと、該定義ファイルステップで追加されたファイル情報に基づいて、前記デバイスドライバのファイルを収集し、所定の領域にコピーする収集ステップと、を備えることを特徴とする。 The installer creation method according to claim 6 is a method of creating a device driver installer, a setting information acquisition step of acquiring device driver setting information stored in a predetermined storage area, and the setting information acquisition A definition file generating step for generating a new definition file to be used by an installation application when installing the device driver based on the information of the definition file corresponding to the device driver acquired in the step, and a predetermined included in the device driver A definition file changing step for changing the file by adding the acquired file information to the new definition file, and based on the file information added in the definition file step, Collect files and place Characterized in that it comprises a collecting step of copying the area, the.
請求項11に記載のインストーラ作成プログラムは、デバイスドライバのインストーラを作成する処理をコンピュータに実行させるプログラムであって、所定の記憶領域に格納されているデバイスドライバの設定情報を取得する設定情報取得モジュールと、該設定情報取得モジュールで取得した前記デバイスドライバに対応する定義ファイルの情報に基づき、該デバイスドライバをインストールする際にインストールアプリケーションが使用する新たな定義ファイルを生成する定義ファイル生成モジュールと、前記デバイスドライバに含まれる所定のファイル情報を取得し、該取得ファイル情報を前記新たな定義ファイルに追加して該ファイルを変更する定義ファイル変更モジュールと、該定義ファイルモジュールで追加されたファイル情報に基づいて、前記デバイスドライバのファイルを収集し、所定の領域にコピーする収集モジュールと、を前記コンピュータに実行させる、ことを特徴とする。
An installer creation program according to
本発明によれば、OSが再インストールされてしまう場合等でも、OSの再インストール後に作成したインストーラを実行することで、既存のデバイスドライバの設定を引き継ぐことができる。 According to the present invention, even when the OS is reinstalled, the existing device driver settings can be taken over by executing the installer created after the OS is reinstalled.
以下、本発明の実施の形態の一例を図を参照して説明する。 Hereinafter, an example of an embodiment of the present invention will be described with reference to the drawings.
図1は、本発明の実施の形態の一例であるプリンタサーバを含むネットワークシステムの構成図である。 FIG. 1 is a configuration diagram of a network system including a printer server which is an example of an embodiment of the present invention.
図1に示すように、このシステムでは、ネットワーク104を介してプリンタサーバ101、情報処理装置102−1,102−2、プリンタ103−1, 103−2が互いに接続されている。ここで、この実施の形態では、プリンタサーバ101が本発明のインストーラ作成装置として機能する。
As shown in FIG. 1, in this system, a
プリンタサーバ101の所定の記憶領域(例えば、HDD204等:図2参照))には、情報処理装置102−1,102−2で作成された文書データをプリンタ103−1〜103−3から出力させるために必要なプリンタドライバが格納されている。また、プリンタサーバ101は、それぞれのプリンタ103−1〜103−3の状態監視も行なっている。
Document data created by the information processing apparatuses 102-1 and 102-2 is output from the printers 103-1 to 103-3 in a predetermined storage area (for example, the
さらに、プリンタサーバ101は、情報処理装置102−1,102−2を使用するユーザ毎にプリンタ103−1〜103−3に対してどのような機能を使用できるかというアクセス権の設定情報を管理している。さらに、プリンタサーバ101は、情報処理装置102−1,102−2がプリンタ103−1〜103−3に対してデータを送信する際のセキュリティ情報などもあわせて管理している。
Further, the
情報処理装置102−1,102−2(以下、情報処理装置102とする)は、所定のアプリケーションで作成されたデータをプリンタサーバ101上のプリンタドライバを用いて印刷データに変換して、プリンタ103−1〜103−3に出力する。
The information processing apparatuses 102-1 and 102-2 (hereinafter referred to as the information processing apparatus 102) convert data created by a predetermined application into print data using a printer driver on the
プリンタ103−1、103−2および103−3は、プリンタサーバ101および情報処理装置102より送信されてきた印刷データを印刷する機能を有している。
The printers 103-1, 103-2, and 103-3 have a function of printing print data transmitted from the
次に、図2を参照して、プリンタサーバ101のハードウェア構成について説明する。なお、図2では、プリンタサーバ101のハードウェア構成として説明するが、情報処理装置102についても同様のハードウェア構成を有しているものとする。
Next, the hardware configuration of the
図2に示すように、プリンタサーバ101は、ハードウェアとして、CPU201、RAM202、ROM203、HDD(ハードディスクドライブ)204、およびネットワークI/F(インタフェース)205を備える。
As shown in FIG. 2, the
また、プリンタサーバ101は、ハードウェアとして、記録媒体ドライブ206、キーボード207、マウス208、ビデオI/F209、ディスプレイ装置210、および外部機器I/F211も備える。これらのハードウェアは、システムバス212を介して互いに接続されている。
The
CPU201は、RAM202やROM203に格納されているプログラムやデータを用いて、プリンタサーバ101全体を制御するとともに、プリンタサーバ101が行う各処理を実行する。
The
RAM202は、HDD204からロードされたプログラムやデータを一時的に記憶するためのエリアを有するとともに、CPU201が各種処理を実行するために使用するワークエリアを有する。ROM203は、コンピュータのブートプログラムやBIOS等の各種プログラムを記憶している。
The
HDD204は、OS(オペレーティングシステム)や、プリンタサーバ101が行う各処理をCPU201に実行させるためのプログラムや各種データを保存しており、これらは必要に応じてCPU201の制御によりRAM202に読み出されて実行される。
The
ネットワークI/F205はネットワーク104に接続するためのものであり、このネットワークI/F205を介して外部機器との間でデータ通信を行うことが可能となる。記録媒体ドライブ206は、CD−ROM、CD−R/RW、DVD―ROM、DVD−R/RW、およびDVD−RAM等のドライブとして機能する。キーボード207、およびマウス208は、各種の指示をCPU201に入力することができる入力部として機能する。
A network I /
ビデオI/F209には、ディスプレイ装置210が接続される。ディスプレイ装置210は、CRTや液晶表示装置等で構成されており、ビデオI/F209を介して送られた信号に基づいて、文字や画像等の情報を表示画面上に表示する機能を有する。
A
外部機器I/F211は、周辺機器を接続するためのポートであり、この外部機器I/F211を介して周辺機器との間でデータの送受信を行うことが可能になる。外部機器I/F211は、SCSI、USB、IEEE1394等の各種インタフェースで構成することができ、通常、複数の外部機器I/Fを有する。
The external device I / F 211 is a port for connecting a peripheral device, and data can be transmitted / received to / from the peripheral device via the external device I /
なお、周辺機器との接続形態は有線/無線を問わない。この外部機器I/F211を介してプリンタ103−1〜103−3と接続することも勿論可能である。
The connection form with the peripheral device may be wired / wireless. Of course, it is possible to connect to the printers 103-1 to 103-3 via the external device I /
次に、図3を参照して、プリンタサーバ101のCPU201によって行われるインストーラの作成処理について説明する。
Next, an installer creation process performed by the
この処理では、プリンタサーバ101にインストールされているプリンタドライバの設定を他のコンピュータ(プリンタサーバ等)にそのまま適用させるための(プリンタサーバ101のOSを再インストールする場合にはOSインストール後のプリンタサーバ101自体にそのまま適用させるための)プリンタドライバのインストーラを作成する。
In this process, the settings of the printer driver installed in the
なお、プリンタサーバのOSは、Windows(登録商標)2000若しくはWindows(登録商標)XP若しくはWindows(登録商標)Server2003であるものとして以下の説明を行う。 The following description is given assuming that the OS of the printer server is Windows (registered trademark) 2000, Windows (registered trademark) XP, or Windows (registered trademark) Server 2003.
以下、Windows(登録商標)におけるインストーラの作成処理を説明する。 Hereinafter, an installer creation process in Windows (registered trademark) will be described.
まず、プリンタサーバ101のCPU201は、既にインストールされているプリンタドライバ情報を取得する(ステップS301)。
First, the
図9は、プリンタドライバ情報の一例を示す図であり、このプリンタドライバ情報はプリンタサーバ101のHDD204に格納されている。
FIG. 9 is a diagram illustrating an example of printer driver information, and the printer driver information is stored in the
ここで、図9において、「プリンタ名」は、プリンタの名称を示すデータである。「ドライバ名」は、当該プリンタで使用されるプリンタドライバの種類を示すデータである。「ポート名」は、プリンタが接続されているポートを示すデータである。「バージョン」はプリンタドライバのバージョンを示すデータである。「代替OS」は、当該プリンタについてどのOSについての代替ドライバがプリンタサーバ101にインストールされているかを示している。
In FIG. 9, “printer name” is data indicating the name of the printer. “Driver name” is data indicating the type of printer driver used in the printer. “Port name” is data indicating the port to which the printer is connected. “Version” is data indicating the version of the printer driver. “Alternative OS” indicates for which OS an alternative driver is installed in the
代替ドライバは、プリンタドライバ毎に設定することができ、共有設定したプリンタサーバ上に他のOS用のプリンタドライバもコピーしておき、クライアントが接続したときに、プリンタドライバをネットワーク104経由でインストールするOSの機能である。
An alternative driver can be set for each printer driver, and a printer driver for another OS is also copied to the shared printer server, and the printer driver is installed via the
図3に戻って、その後、プリンタサーバ101に既にインストールされているプリンタドライバで印刷データが作成可能なプリンタの中から、作成されるインストーラにプリンタドライバを追加するプリンタを選択する(ステップS302)。その際には、例えば図7に示すように、ダイアログボックスをディスプレイ装置210に表示させ、当該ダイアログボックスを介しての、プリンタサーバ101を使用するユーザによる入力部からの指示に従って、CPU201はプリンタを選択することになる。
Returning to FIG. 3, a printer for adding a printer driver to the created installer is selected from printers that can create print data using the printer driver already installed in the printer server 101 (step S302). In this case, for example, as shown in FIG. 7, a dialog box is displayed on the
図7は、インストーラにプリンタドライバを追加するプリンタの選択画面の一例を示す図である。 FIG. 7 is a diagram illustrating an example of a printer selection screen for adding a printer driver to the installer.
図7において、「インストーラにドライバを追加するプリンタの選択」欄のラジオボタンは、該ラジオボタンの下方のプリンタ表示領域に表示させるプリンタの種類を選択させるためのコントロールである。 In FIG. 7, a radio button in the column “Select Printer to Add Driver to Installer” is a control for selecting the type of printer to be displayed in the printer display area below the radio button.
「既存プリンタを全て表示」が選択された場合には、プリンタ表示領域には、プリンタサーバ101にインストールされているプリンタドライバで使用可能な全てのプリンタが表示されることになる。
When “Display all existing printers” is selected, all printers that can be used by the printer driver installed in the
「現在接続されているプリンタを表示」が選択された場合には、その時点でプリンタサーバ101に接続されているプリンタのプリンタドライバのみが表示される。例えば、プリンタサーバにはプリンタドライバがインストールされているが、実際には故障や機種変更等により使用されなくなっているプリンタを表示させないためにこのような選択が可能になっている。
When “display currently connected printer” is selected, only the printer driver of the printer currently connected to the
「プリンタ情報ファイル」が選択されている場合には、プリンタ情報ファイルを選択させ、そのプリンタ情報ファイル中に記録されているプリンタを選択可能にプリンタ表示領域に表示されることになる。 When “printer information file” is selected, the printer information file is selected and the printer recorded in the printer information file is displayed in the printer display area so as to be selectable.
このプリンタ表示領域に表示されているプリンタを選択することで(複数選択が可能)、ユーザはプリンタドライバをインストーラに追加するプリンタの選択指示をCPU201に対して行うことが可能となる。そして、「OK」ボタンが押下されると、インストーラの作成処理が行われることになる。
By selecting the printers displayed in this printer display area (multiple selection is possible), the user can instruct the
また、このダイアログボックスでは、プリンタの選択とともにセキュリティ設定についても選択することが可能である。セキュリティ設定とは、プリンタのアクセス許可を表すものであり、プリンタ毎にユーザ/グループのアクセス許可を割り当てることができる。「セキュリティ設定方法」欄のラジオボタンは、作成するセキュリティ情報ファイルの種類を選択させるためのコントロールである。ここでの設定に基づいて、後述するセキュリティ情報ファイルの作成処理が行われることになる。 In this dialog box, it is possible to select a security setting as well as a printer. The security setting represents printer access permission, and user / group access permission can be assigned to each printer. The radio button in the “security setting method” column is a control for selecting the type of security information file to be created. Based on the setting here, a security information file creation process, which will be described later, is performed.
図3に戻って、CPU201は、プリンタドライバをインストーラに追加するプリンタの選択後、図7の「OK」ボタンの押下によるインストーラの作成指示を受けたかどうかを判断する(ステップS303)。インストーラの作成指示を受けていない場合は(ステップS303でNO)、ステップS302の選択処理を継続する。作成指示を受けたと判断した場合には(ステップS303でYES)、ステップS304のドライバフォルダ作成処理を行う。ドライバフォルダ作成処理の詳細については、図4を用いて後述する。
Returning to FIG. 3, after selecting the printer to add the printer driver to the installer, the
そして、ステップS304のドライバフォルダ作成処理をステップS302で選択された全てのプリンタについて繰り返すことになる(ステップS305でYESと判断するまで)。 Then, the driver folder creation processing in step S304 is repeated for all the printers selected in step S302 (until YES is determined in step S305).
その後、選択されたプリンタについてのプリンタ情報ファイルを作成する(ステップS306)。ここでいうプリンタ情報ファイルとは、プリンタ毎に既存設定情報が記述されているものである。例えば、印刷の向き・ページレイアウトなどOSの機能である印刷設定ダイアログの項目、場所・コメントなどOSの機能であるプリンタプロパティダイアログの項目等が登録されているファイルのことをいう。 Thereafter, a printer information file for the selected printer is created (step S306). The printer information file here is a file in which existing setting information is described for each printer. For example, it refers to a file in which items of a print setting dialog that is an OS function such as print orientation and page layout, and printer property dialog items that are an OS function such as location and comment are registered.
そして、セキュリティ情報ファイルの作成処理を行う(ステップS307)。この際には、図7に示すプリンタ選択画面で設定したセキュリティ設定に応じたセキュリティ情報ファイルを作成することになる。 Then, a security information file creation process is performed (step S307). At this time, a security information file corresponding to the security setting set on the printer selection screen shown in FIG. 7 is created.
その後、インストール情報ファイルを作成する(ステップS308)。インストール情報ファイルは、例えば図12に示すようなもので、プリンタドライバのインストール時にiniファイルとして使用されるファイルである。 Thereafter, an installation information file is created (step S308). The installation information file is, for example, as shown in FIG. 12, and is a file used as an ini file when the printer driver is installed.
図12は、インストール情報ファイルの一例を示す図である。 FIG. 12 is a diagram illustrating an example of the installation information file.
図12において、[INFO]セクションには、(インストール対象プリンタ、各プリンタ情報を除く、インストーラ全体に関わる項目)が記載可能であり、例えばセキュリティ情報ファイルなどを指定することが可能である。 In FIG. 12, the [INFO] section can describe (items related to the entire installer, excluding printers to be installed and printer information), and can specify, for example, a security information file.
[InstallPrinter]セクションには、当該インストール情報ファイルを使用してインストールされるプリンタドライバに対応するプリンタの名称が列挙される。この場合、ローカルプリンタ−A、ローカルプリンタ−B、ネットワークプリンタ−Cという名称のプリンタが、当該インストール情報ファイルを使用してプリンタドライバをインストールするとコンピュータ上に作成されることになる。 In the [InstallPrinter] section, names of printers corresponding to printer drivers installed using the installation information file are listed. In this case, printers named local printer-A, local printer-B, and network printer-C are created on the computer when the printer driver is installed using the installation information file.
それ以降の、[ローカルプリンタ−A]、[ローカルプリンタ−B]、及び[ネットワークプリンタ−C]セクションには、[InstallPrinter]セクションに列挙されているプリンタについてそれぞれ「ドライバ名称」や「ポート名称」、「バージョン」、「基本OS用INF」(基本OS用のINFファイルの名称)、「代替OS用INF」(代替OS用のINFファイルの名称:「,」で区切り、複数記載することが可能)、「プリンタ設定」(プリンタ設定ファイルの名称)などが記載されている。 Subsequent [Local Printer-A], [Local Printer-B], and [Network Printer-C] sections include “driver name” and “port name” for the printers listed in the [InstallPrinter] section, respectively. , “Version”, “INF for basic OS” (name of INF file for basic OS), “INF for alternative OS” (name of INF file for alternative OS: “,”) ), “Printer setting” (name of printer setting file), and the like.
この処理で作成されたファイルを所定のフォルダに格納することで、インストーラが完成する。 The installer is completed by storing the file created by this processing in a predetermined folder.
以上がプリントサーバ101のCPU201によって行われるインストーラの作成処理になる。
The above is the installer creation process performed by the
上記の処理の結果、図8に示すようなインストーラが作成される。このインストーラは、インストーラアプリケーション(既存)、インストール情報(図3のステップS308で作成)、セキュリティ情報(図3のステップS307で作成)、プリンタ設定情報(図3のステップS306で作成)とともに、図3のステップS304で作成した基本OS用のドライバフォルダ、代替OS用のドライバフォルダから構成される。 As a result of the above processing, an installer as shown in FIG. 8 is created. This installer includes an installer application (existing), installation information (created in step S308 in FIG. 3), security information (created in step S307 in FIG. 3), printer setting information (created in step S306 in FIG. 3), and FIG. The basic OS driver folder and the alternative OS driver folder created in step S304.
次に、図4を参照して、図3のステップS304のドライバフォルダ作成処理を詳述する。図4は、図3のステップS304のドライバフォルダ作成処理の一例を説明するためのフローチャート図である。 Next, the driver folder creation process in step S304 of FIG. 3 will be described in detail with reference to FIG. FIG. 4 is a flowchart for explaining an example of the driver folder creation process in step S304 of FIG.
まず、インストーラに含ませるプリンタドライバのINFファイル(セットアップ情報定義ファイル)を取得する(ステップS401)。INFファイルはWindows(登録商標)XPでは、C:¥Windows(登録商標)¥INFにドライバインストール時にコピーされることになるので、そのフォルダから選択されたプリンタに対応するINFファイルを取得することになる。 First, an INF file (setup information definition file) of a printer driver included in the installer is acquired (step S401). In Windows (registered trademark) XP, the INF file is copied to C: \ Windows (registered trademark) \ INF when the driver is installed. Therefore, the INF file corresponding to the selected printer is acquired from the folder. Become.
ここで、図11を参照して、INFファイルの構成を説明する。 Here, the configuration of the INF file will be described with reference to FIG.
図11は、Windows(登録商標)XPのプリンタドライバのINFファイルの一例を示す図である。 FIG. 11 is a diagram illustrating an example of an INF file of a printer driver of Windows (registered trademark) XP.
図11において、「Version」セクションAには、INFファイルの概要が記述されており、プロバイダやドライババージョン等の情報が記載されている。 In FIG. 11, “Version” section A describes the outline of the INF file and describes information such as the provider and the driver version.
「Manufacturer」セクションBには、対象とするメーカー等の情報が記載されている。 In the “Manufacturer” section B, information on a target manufacturer and the like is described.
「Model」セクションCには、対象とするドライバが記述されており、ドライバ名称、後述の「Install」セクション名称、ハードウェアID等の情報が記載されている。このセクションには、複数のドライバ名称が設定可能であり、その場合にはそれぞれに対応した後述の「Install」セクションDが記述されることになる。 In “Model” section C, a target driver is described, and information such as a driver name, an “Install” section name described later, and a hardware ID is described. In this section, a plurality of driver names can be set. In this case, an “Install” section D described later corresponding to each driver name is described.
「Install」セクションDには、インストールでどのような作業を行うかが記述されており、当該「Install」セクション([PR1000])に対応する後述の「Data」セクション名称(DataSectionの値で示されている)、後述の「FileList」セクション名称(CopyFilesの値で示されている)等の情報が記載されている。 The “Install” section D describes what kind of work is to be performed in the installation. The “Data” section name (DataSection value) described later corresponding to the “Install” section ([PR1000]) is described. Information such as “FileList” section name (indicated by the value of CopyFiles), which will be described later, is described.
「Data」セクションEには、Driverファイル、Configファイル、Helpファイルの名称等の情報が記載されている。 In the “Data” section E, information such as the names of the Driver file, the Config file, and the Help file is described.
「FileList」セクションFには、「Install」セクションのCopyFilesの値が本セクションの名称となっているプリンタドライバのインストーラで使用するドライバファイル名称の情報が記載されている。 In the “FileList” section F, information on driver file names used in the printer driver installer whose CopyFiles value in the “Install” section is the name of this section is described.
「DestinationDirs」セクションGには、「FileList」セクション毎のインストーラで使用するドライバファイルのコピー先情報が記載されている。 In the “Destination Directors” section G, copy destination information of driver files used by the installer for each “FileList” section is described.
「Strings」セクションHには、INFファイル全体に関わる項目のうち、“%”で囲まれている文字の置き換え情報が記載されている。 The “Strings” section H describes replacement information of characters enclosed in “%” among items related to the entire INF file.
そして、INFファイルの取得に失敗した場合には(ステップS402でNO)、エラー表示を行い(ステップS414)、本処理を終了する。 If acquisition of the INF file has failed (NO in step S402), an error is displayed (step S414), and this process ends.
一方、INFファイルの取得に成功した場合には(ステップS402でYES)、プリンタドライバのバージョンを判断する(ステップS403)。これは図11の「Version」セクションAの「DriverVer」の値に基づいて判断することになる。 On the other hand, if the acquisition of the INF file is successful (YES in step S402), the printer driver version is determined (step S403). This is determined based on the value of “DriverVer” in “Version” section A in FIG.
その後、当該バージョンの基本OS用INFファイル(この発明のインストーラ作成装置によって作成されるINFファイル)が既に作成されているかを判断する(ステップS404)。未だ作成されていないと判断した場合には(ステップS404でNO)、当該バージョンのドライバ用の基本OS用INFファイルを作成することになる(ステップS405)。 After that, it is determined whether or not the version of the basic OS INF file (INF file created by the installer creating apparatus of the present invention) has already been created (step S404). If it is determined that it has not been created yet (NO in step S404), a basic OS INF file for the driver of the version is created (step S405).
このステップで作成された基本OS用INFファイルには、まず、図11の「Version」セクションAと「Manufacturer」セクションBの情報がステップS401で取得したINFファイルからコピーされることになる。 In the basic OS INF file created in this step, first, the information of “Version” section A and “Manufacturer” section B in FIG. 11 is copied from the INF file acquired in step S401.
ステップS404でYES(既に基本OS用INFファイル作成済み)の場合、及びステップS405での基本OS用INFファイル作成処理が終了した場合には、基本OS用INFファイルの編集処理を行う(ステップS406)。ステップS406での編集処理の詳細については図5を用いて後述する。 If YES in step S404 (the basic OS INF file has already been created) and if the basic OS INF file creation process in step S405 is completed, the basic OS INF file editing process is performed (step S406). . Details of the editing process in step S406 will be described later with reference to FIG.
その後、当該プリンタドライバで必要なドライバファイルを指定フォルダにコピーする(ステップS407)。ドライバファイルはプリンタドライバインストール時にWindows(登録商標)XPでは、C:\Windows(登録商標)\System32\spool\Drivers\W32X86\3にコピーされているので、当該フォルダからドライバファイルを取得することになる。既に同一名称の更新日付が新しいドライバファイルが指定フォルダにコピーされている場合には、そのファイルはコピーしない。以上が基本OS用のドライバフォルダの作成処理になる。 Thereafter, the driver file necessary for the printer driver is copied to the designated folder (step S407). The driver file is copied to C: \ Windows (registered trademark) \ System32 \ spool \ Drivers \ W32X86 \ 3 in Windows (registered trademark) XP when installing the printer driver. Become. If a driver file with the same name and a new update date has already been copied to the specified folder, that file is not copied. The above is the process for creating the driver folder for the basic OS.
その後、処理中のプリンタでの印刷データを作成するために使用するプリンタドライバに代替OSの設定があるかを判断する(ステップS408)。この判断は、図9のプリンタドライバ情報の代替OS欄にデータがあるか否かで判断することになる。 Thereafter, it is determined whether there is an alternative OS setting in the printer driver used to create print data for the printer being processed (step S408). This determination is made based on whether there is data in the alternative OS column of the printer driver information in FIG.
ステップS408でNOと判断した場合には、処理中の選択プリンタに対するインストールファイル作成処理を終了する。 If NO is determined in step S408, the installation file creation process for the selected printer being processed is terminated.
ステップS408でYESと判断した場合には、代替OS用INFファイル(この発明のインストーラ作成装置によって作成されるINFファイル)が既に作成済みかを判断することになる(ステップS409)。 If YES is determined in step S408, it is determined whether an alternative OS INF file (an INF file created by the installer creating apparatus of the present invention) has already been created (step S409).
代替OS用INFファイルは代替OSそれぞれについて作成することになるので、ここでは、当該プリンタに設定されている代替OS全ての代替OS用INFファイルが作成されているかを判断することになる。 Since the alternative OS INF file is created for each alternative OS, it is determined here whether the alternative OS INF files for all the alternative OSs set in the printer have been created.
全ての代替OSの代替OS用INFファイルが作成済みではないと判断した場合には(ステップS409でNO)、未だ作成していない代替OSの代替OS用INFファイルを作成する(ステップS410)。 If it is determined that alternative OS INF files for all alternative OSs have not been created (NO in step S409), an alternative OS INF file for an alternative OS that has not yet been created is created (step S410).
このステップで作成された代替OS用INFファイルには、まず、図11の「Version」セクションAの情報がステップS401で取得したINFファイルからコピーされることになる。 In the alternative OS INF file created in this step, the information of the “Version” section A in FIG. 11 is first copied from the INF file acquired in step S401.
ステップS410の処理終了後、若しくはステップS409でYESと判断した場合には、それぞれの代替OS毎に代替OS用INFファイルの編集処理を行う(ステップS411)。ステップS411の編集処理の詳細については図6を用いて後述する。 After the process of step S410 is completed, or when YES is determined in step S409, the alternative OS INF file is edited for each alternative OS (step S411). Details of the editing process in step S411 will be described later with reference to FIG.
そしてその後、代替OS用の当該プリンタドライバで必要なドライバファイルを指定フォルダにコピーする(ステップS412)。ドライバファイルは代替プリンタドライバインストール時にWindows(登録商標)XPではWindows(登録商標)98/Me用の代替プリンタドライバはC:\Windows(登録商標)\System32\spool\Drivers\Win40\0に、Windows(登録商標)NT用の代替プリンタドライバは、C:\Windows(登録商標)\System32\spool\Drivers\W32X86\2にコピーされているので、当該フォルダからドライバファイルを取得することになる。 Thereafter, the driver file necessary for the printer driver for the alternative OS is copied to the designated folder (step S412). When installing an alternative printer driver, the Windows XP (Windows) 98 / Me alternative printer driver for Windows (registered trademark) XP is C: \ Windows (registered trademark) \ System32 \ spool \ Drivers \ Win40 \ 0, Windows Since the alternative printer driver for (registered trademark) NT is copied to C: \ Windows (registered trademark) \ System32 \ spool \ Drivers \ W32X86 \ 2, the driver file is obtained from the folder.
なお、既に同一名称の更新日付が新しいドライバファイルが指定フォルダにコピーされている場合には、そのファイルはコピーしない。この処理で代替OSそれぞれ用の代替OS用ドライバフォルダが作成されることになる。 If a driver file with the same name and a new update date has already been copied to the specified folder, the file is not copied. With this process, a substitute OS driver folder for each substitute OS is created.
そして、ステップS411、S412の処理を全ての代替OSについて処理が終わるまで(ステップS413でYES)繰り返すことになる。 Then, the processes in steps S411 and S412 are repeated until the process is completed for all alternative OSs (YES in step S413).
以上が、図3のステップS304のドライバフォルダ作成処理の詳細である。 The above is the details of the driver folder creation processing in step S304 in FIG.
次に、図5を参照して、図4のステップS406の基本OS用INFファイルの編集処理の詳細を説明する。 Next, details of the editing process of the basic OS INF file in step S406 of FIG. 4 will be described with reference to FIG.
まず、CPU201は、編集対象となっている基本OS用INFファイルに、図7での選択プリンタで使用するプリンタドライバの情報が既に記載済みかどうかを判断する。
First, the
Windows(登録商標)のINFファイルの場合は、図11のINFファイル中の「Manufacture」セクションBの「“」と「”」で囲まれたキーの値2001の名称が付いているセクション中に、当該ドライバの名称が含まれているかをチェックする。
In the case of a Windows (registered trademark) INF file, a section with a name of a
そして、ドライバ名称が既に含まれていたら既に記載済みであると判断し、記載済みと判断した場合には(ステップS501でYES)、本処理を終了する。 If the driver name is already included, it is determined that the driver name has already been described. If it is determined that the driver name has already been described (YES in step S501), the process ends.
ステップS501で記載されていないと判断した場合には(ステップS501でNO)、基本OS用INFファイルにプリンタドライバのドライバ情報を追加する(ステップS502)。 If it is determined that it is not described in step S501 (NO in step S501), driver information of the printer driver is added to the basic OS INF file (step S502).
具体的には、図11の既存INFファイルの「Manufacture」セクションBの「“」と「”」で囲まれた箇所の名称が付いているセクション中にある当該プリンタドライバの設定情報を基本OS用INFファイルにコピーする。また、「Manufacture」セクションBや当該プリンタドライバの設定情報を記載すべきセクションが未だ作成されていなければ、それらの情報もあわせて作成することになる。 Specifically, the setting information of the printer driver in the section with the name surrounded by ““ ”and“ ”in the“ Manufacture ”section B of the existing INF file in FIG. 11 is used for the basic OS. Copy to INF file. In addition, if the “Manufacture” section B and the section in which the setting information of the printer driver is to be described have not yet been created, such information is also created.
その後、当該ドライバ情報の値(図11の2002)に基づいて「Install」セクション(例えば図11の「PR1000」セクション)の設定値を既存INFファイルから基本OS用INFファイルにコピーすることで「Install」セクション情報(例えば図11中のD)を追加する(ステップS503)。 Thereafter, based on the value of the driver information (2002 in FIG. 11), the setting value of the “Install” section (for example, the “PR1000” section in FIG. 11) is copied from the existing INF file to the basic OS INF file, thereby “Install”. Section information (for example, D in FIG. 11) is added (step S503).
その後、「Install」セクション(例えば図11のD「PR1000」セクション)中の「DataSection」キーの値と同名の既存INFファイル中のセクションを、編集中の基本OS用INFファイルにコピーすることで、「Data」セクション情報を追加する(ステップS504)。 Then, by copying the section in the existing INF file having the same name as the value of the “DataSection” key in the “Install” section (for example, the D “PR1000” section in FIG. 11) to the basic OS INF file being edited, “Data” section information is added (step S504).
そして、「Install」セクション中の「CopyFiles」キーの値と同名の既存INFファイル中のセクションを編集中の基本OS用INFファイルにコピーすることで「FileList」セクション情報を追加する(ステップS505)。 Then, the “FileList” section information is added by copying the section in the existing INF file having the same name as the value of the “CopyFiles” key in the “Install” section to the basic OS INF file being edited (step S505).
以上が基本OS用INFファイルの編集処理である。また、図5では記載は省略するが、すべてのプリンタドライバについての情報を基本OS用INFファイルに追加後、例えばこのときに[DestinationDirs]セクションの情報や[Strings]セクションの情報も追加することになる。 The basic OS INF file editing process has been described above. Although not shown in FIG. 5, after adding information about all printer drivers to the basic OS INF file, for example, information on the [Destination Directors] section and information on the [Strings] section are also added at this time. Become.
次に、図6を参照して、図4のステップS411の代替OS用INFファイルの編集処理の詳細を説明する。 Next, details of the editing process of the alternative OS INF file in step S411 of FIG. 4 will be described with reference to FIG.
まず、CPU201は編集対象となっている代替OS用INFファイルに、選択プリンタで使用するプリンタドライバの情報が既に記載済みかどうかを判断する。
First, the
Windows(登録商標)のINFファイルの場合は、INFファイル中の「Manufacture」セクションの「“」と「”」で囲まれたキーの値(図11の2001)の名称が付いているセクションタグ中に、当該ドライバの名称が含まれているかをチェックし、ドライバ名称が既に含まれていたら既に記載済みであると判断する。記載済みと判断した場合には(ステップS601でYES)、本処理を終了する。 In the case of a Windows (registered trademark) INF file, in the section tag with the name of the key value (2001 in FIG. 11) surrounded by ““ ”and“ ”” in the “Manufacture” section in the INF file If the driver name is already included, it is determined that the driver name has already been described. If it is determined that the description has been made (YES in step S601), the process ends.
ステップS601で記載されていないと判断した場合には(ステップS601でNO)、代替OS用INFファイルにプリンタドライバのドライバ情報を追加する(ステップS602)。 If it is determined that it is not described in step S601 (NO in step S601), the driver information of the printer driver is added to the alternative OS INF file (step S602).
具体的には、既存INFファイルの「Manufacture」セクションの「“」と「”」で囲まれた箇所の名称が付いているセクション中にある当該プリンタドライバの設定情報を代替OS用INFファイルにコピーする。また、「Manufacture」セクションや当該プリンタドライバの設定情報を記載すべきセクションが未だ作成されていなければ、それらの情報もあわせて作成することになる。 Specifically, the setting information of the printer driver in the section with the name surrounded by ““ ”and“ ”” in the “Manufacture” section of the existing INF file is copied to the alternative OS INF file To do. In addition, if a “Manufacture” section or a section in which setting information of the printer driver is to be described has not yet been created, the information is also created.
その後、当該ドライバ情報の値(例えば図11の2002)に基づいて「Install」セクション(例えば図11の「PR1000」セクション)の設定値を既存INFファイルから代替OS用INFファイルにコピーすることで「Install」セクション情報(例えば図11中のD)を追加する(ステップS603)。 Then, based on the value of the driver information (for example, 2002 in FIG. 11), the setting value of the “Install” section (for example, the “PR1000” section in FIG. 11) is copied from the existing INF file to the alternative OS INF file. “Install” section information (for example, D in FIG. 11) is added (step S603).
[DataFile]キー、及び[LanguageMonitor]キーに追加すべき値については、Windows(登録商標)XPでは、レジストリのHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows(登録商標)NTx86\Drivers\Version-2\フレンドリ名(ドライバ名称)で示されるキーの[Data File]の値[ Monitor]の値にそれぞれ情報が格納されているので、当該レジストリから取得し記載することになる。 As for the values to be added to the [DataFile] key and the [LanguageMonitor] key, in Windows (registered trademark) XP, the registry HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Print \ Environments \ Windows (registered trademark) NTx86 \ Drivers \ Version Since the information is stored in the [Data File] value [Monitor] value of the key indicated by -2 \ friendly name (driver name), it is obtained from the registry and described.
その後、ドライバセクション(例えば図11のD「PR1000」セクション)中の「DataSection」キーの値と同名の既存INFファイル中のセクションを、編集中の代替OS用INFファイルにコピーすることで、データセクション情報を追加する(ステップS604)。 Thereafter, the section in the existing INF file having the same name as the value of the “DataSection” key in the driver section (for example, the D “PR1000” section in FIG. 11) is copied to the INF file for the alternative OS being edited. Information is added (step S604).
[DriverFile]キー、[ConfigFile]キー、[HelpFile]キーに追加すべき値は、Windows(登録商標)XPでは、レジストリのHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows(登録商標)NTx86\Drivers\Version-2\フレンドリ名(ドライバ名称)で示されるキーの[Driver]の値、[ Configuration File]の値、[ Help File]の値にそれぞれ情報が格納されているので、当該レジストリから取得し記載することになる。 In Windows (registered trademark) XP, the value to be added to the [DriverFile] key, [ConfigFile] key, and [HelpFile] key is HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Print \ Environments \ Windows (registered trademark) NTx86 \ in the registry. Information is stored in the [Driver] value, [Configuration File] value, and [Help File] value of the key indicated by Drivers \ Version-2 \ friendly name (driver name). And will be described.
そして、ドライバセクション中の「CopyFiles」キーの値と同名の既存INFファイル中のセクションを編集中の代替OS用INFファイルにコピーすることでコピーファイルセクション情報を追加する(ステップS605)。 Then, the copy file section information is added by copying the section in the existing INF file having the same name as the value of the “CopyFiles” key in the driver section to the alternative OS INF file being edited (step S605).
[DriverFile]キーに追加すべき値は、Windows(登録商標)XPでは、レジストリのHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows(登録商標)NTx86\Drivers\Version-2\フレンドリ名(ドライバ名称)で示されるキーの[Dependent Files]の値に情報が格納されているので、当該レジストリから取得し記載することになる。 In Windows (registered trademark) XP, the value to be added to the [DriverFile] key is HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Print \ Environments \ Windows (registered trademark) NTx86 \ Drivers \ Version-2 \ friendly name (driver) Since the information is stored in the value of [Dependent Files] of the key indicated by (Name), it is acquired from the registry and described.
以上の処理を処理中のプリンタドライバに設定されている全ての代替OSについて行い、全ての代替OS用INFファイルの編集が終了したら、本処理を終了する。 The above processing is performed for all alternative OSs set in the printer driver being processed, and when editing of all alternative OS INF files is completed, this processing ends.
また、図6では説明を省略するが、すべてのプリンタドライバについての情報を基本OS用INFファイルに追加後、例えばこのときに「DestinationDirs」セクションの情報や「Strings」セクションの情報も追加することになる。 Although not described in FIG. 6, after information about all printer drivers is added to the basic OS INF file, for example, information on the “Destination Directors” section and information on the “Strings” section are also added at this time. Become.
なお、「DestinationDir」セクションはそのままコピーするのではなく、図10にあるDistinationDir対応情報に基づいてそれぞれの値を変更することになる。 The “Destination Dir” section is not copied as it is, but the respective values are changed based on the Destination Dir correspondence information shown in FIG.
以上が代替OS用INFファイルの編集処理である。 The above is the editing process of the alternative OS INF file.
上記の説明から明らかなように、この実施の形態では、既にプリンタサーバ101に格納されているデバイスドライバに基づいて、該プリンタサーバ101で設定されているデバイスドライバの環境を他のプリンタサーバ又はOSの再インストール後のプリンタサーバ101に移行するためのデバイスドライバのインストーラを作成することが可能となる。そして、この本発明によって作成されたデバイスドライバを実行することで、既存の設定を反映させた形でのプリンタドライバのインストールが行われることになる。
As is apparent from the above description, in this embodiment, based on a device driver already stored in the
なお、本発明は、上記実施の形態に例示したものに限定されるものではなく、本発明の要旨を逸脱しない範囲において適宜変更可能である。 In addition, this invention is not limited to what was illustrated to the said embodiment, In the range which does not deviate from the summary of this invention, it can change suitably.
また、本発明の目的は、以下の処理を実行することによって達成される。即ち、上述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)が記憶媒体に格納されたプログラムコードを読み出す処理である。 The object of the present invention is achieved by executing the following processing. That is, a storage medium that records a program code of software that realizes the functions of the above-described embodiments is supplied to a system or apparatus, and a computer (or CPU, MPU, etc.) of the system or apparatus is stored in the storage medium. This is the process of reading the code.
この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施の形態の機能を実現することになり、そのプログラムコード及び該プログラムコードを記憶した記憶媒体は本発明を構成することになる。 In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the program code and the storage medium storing the program code constitute the present invention.
また、プログラムコードを供給するための記憶媒体としては、次のものを用いることができる。例えば、フロッピー(登録商標)ディスク、ハードディスク、光磁気ディスク、CD−ROM、CD−R、CD−RW、DVD−ROM、DVD−RAM、DVD−RW、DVD+RW、磁気テープ、不揮発性のメモリカード、ROM等である。または、プログラムコードをネットワークを介してダウンロードしてもよい。 Moreover, the following can be used as a storage medium for supplying the program code. For example, floppy (registered trademark) disk, hard disk, magneto-optical disk, CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD + RW, magnetic tape, nonvolatile memory card, ROM or the like. Alternatively, the program code may be downloaded via a network.
また、コンピュータが読み出したプログラムコードを実行することにより、上記実施の形態の機能が実現される場合も本発明に含まれる。加えて、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。 Further, the present invention includes a case where the function of the above-described embodiment is realized by executing the program code read by the computer. In addition, an OS (operating system) running on the computer performs part or all of the actual processing based on an instruction of the program code, and the functions of the above-described embodiments are realized by the processing. Is also included.
更に、前述した実施形態の機能が以下の処理によって実現される場合も本発明に含まれる。即ち、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれる。その後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行う場合である。 Furthermore, a case where the functions of the above-described embodiment are realized by the following processing is also included in the present invention. That is, the program code read from the storage medium is written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer. Thereafter, based on the instruction of the program code, the CPU or the like provided in the function expansion board or function expansion unit performs part or all of the actual processing.
101 プリンタサーバ(インストール作成装置)
102 情報処理装置
103 プリンタ
201 CPU
202 RAM
203 ROM
204 HDD
205 ネットワークI/F
206 記録媒体ドライブ
207 キーボード
208 マウス
209 ビデオI/F
210 ディスプレイ装置
211 外部機器
212 システムバス
101 Printer server (installation creation device)
102 Information processing apparatus 103
202 RAM
203 ROM
204 HDD
205 Network I / F
206 Recording
210
Claims (15)
所定の記憶領域に格納されているデバイスドライバの設定情報を取得する設定情報取得手段と、
該設定情報取得手段で取得した前記デバイスドライバに対応する定義ファイルの情報に基づき、該デバイスドライバをインストールする際にインストールアプリケーションが使用する新たな定義ファイルを生成する定義ファイル生成手段と、
前記デバイスドライバに含まれる所定のファイル情報を取得し、該取得ファイル情報を前記新たな定義ファイルに追加して該ファイルを変更する定義ファイル変更手段と、
該定義ファイル変更手段で追加されたファイル情報に基づいて、前記デバイスドライバのファイルを収集し、所定の領域にコピーする収集手段と、を備える
ことを特徴とするインストーラ作成装置。 A device that creates a device driver installer,
Setting information acquisition means for acquiring device driver setting information stored in a predetermined storage area;
Definition file generation means for generating a new definition file used by an installation application when installing the device driver based on the information of the definition file corresponding to the device driver acquired by the setting information acquisition means;
Definition file changing means for acquiring predetermined file information included in the device driver, adding the acquired file information to the new definition file, and changing the file;
An installer creation apparatus comprising: a collection unit that collects the file of the device driver based on the file information added by the definition file changing unit and copies the file to a predetermined area.
該選択操作手段により選択されたデバイスドライバの選択情報を受け付ける受付手段と、を備え、
前記定義ファイル生成手段は、前記受付手段で受け付けたデバイスドライバに対応する定義ファイルの情報に基づき、前記新たな定義ファイルを生成する、
ことを特徴とする請求項1に記載のインストーラ作成装置。 A selection operation means capable of selecting and operating a device driver included in the installer from a plurality of device drivers acquired by the setting information acquisition means;
Receiving means for receiving selection information of the device driver selected by the selection operation means,
The definition file generating means generates the new definition file based on information of a definition file corresponding to the device driver received by the receiving means;
The installer creating apparatus according to claim 1.
該セキュリティ情報取得手段で取得したセキュリティ情報に基づいて新たなセキュリティ情報ファイルを生成するセキュリティ情報ファイル生成手段と、を備える
ことを特徴する請求項1又は2に記載のインストーラ作成装置。 Security information acquisition means for acquiring security information of the device driver stored in the predetermined storage area;
The installer creation apparatus according to claim 1, further comprising: a security information file generation unit that generates a new security information file based on the security information acquired by the security information acquisition unit.
ことを特徴とする請求項1〜3のいずれか一項に記載のインストーラ作成装置。 The device driver stored in the predetermined storage area includes an alternative device driver.
The installer creation apparatus as described in any one of Claims 1-3 characterized by the above-mentioned.
ことを特徴とする請求項4に記載のインストーラ作成装置。 The definition file changing means adds directory information for recording the alternative device driver to the new definition file during the installation process by the installer application.
The installer creation apparatus according to claim 4.
所定の記憶領域に格納されているデバイスドライバの設定情報を取得する設定情報取得ステップと、
該設定情報取得ステップで取得した前記デバイスドライバに対応する定義ファイルの情報に基づき、該デバイスドライバをインストールする際にインストールアプリケーションが使用する新たな定義ファイルを生成する定義ファイル生成ステップと、
前記デバイスドライバに含まれる所定のファイル情報を取得し、該取得ファイル情報を前記新たな定義ファイルに追加して該ファイルを変更する定義ファイル変更ステップと、
該定義ファイルステップで追加されたファイル情報に基づいて、前記デバイスドライバのファイルを収集し、所定の領域にコピーする収集ステップと、を備える
ことを特徴とするインストーラ作成方法。 A method of creating a device driver installer,
A setting information acquisition step of acquiring device driver setting information stored in a predetermined storage area;
A definition file generation step for generating a new definition file to be used by the installation application when installing the device driver based on the information of the definition file corresponding to the device driver acquired in the setting information acquisition step;
A predetermined file information included in the device driver, a definition file changing step of changing the file by adding the acquired file information to the new definition file; and
And a collecting step of collecting the device driver files based on the file information added in the definition file step and copying them to a predetermined area.
前記定義ファイル生成ステップは、前記受付ステップで受け付けたデバイスドライバに対応する定義ファイルの情報に基づき、前記新たな定義ファイルを生成する、
ことを特徴とする請求項6に記載のインストーラ作成方法。 A reception step of receiving selection information of a device driver selected from a plurality of device drivers acquired in the setting information acquisition step;
The definition file generation step generates the new definition file based on information on a definition file corresponding to the device driver received in the reception step.
The installer creation method according to claim 6.
該セキュリティ情報取得ステップで取得したセキュリティ情報に基づいて新たなセキュリティ情報ファイルを生成するセキュリティ情報ファイル生成ステップと、を備える
ことを特徴する請求項6又は7に記載のインストーラ作成方法。 A security information acquisition step of acquiring security information of the device driver stored in the predetermined storage area;
The installer creation method according to claim 6, further comprising: a security information file generation step that generates a new security information file based on the security information acquired in the security information acquisition step.
ことを特徴とする請求項6〜8のいずれか一項に記載のインストーラ作成方法。 The device driver stored in the predetermined storage area includes an alternative device driver.
The installer creation method according to any one of claims 6 to 8.
ことを特徴とする請求項9に記載のインストーラ作成方法。 The definition file changing step adds directory information for recording the alternative device driver to the new definition file during the installation process by the installer application.
The installer creation method according to claim 9.
所定の記憶領域に格納されているデバイスドライバの設定情報を取得する設定情報取得モジュールと、
該設定情報取得モジュールで取得した前記デバイスドライバに対応する定義ファイルの情報に基づき、該デバイスドライバをインストールする際にインストールアプリケーションが使用する新たな定義ファイルを生成する定義ファイル生成モジュールと、
前記デバイスドライバに含まれる所定のファイル情報を取得し、該取得ファイル情報を前記新たな定義ファイルに追加して該ファイルを変更する定義ファイル変更モジュールと、
該定義ファイルモジュールで追加されたファイル情報に基づいて、前記デバイスドライバのファイルを収集し、所定の領域にコピーする収集モジュールと、を前記コンピュータに実行させる、
ことを特徴とするインストーラ作成プログラム。 A program that causes a computer to execute a process for creating a device driver installer,
A setting information acquisition module for acquiring device driver setting information stored in a predetermined storage area;
A definition file generation module that generates a new definition file to be used by an installation application when installing the device driver based on the information of the definition file corresponding to the device driver acquired by the setting information acquisition module;
A predetermined file information included in the device driver, a definition file change module for changing the file by adding the acquired file information to the new definition file;
Collecting the device driver file based on the file information added in the definition file module, and causing the computer to execute a collection module that copies the file to a predetermined area;
An installer creation program characterized by that.
前記定義ファイル生成モジュールは、前記受付モジュールで受け付けたデバイスドライバに対応する定義ファイルの情報に基づき、前記新たな定義ファイルを生成する、
ことを特徴とする請求項11に記載のインストーラ作成プログラム。 A reception module for receiving selection information of a device driver selected from a plurality of device drivers acquired by the setting information acquisition module;
The definition file generation module generates the new definition file based on information on a definition file corresponding to a device driver received by the reception module.
The installer creation program according to claim 11.
該セキュリティ情報取得モジュールで取得したセキュリティ情報に基づいて新たなセキュリティ情報ファイルを生成するセキュリティ情報ファイル生成モジュールと、を備える ことを特徴する請求項11又は12に記載のインストーラ作成プログラム。 A security information acquisition module for acquiring security information of the device driver stored in the predetermined storage area;
The installer creation program according to claim 11, further comprising: a security information file generation module that generates a new security information file based on the security information acquired by the security information acquisition module.
ことを特徴とする請求項11〜13のいずれか一項に記載のインストーラ作成プログラム。 The device driver stored in the predetermined storage area includes an alternative device driver.
The installer creation program according to any one of claims 11 to 13.
ことを特徴とする請求項14に記載のインストーラ作成プログラム。 The definition file change module adds directory information for recording the alternative device driver to the new definition file during the installation process by the installer application.
The installer creation program according to claim 14.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2006344539A JP2008158660A (en) | 2006-12-21 | 2006-12-21 | Installer creation device, installer creation method, and installer creation program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2006344539A JP2008158660A (en) | 2006-12-21 | 2006-12-21 | Installer creation device, installer creation method, and installer creation program |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2008158660A true JP2008158660A (en) | 2008-07-10 |
Family
ID=39659517
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2006344539A Pending JP2008158660A (en) | 2006-12-21 | 2006-12-21 | Installer creation device, installer creation method, and installer creation program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2008158660A (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2011159058A (en) * | 2010-01-29 | 2011-08-18 | Canon Electronics Inc | Image output system and network scanner system |
| JP2013257825A (en) * | 2012-06-14 | 2013-12-26 | Ricoh Co Ltd | Information processing device, network system, operation information capturing method and operation information capturing program |
| JP2015122006A (en) * | 2013-12-25 | 2015-07-02 | シャープ株式会社 | Managing device and managing system |
| JP2019096197A (en) * | 2017-11-27 | 2019-06-20 | 株式会社沖データ | Information processing device and information processing system |
-
2006
- 2006-12-21 JP JP2006344539A patent/JP2008158660A/en active Pending
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2011159058A (en) * | 2010-01-29 | 2011-08-18 | Canon Electronics Inc | Image output system and network scanner system |
| JP2013257825A (en) * | 2012-06-14 | 2013-12-26 | Ricoh Co Ltd | Information processing device, network system, operation information capturing method and operation information capturing program |
| JP2015122006A (en) * | 2013-12-25 | 2015-07-02 | シャープ株式会社 | Managing device and managing system |
| JP2019096197A (en) * | 2017-11-27 | 2019-06-20 | 株式会社沖データ | Information processing device and information processing system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8804172B2 (en) | Non-transitory computer readable recording medium stored with printer driver updating program and printer driver updating method | |
| CN1323353C (en) | Information processor, control method and storage medium for said information processor | |
| US20100031244A1 (en) | Software updating device and computer-readable storage medium storing software updating program | |
| JP2007128493A (en) | Image forming apparatus | |
| JP2005338940A (en) | Installation method, information processing apparatus, and device driver | |
| US8769527B2 (en) | Server connected with image forming apparatus and client, image forming system having the same, and driver remote installation method of image forming apparatus | |
| JP4678276B2 (en) | Printer driver setting information synchronization system | |
| CN103995678A (en) | Information processing device and controlling method therefor | |
| JP3774684B2 (en) | Information processing apparatus, printer setting method of information processing apparatus, program, and recording medium | |
| CN103995710A (en) | Image forming device and software installation method | |
| JP6091142B2 (en) | Image forming apparatus, control method, and program thereof. | |
| US8422040B2 (en) | Image forming system and method, management apparatus, and recording medium | |
| US20130067452A1 (en) | Management server, host device, and application management method | |
| EP1460531A2 (en) | Printer information setting method, server and program | |
| JP2008158660A (en) | Installer creation device, installer creation method, and installer creation program | |
| JP7490384B2 (en) | Management device, method and program | |
| JP2010015267A (en) | Software distribution system, software distribution method, and computer program | |
| JP4953753B2 (en) | Information processing apparatus, control method therefor, and program | |
| JP2009009494A (en) | Information processing apparatus, information processing method, and control program | |
| JP6252060B2 (en) | Program, information processing apparatus, and image processing system | |
| JP2011090596A (en) | Program installing method, portable recording medium for implementing the method, information processing apparatus, image formation system, and server apparatus | |
| JP4912288B2 (en) | Management apparatus and information processing method | |
| JP2011039721A (en) | Information processor and program | |
| JP7106870B2 (en) | Program update system and program update method | |
| JP2000312269A (en) | Method and device for controlling copying system and medium storage control program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20110401 |