JP2007233665A - Program for creating installer, storage medium for storing program, method of creating installer, and information processor - Google Patents
Program for creating installer, storage medium for storing program, method of creating installer, and information processor Download PDFInfo
- Publication number
- JP2007233665A JP2007233665A JP2006054202A JP2006054202A JP2007233665A JP 2007233665 A JP2007233665 A JP 2007233665A JP 2006054202 A JP2006054202 A JP 2006054202A JP 2006054202 A JP2006054202 A JP 2006054202A JP 2007233665 A JP2007233665 A JP 2007233665A
- Authority
- JP
- Japan
- Prior art keywords
- driver
- setting
- device driver
- 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
Images
Landscapes
- Stored Programmes (AREA)
Abstract
Description
本発明は、プリンタやスキャナ,複合機などの周辺デバイスを制御するデバイスドライバをコンピュータにインストールするためのインストーラを作成する際の処理技術に関する。 The present invention relates to a processing technique for creating an installer for installing a device driver for controlling peripheral devices such as a printer, a scanner, and a multifunction peripheral in a computer.
コンピュータネットワーク技術が発達している昨今、会社や大学などでは、多数のPC(Personal Computer)を相互に接続して大規模なLAN(Local Area Network)等のネットワークが構築されることが多い。このようなネットワークにはプリンタやスキャナ,複合機などの周辺デバイスも接続され、これらは多数のPCに共有して使用される。 In recent years when computer network technology has been developed, a company, a university, or the like often constructs a network such as a large-scale LAN (Local Area Network) by connecting a large number of PCs (Personal Computers) to each other. Peripheral devices such as printers, scanners, and multifunction peripherals are also connected to such a network, and these are shared by many PCs.
通常、ネットワークが構築される環境では、ネットワークを始めとしてそれに含まれるPCや周辺デバイスまでも統括して管理する管理者が置かれる。このような管理者には、例えばプリンタを常にトナーセーブモード機能をONさせた状態で動作させたい等、それぞれのPCが周辺デバイスを制御する際の設定を予め所望の設定に統一したいという思いがある。それには、周辺デバイスを制御するためのデバイスドライバを予め所望の設定を施した状態でPCにインストールすることが理想的である。 Usually, in an environment where a network is constructed, there is an administrator who manages the network and the PCs and peripheral devices included in the network. For such an administrator, for example, the printer always wants to operate in a state where the toner save mode function is ON, and the desire to unify the settings when each PC controls peripheral devices to a desired setting in advance. is there. For this purpose, it is ideal to install a device driver for controlling the peripheral device on the PC in a state in which a desired setting has been performed in advance.
ここで、デバイスドライバのインストールは、インストーラを用いて行われる。インストーラは、デバイスドライバの本体となるドライバ構成ファイルと、デバイスドライバが周辺デバイスを制御する際に用いる制御設定値が記述された初期設定ファイルと、これらをPC内にコピーして必要な設定を行うインストールプログラムと、を含んでいる(このようなものをインストールセットとも呼ぶ)。 Here, the device driver is installed using an installer. The installer performs a necessary configuration by copying a driver configuration file as a main body of the device driver, an initial setting file in which control setting values used when the device driver controls peripheral devices, and copying them into the PC. An installation program (this is also called an installation set).
しかしながら、デバイスドライバを予め所望の設定を施した状態でPCにインストールすることが可能なインストーラを作成するためには、インストーラに含まれる初期設定ファイルの内容を所望の設定値に書き換える必要があるが、それには、デバイスドライバ毎に固有である初期設定ファイルの内容に精通してなければならず、デバイスドライバを提供するベンダーでなければ困難である。 However, in order to create an installer that can be installed on a PC in a state in which a device driver has been set in advance, it is necessary to rewrite the contents of the initial setting file included in the installer to a desired setting value. For this, it is necessary to be familiar with the contents of the initial setting file that is unique to each device driver, and it is difficult unless the vendor provides the device driver.
このため、デバイスドライバを提供するベンダーに、初期設定ファイルの内容を所望の設定値に書き換えたインストーラの作成を依頼するのが一般的であるが、納入までに多大な時間を要したり、ベンダー側の負担が増大してしまうといった問題がある。 For this reason, it is common to request the vendor that provides the device driver to create an installer that rewrites the contents of the initial settings file to the desired setting values. There is a problem that the burden on the side increases.
特許文献1には、プリンタドライバをインストールする際に、設定を使用者に入力させ、記憶し、インストール時に記憶した設定をプリンタドライバに施すインストーラが開示されている。このインストーラを用いれば、インストール時に所望の設定をプリンタドライバに施すことができるので、印刷の度にプリンタドライバの設定を行うという手間をユーザから省くことができる。しかしながら、このインストーラでは、プリンタドライバをインストールするPC毎に設定を行う必要があることから、ネットワークに含まれるそれぞれのPCに対して所望の設定を施すことは管理者にとって大変煩雑である。 Japanese Patent Application Laid-Open No. 2004-151858 discloses an installer that allows a user to input and store settings when installing a printer driver, and applies the settings stored at the time of installation to the printer driver. If this installer is used, desired settings can be applied to the printer driver at the time of installation, so that the trouble of setting the printer driver each time printing is saved from the user. However, in this installer, since it is necessary to make settings for each PC on which the printer driver is installed, it is very troublesome for the administrator to make desired settings for each PC included in the network.
また、複数のPCがネットワークに繋がったような環境では、PCにインストールされているOS(Operation System)が複数種類にわたる場合があり、それぞれのOSに対応するプリンタドライバ毎の設定を行う手間が余計に発生する。 In an environment where a plurality of PCs are connected to a network, there may be a plurality of types of OSs (Operation Systems) installed on the PCs, and it is unnecessary to perform settings for each printer driver corresponding to each OS. Occurs.
本発明は、上記問題を鑑みて為されたものであり、デバイスドライバを予め所望の設定を施した状態でPCにインストールすることが可能なインストーラを作成するためのプログラム,該プログラムを記憶する記憶媒体,インストーラの作成方法,情報処理装置を提供することを目的とする。 The present invention has been made in view of the above problems, and a program for creating an installer capable of installing a device driver on a PC in a state in which a device driver has been set in advance, and a storage for storing the program An object is to provide a medium, an installer creation method, and an information processing apparatus.
上記課題を解決するため、本発明のプログラムは、
デバイスを制御するためのデバイスドライバがインストールされているコンピュータから、該デバイスドライバを構成するドライバ構成ファイルを摘出する構成摘出ステップと、
デバイスドライバが対応するOS(Operation System)とは異なるOSに対応し、デバイスドライバと同じデバイスを制御することが可能な他OSデバイスドライバを構成する他OSドライバ構成ファイルを記憶媒体から摘出する他OS構成摘出ステップと、
デバイスドライバおよび他OSデバイスドライバがデバイスを制御する際に用いる制御設定値についての入力の内容を反映した制御設定値が記述された初期設定ファイルを取得する設定取得ステップと、
ドライバ構成ファイル及び/又は他OSドライバ構成ファイルと、初期設定ファイルと、を含み、当該初期設定ファイルに記述されている制御設定値でデバイスを制御するデバイスドライバをコンピュータにインストールするインストーラを作成するインストーラ作成ステップと、
をコンピュータに実行させるプログラムである。
In order to solve the above problems, the program of the present invention provides:
A configuration extraction step of extracting a driver configuration file constituting the device driver from a computer in which a device driver for controlling the device is installed;
Other OS corresponding to an OS different from the OS (Operation System) to which the device driver corresponds, and another OS driver configuration file constituting another OS device driver capable of controlling the same device as the device driver is extracted from the storage medium A configuration extraction step;
A setting acquisition step for acquiring an initial setting file in which control setting values reflecting the input contents of the control setting values used when the device driver and other OS device driver control the device are described;
An installer that creates an installer that includes a driver configuration file and / or another OS driver configuration file and an initial setting file, and that installs a device driver for controlling a device with a control setting value described in the initial setting file on the computer. Creation steps,
Is a program that causes a computer to execute.
これによれば、使用者は、所望の制御設定値を入力することで、この制御設定値でデバイスを制御するデバイスドライバのインストーラを作成することができる。 According to this, the user can create an installer of a device driver that controls a device with this control setting value by inputting a desired control setting value.
このように、ベンダーならずとも、デバイスドライバを予め所望の設定を施した状態でコンピュータにインストールすることが可能なインストーラを作成することができるので、例えば、ネットワーク等の管理者は作成したインストーラを配布するだけで、ネットワークに含まれる各々のコンピュータにインストールされるデバイスドライバの設定を所望の設定にまとめることができる。 In this way, it is possible to create an installer that can be installed on a computer with a device driver set in advance without being set by a vendor. By simply distributing, the settings of device drivers installed on each computer included in the network can be collected into desired settings.
また、コンピュータにインストールされているOSとは異なるOSに対応する他OSデバイスドライバについてもインストーラを作成することができるとともに、例えば、ネットワークに含まれるPCにインストールされているOSが複数種類にわたる場合であっても、OS毎にインストーラを作成する手間を省くことができる。 In addition, an installer can be created for other OS device drivers corresponding to an OS different from the OS installed on the computer. For example, when there are a plurality of types of OS installed on a PC included in the network. Even if it exists, the trouble of creating an installer for each OS can be saved.
また、コンピュータにインストールされているデバイスドライバを構成するドライバ構成ファイルを摘出することで、例えば、ネットワーク等の管理者は、自身のコンピュータでデバイスドライバの動作が正常であるか否かをテストした上で、そのデバイスドライバのインストーラを作成して配布するといった使い方をすることができる。 Also, by extracting the driver configuration file that configures the device driver installed on the computer, for example, an administrator of the network etc. tests whether the operation of the device driver is normal on its computer Then, you can create an installer for the device driver and distribute it.
ここで、「インストール」とは、ドライバ構成ファイルおよび初期設定ファイルをコンピュータ内にコピーして必要な設定を行うことである。詳しくは、例えばコンピュータのOS(Operating System:基本ソフト)がWindows(登録商標)系のOSであれば、デバイスドライバを構成するドライバ構成ファイルを初期設定ファイルとともに「システムフォルダ」に格納し、このデバイスドライバを仮想デバイスとして「レジストリ」に登録することである。 Here, “installation” refers to copying a driver configuration file and an initial setting file into a computer and performing necessary settings. Specifically, for example, if the computer OS (Operating System: basic software) is a Windows (registered trademark) OS, the driver configuration file that configures the device driver is stored in the “system folder” together with the initial setting file, and this device The driver is registered in the “registry” as a virtual device.
したがって、“コンピュータにインストールされているデバイスドライバを構成するドライバ構成ファイル”とは、ドライバ構成ファイルが単にコンピュータの記憶装置に記憶されているのみでは足りず、上述のようなインストールが為されていることが必要となる。すなわち、例えばWindows(登録商標)系のOSであれば、「システムフォルダ」に格納され、仮想デバイスとして「レジストリ」に登録されているデバイスドライバのドライバ構成ファイルであることが必要である。この点は、デバイスドライバを提供するベンダーがインストーラを作成する場合と大きく異なる点である。 Therefore, the “driver configuration file that configures the device driver installed in the computer” does not suffice if the driver configuration file is simply stored in the storage device of the computer, and the installation as described above is performed. It will be necessary. That is, for example, in the case of a Windows (registered trademark) OS, the driver configuration file of the device driver stored in the “system folder” and registered in the “registry” as a virtual device is required. This is a significant difference from the case where a vendor that provides a device driver creates an installer.
次に、本発明のプログラムにおいて、
デバイスドライバが対応するOSとは異なるOSの選択入力を受付けるOS選択受付ステップを更にコンピュータに実行させ、
他OS構成摘出ステップでは、OS選択受付ステップにて選択されたOSに対応する他OSデバイスドライバを構成する他OSドライバ構成ファイルを記憶媒体から摘出するようにすることができる。
Next, in the program of the present invention,
Causing the computer to further execute an OS selection receiving step for receiving an input for selecting an OS different from the OS corresponding to the device driver;
In the other OS configuration extraction step, the other OS driver configuration file that configures the other OS device driver corresponding to the OS selected in the OS selection reception step can be extracted from the storage medium.
これによれば、使用者は、必要に応じた種類のOSを選択することで、それらに対応するインストーラを容易に作成することができる。 According to this, the user can easily create an installer corresponding to them by selecting a type of OS as required.
次に、本発明のプログラムにおいて、
設定取得ステップでは、デバイスドライバおよび他OSデバイスドライバに共通する制御設定値についての入力を受付ける共通設定画面を表示するステップを含み、共通設定画面で受付けた入力の内容を反映した制御設定値が記述された初期設定ファイルを取得するようにすることができる。
Next, in the program of the present invention,
The setting acquisition step includes a step of displaying a common setting screen for accepting an input about a control setting value common to the device driver and the other OS device driver, and the control setting value reflecting the contents of the input accepted on the common setting screen is described. The obtained initialization file can be obtained.
これによれば、複数種類のOSに対応するデバイスドライバに共通する制御設定値についての入力を一括して受付けることにより、入力の手間が省けるとともに、異なる種類のOS間で設定を揃えることが容易となる。 According to this, it is possible to save input time and collect settings easily among different types of OSs by collectively accepting input of control setting values common to device drivers corresponding to a plurality of types of OSs. It becomes.
また、本発明のプログラムにおいて、
設定取得ステップでは、デバイスドライバおよび他OSデバイスドライバの制御設定値のうち両者に共通しないものの入力を受付ける差分設定画面を表示するステップを含み、差分設定画面で受付けた入力の内容を反映した制御設定値が記述された初期設定ファイルを取得するようにすることができる。
In the program of the present invention,
The setting acquisition step includes a step of displaying a difference setting screen that accepts inputs of control setting values of the device driver and other OS device driver that are not common to both, and includes a control setting that reflects the contents of the input received on the difference setting screen It is possible to obtain an initialization file in which values are described.
これによれば、複数種類のOSに対応するデバイスドライバに共通しない制御設定値についても入力を受付けることにより、それぞれのOSについてより木目細やかな設定が可能となる。 According to this, by accepting an input for a control setting value that is not common to device drivers corresponding to a plurality of types of OSs, finer settings can be made for each OS.
また、本発明のプログラムにおいて、
設定取得ステップでは、デバイスドライバが備える制御設定値についての入力を受付ける設定画面を表示する機能を呼び出して実行することで共通設定画面を表示するようにすることができる。
In the program of the present invention,
In the setting acquisition step, the common setting screen can be displayed by calling and executing a function for displaying a setting screen that accepts an input regarding the control setting value of the device driver.
これによれば、複数種類のOSに対応するデバイスドライバに共通する制御設定値についての入力を受付けるに際して、インストールされているデバイスドライバが備える機能を呼び出して実行することから、本発明のプログラムは、共通する制御設定値についての入力を受付ける設定画面を表示する機能を内包する必要がなく、構成を簡略化することができる。また、デバイスドライバが備える機能によって表示される設定画面を利用することで、使用者は、普段から使い慣れた設定画面において入力をすることができるので、使用方法を直感的に理解しつつ制御設定値の入力を行うことができる。 According to this, when receiving an input about a control setting value common to device drivers corresponding to a plurality of types of OSs, the function of the installed device driver is called and executed. It is not necessary to include a function for displaying a setting screen for accepting input of common control setting values, and the configuration can be simplified. In addition, by using the setting screen displayed by the functions provided by the device driver, the user can input on the setting screen that is familiar to the user, so the control setting value can be understood while intuitively understanding the usage method. Can be entered.
次に、本発明のプログラムにおいて、
インストーラ作成ステップでは、デバイスドライバおよび他OSデバイスドライバにそれぞれ対応するドライバ構成ファイル若しくは他OSドライバ構成ファイルと初期設定ファイルとの組を一括して含んだ単一のインストーラを作成するようにすることができる。
Next, in the program of the present invention,
In the installer creation step, a single installer that collectively includes a driver configuration file corresponding to the device driver and another OS device driver or a set of another OS driver configuration file and an initial setting file may be created. it can.
これによれば、複数種類のOSに対応するデバイスドライバをそれぞれインストール可能な単一のインストーラを得ることができるので、ネットワーク等の管理者は、作成した単一のインストーラをPCユーザに配布するだけで、ネットワークに含まれるPCにインストールされているOSが複数種類にわたる場合であっても、それぞれ対応するデバイスドライバをインストールさせることができる。 According to this, since a single installer capable of installing device drivers corresponding to a plurality of types of OSs can be obtained, an administrator such as a network only distributes the created single installer to PC users. Thus, even when there are a plurality of types of OSs installed on PCs included in the network, corresponding device drivers can be installed.
または、本発明のプログラムにおいて、
インストーラ作成ステップでは、デバイスドライバおよび他OSデバイスドライバにそれぞれ対応するドライバ構成ファイル若しくは他OSドライバ構成ファイルと初期設定ファイルとの組をそれぞれ含んだ複数のインストーラを作成するようにすることができる。
Or, in the program of the present invention,
In the installer creation step, a plurality of installers each including a driver configuration file corresponding to a device driver and another OS device driver or a set of another OS driver configuration file and an initial setting file can be created.
これによれば、複数種類のOSに対応するデバイスドライバをそれぞれインストール可能な複数のインストーラを得ることができるので、ネットワーク等の管理者は、作成したインストーラの中から必要に応じたものだけをPCユーザに配布することができる。 According to this, since a plurality of installers capable of installing device drivers corresponding to a plurality of types of OSs can be obtained, an administrator of the network or the like can select only the necessary installers from the created installers. Can be distributed to users.
次に、本発明のプログラムは、デバイスを制御するためのデバイスドライバをコンピュータにインストールするインストーラに含まれるインストールプログラムとすることができ、
デバイスドライバをコンピュータにインストールするインストールステップと、
インストーラ作成ステップとインストールステップのどちらを実行するかの採択入力を受付ける採択受付ステップと、
を更にコンピュータに実行させるようにすることができる。
Next, the program of the present invention can be an installation program included in an installer that installs a device driver for controlling a device on a computer,
Installation steps to install device drivers on the computer;
An acceptance reception step for accepting an acceptance input as to whether to execute the installer creation step or the installation step;
Can be further executed by a computer.
これによれば、インストールプログラムの1つの機能として、上述したような新たなインストーラを作成する機能を持たせることで、ベンダーから当該インストールプログラムを含んだインストーラの提供を受けるだけで、インストーラに含まれるデバイスドライバのインストールと、このデバイスドライバを予め所望の設定を施した状態でコンピュータにインストールするインストーラの作成と、の両者を実現することができる。 According to this, by providing a function for creating a new installer as described above as one function of the installation program, it is included in the installer only by receiving provision of the installer including the installation program from the vendor. It is possible to realize both installation of a device driver and creation of an installer for installing the device driver in a computer in a state where desired settings have been made in advance.
また、インストールステップでは、設定取得ステップで取得した初期設定ファイルに記述されている制御設定値でデバイスを制御するように、デバイスドライバをコンピュータにインストールすることができる。 In the installation step, the device driver can be installed in the computer so that the device is controlled by the control setting value described in the initial setting file acquired in the setting acquisition step.
これによれば、設定取得ステップで取得した初期設定ファイルをインストールステップにも流用することから、例えば、インストールプログラムとともにインストーラに含まれるデバイスドライバを予め所望の設定を施した状態でコンピュータにインストールすることや、既にコンピュータにインストールされているデバイスドライバの複製を所望の設定を施した状態で新たにインストールすることができる。 According to this, since the initial setting file acquired in the setting acquisition step is also used in the installation step, for example, the device driver included in the installer is installed in the computer with a desired setting in advance together with the installation program. Alternatively, it is possible to newly install a copy of a device driver already installed in a computer with desired settings.
本発明は、上記プログラムを記憶するコンピュータ読取可能な記憶媒体として捉えることもできる。 The present invention can also be understood as a computer-readable storage medium for storing the program.
本発明は、インストーラの作成方法として捉えることもできる。
すなわち、本発明のインストーラの作成方法は、
デバイスを制御するためのデバイスドライバがインストールされているコンピュータから、該デバイスドライバを構成するドライバ構成ファイルを摘出する構成摘出ステップと、
デバイスドライバが対応するOS(Operation System)とは異なるOSに対応し、デバイスドライバと同じデバイスを制御することが可能な他OSデバイスドライバを構成する他OSドライバ構成ファイルを記憶媒体から摘出する他OS構成摘出ステップと、
デバイスドライバおよび他OSデバイスドライバがデバイスを制御する際に用いる制御設定値の入力を受付ける入力受付ステップと、
入力の内容を反映した制御設定値が記述された初期設定ファイルを作成する設定作成ステップと、
ドライバ構成ファイル及び/又は他OSドライバ構成ファイルと、初期設定ファイルと、を含み、当該初期設定ファイルに記述されている制御設定値でデバイスを制御するデバイスドライバをコンピュータにインストールするインストーラを作成するインストーラ作成ステップと、
を備える。
The present invention can also be understood as a method for creating an installer.
That is, the method for creating the installer of the present invention is as follows.
A configuration extraction step of extracting a driver configuration file constituting the device driver from a computer in which a device driver for controlling the device is installed;
Other OS corresponding to an OS different from the OS (Operation System) to which the device driver corresponds, and another OS driver configuration file constituting another OS device driver capable of controlling the same device as the device driver is extracted from the storage medium A configuration extraction step;
An input receiving step for receiving an input of a control setting value used when the device driver and other OS device driver control the device;
A setting creation step for creating an initial setting file in which control setting values reflecting input contents are described;
An installer that creates an installer that includes a driver configuration file and / or another OS driver configuration file and an initial setting file, and that installs a device driver for controlling a device with a control setting value described in the initial setting file on the computer. Creation steps,
Is provided.
本発明は、情報処理装置として捉えることもできる。
すなわち、本発明の情報処理装置は、
デバイスを制御するためのデバイスドライバがインストールされているコンピュータから、該デバイスドライバを構成するドライバ構成ファイルを摘出する構成摘出手段と、
デバイスドライバが対応するOS(Operation System)とは異なるOSに対応し、デバイスドライバと同じデバイスを制御することが可能な他OSデバイスドライバを構成する他OSドライバ構成ファイルを記憶媒体から摘出する他OS構成摘出手段と、
デバイスドライバおよび他OSデバイスドライバがデバイスを制御する際に用いる制御設定値の入力を受付ける入力受付手段と、
入力の内容を反映した制御設定値が記述された初期設定ファイルを作成する設定作成手段と、
ドライバ構成ファイル及び/又は他OSドライバ構成ファイルと、初期設定ファイルと、を含み、当該初期設定ファイルに記述されている制御設定値でデバイスを制御するデバイスドライバをコンピュータにインストールするインストーラを作成するインストーラ作成手段と、
を備える。
The present invention can also be understood as an information processing apparatus.
That is, the information processing apparatus of the present invention
A configuration extracting unit that extracts a driver configuration file that configures the device driver from a computer in which a device driver for controlling the device is installed;
Other OS corresponding to an OS different from the OS (Operation System) to which the device driver corresponds, and another OS driver configuration file constituting another OS device driver capable of controlling the same device as the device driver is extracted from the storage medium Component extraction means;
An input receiving means for receiving an input of a control setting value used when the device driver and other OS device driver control the device;
A setting creation means for creating an initial setting file in which control setting values reflecting input contents are described;
An installer that creates an installer that includes a driver configuration file and / or another OS driver configuration file and an initial setting file, and that installs a device driver for controlling a device with a control setting value described in the initial setting file on the computer. Creating means;
Is provided.
以下、本発明の実施形態を、図面を参照しながら説明する。 Embodiments of the present invention will be described below with reference to the drawings.
図1は、情報処理装置としてのPC(Personal Computer)1に、LAN(Local Area Network)等のネットワーク5を介して、周辺デバイスとしてのスキャナ2やプリンタ3、複合機4が接続されたネットワーク環境の概要を示すシステムブロック図である。なお、ネットワーク5を介さずにシリアルケーブルやUSBケーブルなどで直接接続されていても良い。
FIG. 1 shows a network environment in which a
ここで、PC1には、プリンタ3や複合機4のプリンタ部20(図3参照)を制御するためのプリンタドライバがインストールされている。なお、本実施形態では、デバイスドライバとしてプリンタドライバを対象としているが、スキャナ2を制御するためのスキャナドライバ等を対象としても良い。
Here, a printer driver for controlling the printer unit 20 (see FIG. 3) of the
プリンタ3は、プリンタ機能を有し、PC1から送信された画像データや文書データを含む印刷データに基づいて画像や文書を記録用紙に印刷する周辺デバイスである。また、スキャナ2は、スキャナ機能を有し、原稿の画像データを読み取る周辺デバイスである。
The
複合機4は、図3に示すように、下部に配設されたプリンタ部20と、その上部に配設されたスキャナ部21と、ADF(Auto Document Feeder)22を備えた原稿カバー23と、装置上面の前方側に配置された操作パネル24などを一体的に備えた多機能装置(MFP:Multi Function Product)であり、プリンタ機能、スキャナ機能、コピー機能及びファクシミリ機能などを有する。
As shown in FIG. 3, the
図2は、PC1の概略構成を示すブロック図である。PC1は、制御部10と、種々のプログラムやデータが格納されたHDD(Hard Disk Drive)14と、表示部15と、入力部16と、CD−ROM(記憶媒体の一例)に記憶されたデータを読み出すCD−ROMドライブ18と、ネットワーク5と接続するためのLANアダプタ等のNIC(Network Interface Card)17とを備え、これらの各構成要素が内部バス19を介して相互に通信可能に接続されて構成されている。
FIG. 2 is a block diagram illustrating a schematic configuration of the
なお、情報処理装置としては、このようなPC1に限らず、例えば、内部にコンピュータを有したPDA(Personal Digital Assistance)端末などの端末装置であってもよい。
The information processing apparatus is not limited to such a
表示部15は、LCD(Liquid Crystal Display)などの表示デバイスである。この表示部15は、図示しないビデオボード或いはグラフィックボードを介して制御部10に接続されている。表示部15には、プリンタ3や複合機4における印刷条件(制御設定値)などを設定するための設定画面(詳細は後述)やマウスポインタなどが表示される。なお、表示部15への表示は、PC1の周知のGUI(Graphical User Interface)機能により実現される。
The
入力部16は、キーボードやマウスなどの入力デバイスである。この入力部16は、図示しないUSB(Universal Serial Bus)端子やPS/2端子を介して制御部10に接続されている。入力部16は、ユーザからの操作によって、プリンタ3や複合機4の印刷条件(制御設定値)の設定入力などを制御部10に入力する。
The
制御部10は、PC1の各構成要素を統括的に制御するものであり、CPU(Central Processing Unit)11と、ROM(Read Only Memory)12と、RAM(Random Access Memory)13などを備えるコンピュータとして構成されている。PC1において、制御部10はいわゆるマザーボードと称される。
The
PC1には、OS(Operation System)がインストールされており、OSの環境下で後述するフローチャート(図6ないし図12,図26,図27,図34,図39)の手順に従った処理が実現する。すなわち、当該処理がCPU11により実行されることで、本発明の構成摘出手段・他OS構成摘出手段・入力受付手段・設定作成手段・インストーラ作成手段が実現する。
An operating system (OS) is installed in the
本実施形態では、PC1にWindows(登録商標)系のOSであるWindows 2000もしくはWindows XPがインストールされているものとして説明する。もちろん、他のOSがインストールされたPCにも本発明は適用され得る。
In the present embodiment, it is assumed that
HDD14は、高容量ディスク(記憶媒体の一例)と読取装置とが一体化して構成されたものである。このHDD14には、図4に示すように、OSの動作に必要な各種システムファイル等を格納するシステムフォルダ7S、システムファイルやアプリケーションの設定データ等が記録されているレジストリ7Rなどが設けられている。
The
システムフォルダ7Sには、PC1にインストールされているプリンタドライバ(ドライバ本体)71が格納されており、また、プリンタドライバ71に適用される印刷条件(制御設定値)の情報などを保持するINIファイル(初期設定ファイル)72や、プリンタドライバ71の設定情報などを保持するINIファイル(設定情報ファイル)74も格納されている。ここで、プリンタドライバ71は、Windows 2000/XPに対応するものである。
The
プリンタドライバ71は、具体的には、印刷に使用されるメインファイルであるDriverファイル711と,UI(User Interface;設定画面)の表示に使用されるメインファイルであるConfigurationファイル712と,これらメインファイルの補助ファイル群であるDependent Filesファイル群713と,設定可能な制御設定値を全て記述しているData Fileファイル714と、を有する。これらのファイル711〜714のことをドライバ構成ファイルという。
Specifically, the
他方、レジストリ7Rには、プリンタドライバ71を仮想プリンタとして登録する仮想プリンタ登録レジストリ73が設けられている。この仮想プリンタ登録レジストリ73では、仮想プリンタ名とプリンタドライバ71の対応などが記述されている。
On the other hand, the
以上のプリンタドライバ71は、例えば、図5に示すようなインストーラ7から、HDD14のシステムフォルダ7Sにインストールされる。インストーラ7は、CD−ROM(記憶媒体)70に格納された状態で配布され、PC1のCD−ROMドライブ18から読み出される。または、ドライバを提供するベンダーのサーバからインターネット等を介した配信を受けても良い。
The
また、インストーラ7には、プリンタドライバ71(Windows 2000/XP対応)とは異なるOSに対応するプリンタドライバ71B(Windows 95/98/Me対応)とプリンタドライバ71C(Windows NT4.0対応)が含まれており、実行するPCのOSに対応するものをインストールすることが可能である。プリンタドライバ71,71B,71Cは、制御対象となるプリンタが同じものである。また、インストーラ7には、これらのプリンタドライバ71B,71Cにそれぞれ対応するINIファイル72B,72CおよびINIファイル74B,74Cも含まれている。
Further, the installer 7 includes a
インストーラ7には、上述したプリンタドライバ71,71B,71Cと、INIファイル72,72B,72Cと、INIファイル74,74B,74Cとが含まれているとともに、これらをPC1にインストールするためのインストールプログラム75が含まれている。インストールプログラム75は、PC1のCPU11に読み込まれて、プリンタドライバ71,INIファイル72,INIファイル74をHDD14のシステムフォルダ7Sにコピーするとともに、このプリンタドライバ71を仮想デバイスとしてレジストリ7Rの仮想プリンタ登録レジストリ73に登録する処理を行う。
The installer 7 includes the above-described
なお、インストールプログラム75は、このようなインストール機能に加えて、後述するように新たなインストーラを作成する機能を有している。すなわち、インストールプログラム75は本発明のプログラムに該当し、これを記憶するCD−ROM70は本発明の記憶媒体に該当する。
The
以下、本発明のプログラムであるインストールプログラム75の処理内容(インストーラの作成方法)について説明する。
Hereinafter, processing contents (installer creation method) of the
図6に、インストールプログラム75のメインルーチンを表すフローチャートを示す。PC1は、インストールプログラム75を起動すると、まず、対象となるプリンタの接続形態を選択させるためのインターフェース選択画面81を表示部15に表示する(S10)。図13に示すように、選択画面81には、対象となるプリンタがローカルプリンタであるか/ネットワークプリンタであるかの選択入力を受付ける入力欄811と、次のステップに進むためのNEXTボタン813などが表示される。なお、選択画面に対する入力は、ユーザによる入力部16への操作によって行われる(以下同じ)。
FIG. 6 shows a flowchart representing the main routine of the
ここで、ローカルプリンタとは、シリアルポートやパラレルポート、USBポートなどを通じて、PC1に直接的に接続されているプリンタのことを指し。ネットワークプリンタとは、ネットワーク5を経由して、PC1に間接的に接続されているプリンタのことを指す。
Here, the local printer refers to a printer that is directly connected to the
NEXTボタン813が押されると、PC1は、選択画面81の入力欄811においていずれの接続形態が選択されているかを判断する(S11)。
When the
対象がネットワークプリンタである場合(S11:YES)、PC1は、ネットワークプリンタの選択を受付ける選択画面82を表示部15に表示する(S12)。図14に示すように、選択画面82には、ネットワーク5を経由して接続されているネットワークプリンタの一覧を表示する表示欄821と、表示欄821の中で選択が可能なカーソル823と、ポートドライバの選択欄822と、次のステップに進むためのNEXTボタン813などが表示される。そして、NEXTボタン813が押されると、PC1は、選択されているネットワークプリンタのプリンタ名・ノード名・IPアドレス・プロトコル情報を記憶する(S13)。
When the target is a network printer (S11: YES), the
他方、対象がローカルプリンタである場合(S11:NO)、PC1は、ローカルポートの選択を受付ける選択画面83を表示部15に表示する(S14)。図15に示すように、選択画面83には、PC1のローカルポートの一覧を表示する表示欄831と、表示欄831の中で選択が可能なカーソル832と、次のステップに進むためのNEXTボタン834などが表示される。そして、NEXTボタン834が押されると、PC1は、選択されているポート名を記憶する(S15)。
On the other hand, if the target is a local printer (S11: NO), the
次に、PC1は、インストールされているプリンタドライバの表示画面84を表示部15に表示する処理を行う(S2)。図16に示すように、表示画面84には、インストールされているプリンタドライバを表示させるためのチェック欄(Currently Installed driversチェック欄)843と、チェック欄843がチェックされることによってインストールされているプリンタドライバを表示する表示欄841と、表示欄841の中で選択が可能なカーソル842と、他のプリンタドライバを探索するための探索ボタン(Have Diskボタン)844と、次のステップに進むためのNEXTボタン846などが表示される。
Next, the
図7に、ステップS2の詳細なフローチャートを示す。プリンタドライバを表示させるためのチェック欄843がチェックされると(S21:YES)、PC1は、インストールされているプリンタドライバ名を取得し(S22)、取得したプリンタドライバ名を表示欄841にリスト表示する(S23)。プリンタドライバ名の取得は、レジストリ7Rの仮想プリンタ登録レジストリ73から取得することができる。他方、チェック欄843がチェックされなければ(S21:NO)、PC1は、表示欄841を空にする(S24)。
FIG. 7 shows a detailed flowchart of step S2. When the
そして、Have Diskボタン844が押されたら(S28:YES)、PC1は、OSの選択処理(S29)を行う。図26に、ステップS29の詳細なフローチャートを示す。
When the
ステップS29が開始すると、PC1は、OS選択画面910を表示部15に表示する処理を行う(S291:OS選択受付ステップ)。図28に示すように、OS選択画面910には、OSの選択欄912と、OSの選択を確定するOKボタン912などが表示される。次に、PC1は、プリンタドライバを検索する場所を指定する場所指定画面920を表示部15に表示する処理を行う(S292)。図29に示すように、場所指定画面920には、検索する場所のパスを表す表示欄923と、検索する場所のパスを変更するための変更ボタン924と、検索を開始するためのOKボタン921などが表示される。
When step S29 starts, the
ここで、プリンタドライバを検索する場所は、PC1のCD−ROMドライブ18に装着されたCD−ROM70内のみならず、PC1のHDD16内や、ネットワーク5に接続された他のPC内であっても良い。
Here, the printer driver is searched not only in the CD-
次に、OKボタン921が押されると、PC1は、表示欄923に指定されているパスの場所を検索する処理(S293)を行う。図27に、ステップS293の詳細なフローチャートを示す。
Next, when the
ステップS293が開始すると、PC1は、指定されたフォルダ(パス)にINFファイルが存在するか否かを判断する(S301)。指定されたフォルダにINFファイルが存在する場合は(S301:YES)、PC1は、それがOS選択画面910の選択欄912で選択されたOSのINFファイルか否かを判断する(S302)。選択されたOSのINFファイルである場合は(S302:YES)、PC1は、INFファイルからドライバファイル名を取得する(S303)。ここで、INFファイルは、ドライバ構成ファイルのインストール手順が記述されたファイルであり、例えばインストーラ7に含まれている(図示せず)。
When step S293 starts, the
次に、PC1は、取得したドライバファイル名のプリンタドライバが同じフォルダに存在するか否かを判断する(S304)。プリンタドライバが存在する場合は(S304:YES)、PC1は、INFファイルからドライバファイル名およびOS情報を取得・記憶するとともに(S305,S306)、プリンタドライバが格納されているフォルダ名を取得・記憶する(S307)。
Next, the
そして、PC1は、指定されたフォルダ内に別のフォルダが存在する場合は(S308:YES)、そのフォルダを新たな検索先としてステップS301〜S307の処理を再度行い、他方、別のフォルダが存在しない場合は(S308:NO)、リターンする。
If another folder exists in the designated folder (S308: YES), the
図26に戻り、PC1は、プリンタドライバの情報を取得・記憶できた場合(S294:YES)、取得・記憶したプリンタドライバの一覧を表示する一覧画面930を表示する(S295)。図30に示すように、一覧画面930には、取得・記憶したプリンタドライバの表示欄931と、表示欄931におけるプリンタドライバの選択を確定するOKボタン932などが表示される。そして、OKボタン932が押されると(S296:YES)、PC1は、選択されたプリンタドライバの名前とOS情報を記憶する(S298)。
Returning to FIG. 26, when the
図7に戻り、表示画面84(図16参照)のNEXTボタン846が押されたら(S26:YES)、PC1は、取得したプリンタドライバ名をリスト表示した表示欄841においてカーソル842により選択されているプリンタドライバ名を取得して(S27)、リターンする。図6に戻り、その後、PC1は、取得したプリンタドライバ名を記憶する(S16)。ここでは、図4の“プリンタドライバ71”が選択され、他OSに対応する“プリンタドライバ71B,71C”が選択されたものとする。
Returning to FIG. 7, when the
次に、PC1は、対話形式のヘルプ(Interactive Help)を実現するプログラムをインストールするか否かの選択画面85を表示部15に表示する(S31)。図17に示すように、選択画面85は、Interactive Helpをインストールするか否かを選択させるチェック欄851と、次のステップに進むためのNEXTボタン853などが表示される。NEXTボタン853が押されると、PC1は、チェック欄851にチェックがされているか否かを判断し(S32)、チェックされている場合には(S32:YES)、Interactive Helpのインストールが選択されている旨を記憶する(S33)。
Next, the
次に、PC1は、選択されているプリンタドライバ71のインストール設定情報を表示する処理を行う(S4)。図8に、ステップS4の詳細なフローチャートを示す。PC1は、まず、選択されているプリンタドライバ71についてのインストール設定情報の表示画面86を表示部15に表示する処理を行う(S41)。図18に示すように、表示画面86には、プリンタ名やドライバ名,ポート名などのインストール設定情報が表示される表示欄861と、後述するインストーラを作成する処理を行うか否かを選択するチェック欄862(採択受付ステップとしての表示)と、プリンタドライバ71のインストール設定情報を変更する処理に移るためのセッティングボタン863と、プリンタドライバの初期設定を変更する処理に移るためのカスタムボタン864と、設定を確定するためのFINISHボタン866などが表示される。ここで、表示欄861に表示されるプリンタ名やドライバ名,ポート名などのインストール設定情報は、上述のINIファイル74から取得することができる。
Next, the
表示画面86において、セッティングボタン863が押されると(S42:YES)、PC1は、選択されているプリンタドライバ71に係るプリンタ名やポート名の変更を受付ける処理を行う(S7)。図9に、ステップS7の詳細なフローチャートを示す。PC1は、まず、プリンタドライバ71に係るプリンタ名やポート名の変更を受付けるセッティング画面87を表示部15に表示する(S71)。図19に示すように、セッティング画面87には、ポート名・プリンタ名・デフォルト情報の設定が可能な設定欄871と、この設定を確定するためのOKボタン872などが表示される。
When the
そして、OKボタン872が押されると(S72:YES)、これらの情報をINIファイル(設定情報ファイル)74に保存する(S73〜S75)。図22に、INIファイル74の内容例を示す。ポート名・プリンタ名・デフォルト情報について設定値が定められている。
When the
ここで、ポート名・プリンタ名・デフォルト情報は、プリンタドライバ71がプリンタとの通信に用いるもの(具体的には、通信インターフェースの選択に用いるもの)であることから、本発明における“デバイスドライバがデバイスを制御する際に用いる制御設定値”という概念に含まれるものである。従って、上記ステップS7(S71〜S76)は、本発明の設定取得ステップに該当するものである。中でも、上記ステップS71は、本発明の入力受付ステップに該当するものである。また、上記ステップS73〜S75は、本発明の設定作成ステップに該当するものであり、これにより保存(作成)されるINIファイル(設定情報ファイル)74は、本発明の初期設定ファイルという概念に含まれるものである。
Here, since the port name / printer name / default information is used by the
図8の説明に戻り、表示画面86においてカスタムボタン864が押されると(S43:YES)、PC1は、選択されているプリンタドライバ71の初期設定ファイル72を取得する処理を行う(S8;設定取得ステップ)。
Returning to the description of FIG. 8, when the
なお、PC1は、ステップS8(設定取得ステップ)のうちステップS81〜S86までを、デバイスドライバ71の設定画面(User Interface)を表示する機能を呼び出して実行することによって行う。具体的には、プリンタドライバ71が有するConfigurationファイル712(図4参照)に基づいて設定画面を表示する。
Note that the
図10に、PC1がデバイスドライバ71の設定画面(User Interface;いわゆるプロパティ画面)を表示する機能を呼び出して実行するステップS8の詳細なフローチャートを示す。PC1は、インストール先のシステムフォルダ7Sからプリンタドライバ71を起動すると(S81)、INIファイル72を読み出して各制御設定値を初期化し(S82)、制御設定値の変更を受付けるドライバ初期設定変更画面88を表示部15に表示する(S83;入力受付ステップ)。
FIG. 10 shows a detailed flowchart of step S8 in which the
図20に示すように、ドライバ初期設定変更画面88には、画面を切替えるためのタブ881と、制御設定値の設定が可能な設定欄882と、これらの設定を確定するためのOKボタン883などが表示される。
As shown in FIG. 20, the driver initial setting change screen 88 includes a
ここで、ドライバ初期設定変更画面88に表示される制御設定値は、用紙サイズやマルチページ印刷,印刷方向,印刷枚数,用紙種類,用紙トレイなどの、プリンタを制御する際に送信するデータの作成に用いる値や指令内容を示す値とされる。 Here, the control setting values displayed on the driver initial setting change screen 88 are the creation of data to be transmitted when controlling the printer, such as paper size, multi-page printing, printing direction, number of prints, paper type, paper tray, etc. The value used for the value or the value indicating the command content.
そして、OKボタン883が押されると(S84:YES)、PC1は、ドライバ初期設定変更画面88に入力されている制御設定値の内容を取得して(S85)、INIファイル(初期設定ファイル)72に保存(作成)する(S86;設定作成ステップ)。図23に、INIファイル72の内容例を示す。
When the
以上のようにして、PC1は、インストールされているプリンタドライバ71の動作によってINIファイル72を作成する。そして、リターンがされると、PC1は、再びインストールプログラム75の動作に戻る。
As described above, the
ここで、ドライバ初期設定変更画面88は、プリンタドライバ71について制御設定値を設定するだけでなく、“他OSデバイスドライバ”であるプリンタドライバ71B,71Cについて、デバイスドライバ71と共通する設定項目(共通設定項目)の制御設定値を設定するための“共通設定画面”としても機能する。共通設定項目の制御設定値は、後述するステップS805においてINIファイル72B,72Cに保存される。
Here, the driver initial setting change screen 88 not only sets the control setting value for the
次に、上述のOS選択処理(S29)で複数のOSが選択されている場合(すなわち、デバイスドライバ71が対応するOSとは異なるOS(他OS)が選択されている場合)には(S801:YES)、PC1は、OSに依存する設定項目の設定画面(差分設定画面)940を表示部15に表示する(S802)。図31に示すように、設定画面940には、他OSに固有の設定項目を表す表示欄941,942と、その設定項目を変更するための変更欄943と、設定変更を確定するためのOKボタン944などが表示される。
Next, when a plurality of OSs are selected in the OS selection process (S29) described above (that is, when an OS (another OS) different from the OS corresponding to the
ここで、設定画面(差分設定画面)940の表示欄941,942には、“他OSデバイスドライバ”であるプリンタドライバ71B,71Cの設定項目からPC1のOSに対応するプリンタドライバ71の設定項目を差し引いた差分設定項目が表示される。この差分設定項目は、例えば図33に示すような、制御対象となるプリンタが同じであるプリンタドライバ71,71B,71Cについて各々の差分となる設定項目を記述したOS依存項目ファイルに基づいて表示することができる。このOS依存項目ファイルは、例えばインストーラ7内に格納させておくことができる。
Here, in the display fields 941 and 942 of the setting screen (difference setting screen) 940, the setting items of the
そして、OKボタン944が押されると(S803:YES)、PC1は、差分設定項目の制御設定値を取得して(S804)、上述したドライバ初期設定変更画面(共通設定画面)88で取得された共通設定項目の制御設定値とともに、“他OSデバイスドライバ”であるプリンタドライバ71B,71Cに係るINIファイル72B,72Cに保存する(S805)。図33(a),(b)に、INIファイル72B,72Cの内容例を示す。それぞれ、共通設定項目の制御設定値とともに、差分設定項目の制御設定値が記述されている。
When the
これまで説明したステップS8の変形例について説明する。
図34に、ステップS8の変形例を表すフローチャートを示す。なお、重複する処理については同番号を付して説明を省略する。
A modification of step S8 described so far will be described.
FIG. 34 is a flowchart showing a modification of step S8. In addition, the same number is attached | subjected about the overlapping process and description is abbreviate | omitted.
これによると、PC1は、最初にジェネリックドライバを起動して(S811)、共通設定変更画面950を表示部15に表示する(S812)。ジェネリックドライバとは、対象となるプリンタを制御可能なプリンタドライバ全てに共通し、かつ、対象となるOSに対応するプリンタドライバ全てに共通する設定項目(共通設定項目)の制御設定値について入力を受付ける共通設定変更画面(共通設定画面)950を表示するものである。この共通設定項目は、例えば図38(a)に示すような、共通設定項目ファイルに基づいて表示することができる。この共通設定項目ファイルは、例えばインストーラ7内に格納させておくことができる(後述するモデル固有項目ファイルおよびOS固有項目ファイルも同様)。
According to this, the
図35(a)に示すように、共通設定変更画面950には、共通設定項目の設定変更が可能な設定欄951と、更に詳細な共通設定項目を設定するための画面956へ移るボタン954と、設定変更を確定するためのOKボタン952などが表示される。図35(b)は、更に詳細な共通設定項目を設定するための画面956であり、更に詳細な共通設定項目の設定変更が可能な設定欄957と、設定変更を確定して共通設定変更画面950に戻るためのOKボタン958などが表示される。
As shown in FIG. 35A, the common setting change screen 950 includes a setting
そして、OKボタン958が押されると(S813:YES)、PC1は、共通設定項目の制御設定値を取得して(S814)、プリンタドライバ71,71B,71Cに係るINIファイル72,72B,72Cに保存する(S815)。
When the
次に、PC1は、対象となるプリンタのそれぞれに固有な設定項目(モデル固有設定項目)の制御設定値について入力を受付けるモデル固有設定変更画面960を表示部15に表示する(S817)。このモデル固有設定項目は、例えば図38(b)に示すような、モデル固有設定項目ファイルに基づいて表示することができる。図36に示すように、モデル固有設定変更画面960には、モデル固有設定項目の設定変更が可能な設定欄961と、設定変更を確定するためのOKボタン962などが表示される。
Next, the
そして、OKボタン962が押されると(S818:YES)、PC1は、モデル固有設定項目の制御設定値を取得して(S819)、プリンタドライバ71,71B,71Cに係るINIファイル72,72B,72Cに保存する(S820)。
When the
次に、PC1は、対象となるOSのそれぞれに固有な設定項目(OS固有設定項目)の制御設定値について入力を受付けるOS固有設定変更画面(差分設定画面)970を表示部15に表示する(S822)。このOS固有設定項目は、例えば図38(c)に示すような、OS固有設定項目ファイルに基づいて表示することができる。図37に示すように、OS固有設定変更画面970には、OS固有設定項目を表示する表示欄971,972,973と、OS固有設定項目の設定変更が可能な設定欄974と、設定変更を確定するためのOKボタン975などが表示される。
Next, the
そして、OKボタン975が押されると(S823:YES)、PC1は、OS固有設定項目の制御設定値を取得して(S824)、プリンタドライバ71,71B,71Cに係るINIファイル72,72B,72Cに保存する(S825)。
When the
以上のようにして、ステップS8の変形例においてINIファイル72,72B,72Cが取得される。 As described above, the INI files 72, 72B, 72C are acquired in the modified example of step S8.
図8のフローチャートの説明に戻る。ステップS8が終了すると、PC1は、プリンタドライバ71のセンター接続設定・アップデート設定の変更を受付ける処理を行う(S9)。図11に、ステップS9の詳細なフローチャートを示す。PC1は、まず、プリンタドライバ71のセンター接続設定・アップデート設定の変更を受付けるセッティング画面89を表示部15に表示する(S91)。図21に示すように、セッティング画面89には、プリンタドライバ71のセンター接続設定・アップデート設定の可否を設定する設定欄891と、この設定を確定するためのOKボタン892などが表示される。
Returning to the flowchart of FIG. When step S8 ends, the
そして、OKボタン892が押されると(S92:YES)、これらの情報をINIファイル(設定情報ファイル)74に保存する(S93)。図22に、INIファイル74の内容例を示す。INIファイル74には、上述したポート名・プリンタ名・デフォルト情報に加えて、センター接続設定・アップデート設定について設定値が定められている。
When the
図8のフローチャートに戻り、PC1は、インストール設定情報の表示画面86(図18参照)を再び表示する(S41)。そして、図6のフローチャートに戻り、表示画面86において以上に説明した設定を確定するFINISHボタン866が押されると(S51;YES)、PC1は、表示画面86において、インストーラ作成ステップ(S6)とインストールステップ(S54)のどちらを実行するかの採択入力を受付けるチェック欄862(“Only Create an Installation Program other users”チェック欄)が選択されているか否かを判断する(S53)。ここで、表示画面86は、採択受付ステップにおける表示として、かかる採択入力を受付ける採択画面としても機能する。
Returning to the flowchart of FIG. 8, the
チェック欄862が選択されている場合(S53:YES)、PC1は、上述のようにして作成したINIファイル72,72B,72CとINIファイル74,74B,74Cを含んだインストーラを作成する処理を行う(S6)。図12に、ステップS6の詳細なフローチャートを示す。また、図24に、ステップS6の処理内容を模式的に表す図を示す。
If the
ステップS6において、PC1は、選択されているプリンタドライバ71がある場合(S61:YES)、該デバイスドライバ71を構成するドライバ構成ファイル711〜714の名前を、レジストリ7Rの仮想プリンタ登録レジストリ73から取得する(S62)。
In step S6, if there is the selected printer driver 71 (S61: YES), the
そして、選択されている他OSがある場合、プリンタドライバ71および他OSに係るプリンタドライバ71B,71Cに対して、それぞれ以下の処理(S63〜S654)を行う(S69:YES)。ここで、インストーラ作成用フォルダ9へコピーしたものについては、番号に“X〜Z”を付して“プリンタドライバ71X,Y,Z”等とする(以下同様)。
If there is another OS selected, the following processing (S63 to S654) is performed on the
次に、PC1は、プリンタドライバ71のインストール先であるシステムフォルダ7Sからドライバ構成ファイル711〜714を取得して、インストーラ作成用フォルダ9へコピーする(S63:構成摘出ステップ)。
Next, the
なお、他OSに係るプリンタドライバ71B,71Cを構成するドライバ構成ファイル(他OSドライバ構成ファイル)711B〜714B,711C〜714Cをインストーラ作成用フォルダ9へコピーするに当たっては、これらが格納されているCD−ROM(記憶媒体)70から該当するものを抽出する(他OS構成摘出ステップ)。
When copying the driver configuration files (other OS driver configuration files) 711B to 714B and 711C to 714C constituting the
次に、PC1は、上述のようにして作成したINIファイル72とINIファイル74をインストーラ作成用フォルダ9へコピーする(S64)。
Next, the
なお、他OSに係るINIファイル72B,73BとINIファイル74B,74Cについても、上述のようにして作成したものをインストーラ作成用フォルダ9へコピーする。ここで、作成したINIファイル72B,73BとINIファイル74B,74Cは、例えばPC1が有する記憶媒体(例えばHDD14)に一時的に格納されている。
Note that the INI files 72B and 73B and the INI files 74B and 74C related to the other OS are also copied to the
次に、PC1は、ステップS12で表示された選択画面82(図14参照)の選択欄822においてポートドライバが選択されている場合は(S651:YES)、ポートドライバ(図示せず)をインストーラ作成用フォルダ9へコピーする(S652)。
Next, when a port driver is selected in the
次に、PC1は、ステップS31で表示された選択画面85(図17参照)のチェック欄851においてInteractive Helpのインストールが選択されている場合は(S653:YES)、Interactive Helpデータファイル(図示せず)をインストーラ作成用フォルダ9へコピーする(S654)。
Next, when the installation of Interactive Help is selected in the
そして、プリンタドライバ71および選択されている他OSに係るプリンタドライバ71B,71Cに対して以上の処理を行ったら(S69:NO)、PC1は、インストールプログラム75をインストーラ作成用フォルダ9へコピーする(S66)。または、このようなインストーラ作成機能を有さない通常のインストールプログラムをコピーしても良い。
When the above processing is performed on the
そして、PC1は、インストーラ作成用フォルダ9に含まれているプリンタドライバ71(ドライバ構成ファイル711〜714)とINIファイル72とINIファイル74との組(X〜Y)及びインストールプログラム75XYZをまとめて、インストーラ100を作成する(S67:インストーラ作成ステップ)。以上により、インストーラ100を作成する一連の処理は終了する。
Then, the
このようにして得られたインストーラ100は、それに含まれるインストールプログラム75XYZが例えば他のPCにて実行されることで、上述のように作成・コピーされたINIファイル72X〜ZとINIファイル74X〜Zに基づいて動作するプリンタドライバ71X〜Zとして当該PCにインストールすることができる。図25に、プリンタドライバ71Zの動作を表すフローチャートを示す。例えば、プリンタドライバ71Zは、インストールされた後の最初に起動された場合に(S901:YES)、INIファイル72Zが存在するか否かを判断し(S902)、存在すれば(S902:YES)、その内容を取得し(S903)、制御設定値を変更する(S904)。
The
ステップS6の変形例について説明する。
図39に、ステップS6の変形例を表すフローチャートを示す。なお、重複する処理については同番号を付して説明を省略する。また、図40に、ステップS6の変形例の処理内容を模式的に表す図を示す。これによると、ステップS63〜S67までの処理を繰り返すことで、現在PC1にインストールされているプリンタドライバ71および他OSに係るプリンタドライバ71B,71Cに対応するプリンタドライバ71X〜Zをそれぞれ含んだ複数のインストーラ100X〜Zを作成している。
A modified example of step S6 will be described.
FIG. 39 shows a flowchart showing a modification of step S6. In addition, the same number is attached | subjected about the overlapping process and description is abbreviate | omitted. FIG. 40 is a diagram schematically showing the processing contents of the modified example of step S6. According to this, by repeating the processes from step S63 to S67, a plurality of printer drivers 71X to Z respectively corresponding to the
具体的には、インストーラ作成用フォルダ9へプリンタドライバ71(ドライバ構成ファイル711〜714)をコピーし(S63),INIファイル72及びINIファイル74をコピーし(S64)、インストールプログラム75をコピーして(S66)、これらの組をまとめてインストーラ100を作成する(S67)という一連の処理を、他OSのプリンタドライバ71B,71Cについても順次行う(S69:YES)。これにより、プリンタドライバ71,71B,71Cのそれぞれに対応する複数のインストーラ100X〜Zをそれぞれ得ることができる。
Specifically, the printer driver 71 (driver configuration files 711 to 714) is copied to the installer creation folder 9 (S63), the
ステップS53に戻り、図6のフローチャートにおいて、チェック欄862が選択されていない場合には(S53:NO)、プリンタドライバ71をPC1にインストールする処理を行う(S54:インストールステップ)。ここでは、例えば、インストーラ7に含まれているプリンタドライバ71(図5参照)をPC1にインストールするばかりでなく、既にPC1にインストールされているプリンタドライバ71(図4参照)を再度PC1にインストールすることができる。
Returning to step S53, if the
ここで、インストールステップS54では、上述のようにして作成したINIファイル72とINIファイル74をインストールに用いることができる。すなわち、インストーラ7に含まれているプリンタドライバ71(図5参照)をPC1にインストールする場合、新たにインストールされるプリンタドライバ71には所望の設定を施すことができる。また、既にPC1にインストールされているプリンタドライバ71(図4参照)を再度PC1にインストールする場合、再度インストールされるプリンタドライバ71には所望の設定を施すことができる。
Here, in the installation step S54, the
以上、本発明の実施形態について説明したが、本発明はこれらの形式に限定されるものではなく、これらに具現された発明と同一性の範囲内において適宜変更して実施し得る。上記実施形態では、ステップS2(図6参照)・ステップS21〜S27(図7参照)において、プリンタドライバ(デバイスドライバ)の表示対象として、コンピュータにインストールされているプリンタドライバを使用したが、ドライバ構成ファイルとそのインストール手順が記述されたINFファイルとがコンピュータに記憶された状態のプリンタドライバを使用しても良い。 As mentioned above, although embodiment of this invention was described, this invention is not limited to these forms, In the range of the same identity as the invention embodied in these, it can change suitably and can implement. In the above embodiment, the printer driver installed in the computer is used as the display target of the printer driver (device driver) in steps S2 (see FIG. 6) and steps S21 to S27 (see FIG. 7). A printer driver in which a file and an INF file describing its installation procedure are stored in a computer may be used.
1 PC(Personal Computer;情報処理装置)
2 スキャナ(周辺デバイス)
3 プリンタ(周辺デバイス)
4 複合機(周辺デバイス)
5 ネットワーク
11 CPU(構成摘出手段・入力受付手段・設定作成手段・インストーラ作成手段)
14 HDD(Hard Disk Drive)
15 表示部
16 入力部
18 CD−ROMドライブ
20 プリンタ部
7S システムフォルダ
7R レジストリ
7 インストーラ
70 CD−ROM(記憶媒体)
71 プリンタドライバ
72 INIファイル(初期設定ファイル)
74 INIファイル(設定情報ファイル)
75 インストールプログラム
1 PC (Personal Computer)
2 Scanner (peripheral device)
3 Printer (peripheral device)
4 MFPs (peripheral devices)
5
14 HDD (Hard Disk Drive)
DESCRIPTION OF
71
74 INI file (setting information file)
75 Installation program
Claims (11)
前記デバイスドライバが対応するOS(Operation System)とは異なるOSに対応し、前記デバイスドライバと同じデバイスを制御することが可能な他OSデバイスドライバを構成する他OSドライバ構成ファイルを記憶媒体から摘出する他OS構成摘出ステップと、
前記デバイスドライバおよび前記他OSデバイスドライバがデバイスを制御する際に用いる制御設定値についての入力の内容を反映した制御設定値が記述された初期設定ファイルを取得する設定取得ステップと、
前記ドライバ構成ファイル及び/又は前記他OSドライバ構成ファイルと、前記初期設定ファイルと、を含み、当該初期設定ファイルに記述されている制御設定値でデバイスを制御するデバイスドライバをコンピュータにインストールするインストーラを作成するインストーラ作成ステップと、
をコンピュータに実行させるプログラム。 A configuration extraction step of extracting a driver configuration file constituting the device driver from a computer in which a device driver for controlling the device is installed;
The other OS driver configuration file that configures another OS device driver that corresponds to an OS different from the OS (Operation System) to which the device driver corresponds and can control the same device as the device driver is extracted from the storage medium. Another OS configuration extraction step;
A setting acquisition step of acquiring an initial setting file in which a control setting value reflecting the input contents of the control setting value used when the device driver and the other OS device driver control the device;
An installer for installing in a computer a device driver that includes the driver configuration file and / or the other OS driver configuration file and the initial setting file, and that controls a device with control setting values described in the initial setting file; An installer creation step to create,
A program that causes a computer to execute.
前記他OS構成摘出ステップでは、前記OS選択受付ステップにて選択されたOSに対応する前記他OSデバイスドライバを構成する他OSドライバ構成ファイルを記憶媒体から摘出する請求項1に記載のプログラム。 Causing the computer to further execute an OS selection receiving step of receiving an input for selecting an OS different from the OS corresponding to the device driver;
The program according to claim 1, wherein in the other OS configuration extraction step, another OS driver configuration file that configures the other OS device driver corresponding to the OS selected in the OS selection reception step is extracted from a storage medium.
デバイスドライバをコンピュータにインストールするインストールステップと、
前記インストーラ作成ステップと前記インストールステップのどちらを実行するかの採択入力を受付ける採択受付ステップと、
を更にコンピュータに実行させる請求項1ないし7のいずれか1項に記載のプログラム。 An installation program included in an installer for installing a device driver for controlling a device on a computer,
Installation steps to install device drivers on the computer;
An acceptance acceptance step for accepting an acceptance input of whether to execute the installer creation step or the installation step;
The program according to any one of claims 1 to 7, further causing the computer to execute.
前記デバイスドライバが対応するOS(Operation System)とは異なるOSに対応し、前記デバイスドライバと同じデバイスを制御することが可能な他OSデバイスドライバを構成する他OSドライバ構成ファイルを記憶媒体から摘出する他OS構成摘出ステップと、
前記デバイスドライバおよび前記他OSデバイスドライバがデバイスを制御する際に用いる制御設定値の入力を受付ける入力受付ステップと、
前記入力の内容を反映した制御設定値が記述された初期設定ファイルを作成する設定作成ステップと、
前記ドライバ構成ファイル及び/又は前記他OSドライバ構成ファイルと、前記初期設定ファイルと、を含み、当該初期設定ファイルに記述されている制御設定値でデバイスを制御するデバイスドライバをコンピュータにインストールするインストーラを作成するインストーラ作成ステップと、
を備えるインストーラの作成方法。 A configuration extraction step of extracting a driver configuration file constituting the device driver from a computer in which a device driver for controlling the device is installed;
The other OS driver configuration file that configures another OS device driver that corresponds to an OS different from the OS (Operation System) to which the device driver corresponds and can control the same device as the device driver is extracted from the storage medium. Another OS configuration extraction step;
An input receiving step for receiving an input of a control setting value used when the device driver and the other OS device driver control the device;
A setting creation step for creating an initial setting file in which control setting values reflecting the contents of the input are described;
An installer for installing in a computer a device driver that includes the driver configuration file and / or the other OS driver configuration file and the initial setting file, and that controls a device with control setting values described in the initial setting file; An installer creation step to create,
How to create an installer with
前記デバイスドライバが対応するOS(Operation System)とは異なるOSに対応し、前記デバイスドライバと同じデバイスを制御することが可能な他OSデバイスドライバを構成する他OSドライバ構成ファイルを記憶媒体から摘出する他OS構成摘出手段と、
前記デバイスドライバおよび前記他OSデバイスドライバがデバイスを制御する際に用いる制御設定値の入力を受付ける入力受付手段と、
前記入力の内容を反映した制御設定値が記述された初期設定ファイルを作成する設定作成手段と、
前記ドライバ構成ファイル及び/又は前記他OSドライバ構成ファイルと、前記初期設定ファイルと、を含み、当該初期設定ファイルに記述されている制御設定値でデバイスを制御するデバイスドライバをコンピュータにインストールするインストーラを作成するインストーラ作成手段と、
を備える情報処理装置。 A configuration extracting unit that extracts a driver configuration file that configures the device driver from a computer in which a device driver for controlling the device is installed;
The other OS driver configuration file that configures another OS device driver that corresponds to an OS different from the OS (Operation System) to which the device driver corresponds and can control the same device as the device driver is extracted from the storage medium. Other OS configuration extraction means,
An input receiving means for receiving an input of a control setting value used when the device driver and the other OS device driver control the device;
Setting creation means for creating an initial setting file in which control setting values reflecting the contents of the input are described;
An installer for installing in a computer a device driver that includes the driver configuration file and / or the other OS driver configuration file and the initial setting file, and that controls a device with control setting values described in the initial setting file; Installer creation means to create,
An information processing apparatus comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006054202A JP2007233665A (en) | 2006-02-28 | 2006-02-28 | Program for creating installer, storage medium for storing program, method of creating installer, and information processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006054202A JP2007233665A (en) | 2006-02-28 | 2006-02-28 | Program for creating installer, storage medium for storing program, method of creating installer, and information processor |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007233665A true JP2007233665A (en) | 2007-09-13 |
Family
ID=38554202
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006054202A Pending JP2007233665A (en) | 2006-02-28 | 2006-02-28 | Program for creating installer, storage medium for storing program, method of creating installer, and information processor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007233665A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010092404A (en) * | 2008-10-10 | 2010-04-22 | Konica Minolta Business Technologies Inc | Control device setting method and program |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11143691A (en) * | 1997-11-12 | 1999-05-28 | Oki Electric Ind Co Ltd | Bios setup system |
JP2003131832A (en) * | 2001-10-23 | 2003-05-09 | Canon Inc | Information processing device, information processing method, program, and storage medium |
JP2003202987A (en) * | 2002-01-07 | 2003-07-18 | Fujitsu Ltd | Installer for driver of network device |
JP2003308215A (en) * | 2002-02-14 | 2003-10-31 | Canon Inc | Information processor, control method, and control program |
JP2005157479A (en) * | 2003-11-20 | 2005-06-16 | Canon Inc | Installation method for printer driver, information processor, print controller, printing system and control program |
JP2006011950A (en) * | 2004-06-28 | 2006-01-12 | Seiko Epson Corp | Installer creating apparatus, its method, and program therefor |
-
2006
- 2006-02-28 JP JP2006054202A patent/JP2007233665A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11143691A (en) * | 1997-11-12 | 1999-05-28 | Oki Electric Ind Co Ltd | Bios setup system |
JP2003131832A (en) * | 2001-10-23 | 2003-05-09 | Canon Inc | Information processing device, information processing method, program, and storage medium |
JP2003202987A (en) * | 2002-01-07 | 2003-07-18 | Fujitsu Ltd | Installer for driver of network device |
JP2003308215A (en) * | 2002-02-14 | 2003-10-31 | Canon Inc | Information processor, control method, and control program |
JP2005157479A (en) * | 2003-11-20 | 2005-06-16 | Canon Inc | Installation method for printer driver, information processor, print controller, printing system and control program |
JP2006011950A (en) * | 2004-06-28 | 2006-01-12 | Seiko Epson Corp | Installer creating apparatus, its method, and program therefor |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010092404A (en) * | 2008-10-10 | 2010-04-22 | Konica Minolta Business Technologies Inc | Control device setting method and program |
JP4587132B2 (en) * | 2008-10-10 | 2010-11-24 | コニカミノルタビジネステクノロジーズ株式会社 | Control device setting method and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4844871B2 (en) | Program for creating installer, storage medium for storing the program, installer creation method, information processing apparatus | |
EP2284696B1 (en) | File printing by means of drag-and-drop | |
US8243306B2 (en) | Communication program, method of installing image processing apparatus control program and image processing apparatus | |
JP5975666B2 (en) | Information processing apparatus, information processing method, and program | |
US9690524B2 (en) | Managing print settings in multiple execution environments | |
EP1862896A2 (en) | Setting network ports | |
US8560738B2 (en) | Information processing device that accesses a device management program and manages the peripheral device and manages setting information for the peripheral device | |
EP2275917B1 (en) | Information processing apparatus, information processing method, and storage medium | |
US9170763B2 (en) | Information processing apparatus and control method | |
US8155019B2 (en) | Information processing apparatus, device information display method, and computer-readable storage medium | |
JP2007213501A (en) | Document processor, document processing system and data structure of document file | |
US20110258349A1 (en) | Information processing apparatus, peripheral device control method, and storage medium | |
US10455101B2 (en) | Server, image processing unit, and non-transitory recording medium for displaying error screen | |
WO2011111374A1 (en) | Information processing apparatus, method for controlling same, installation method, and storage medium | |
JP4952978B2 (en) | Program for creating an installer, storage medium for storing the program, and information processing apparatus | |
JP2007233664A (en) | Program for creating installer, storage medium for storing program, method of creating installer, and information processor | |
JP2005190167A (en) | Information processor, device using method and device using program | |
JP5697393B2 (en) | Information processing apparatus, peripheral device control method, and program | |
JP5893295B2 (en) | Information processing apparatus, display method, and program | |
JP2007233665A (en) | Program for creating installer, storage medium for storing program, method of creating installer, and information processor | |
JP4859241B2 (en) | Composite apparatus, information processing method, and program | |
JP6488618B2 (en) | Terminal device and computer program | |
JP5540720B2 (en) | Print control program, computer-readable recording medium, information processing apparatus, image processing apparatus, and printing system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080325 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110328 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110705 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20111031 |