JP2007066132A - Program system - Google Patents

Program system Download PDF

Info

Publication number
JP2007066132A
JP2007066132A JP2005252997A JP2005252997A JP2007066132A JP 2007066132 A JP2007066132 A JP 2007066132A JP 2005252997 A JP2005252997 A JP 2005252997A JP 2005252997 A JP2005252997 A JP 2005252997A JP 2007066132 A JP2007066132 A JP 2007066132A
Authority
JP
Japan
Prior art keywords
module
installation
program
software
storage area
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
Application number
JP2005252997A
Other languages
Japanese (ja)
Inventor
Kazunori Yamaguchi
和則 山口
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2005252997A priority Critical patent/JP2007066132A/en
Publication of JP2007066132A publication Critical patent/JP2007066132A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To solve a problem that update of software will not be performed unless rebooting is not carried out even in an information processor which is desired to avoid rebooting. <P>SOLUTION: An installer 2 includes; a process to copy a module of installation object software 3 to a specified directory; a process 21 to perform copy of a file from a directory specified after rebooting; a version information acquisition process 24 which performs processing to acquire version information of a module of a specified directory. The installation object software 3 includes; a version information acquisition process 32 which performs a process to acquire version information of the module; a load process 33 which performs a process to load a module which exists in a specified directory; and a function call process 34 which performs a process to call a function from a loaded module. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明はプログラムシステムに関し、情報処理装置にソフトウエアをインストールするための処理をコンピュータに行わせるインストールプログラムと、このインストールプログラムによる処理によってインストールされてコンピュータに所要の処理を行わせるインストール対象ソフトウエアとで構成されるプログラムシステムに関する。   The present invention relates to a program system, an installation program that causes a computer to perform processing for installing software in an information processing apparatus, and installation target software that is installed by processing by the installation program and causes a computer to perform required processing. Relates to a program system comprising:

従来、例えば画像形成装置を制御するために情報処理装置側にインストールされるプリンタドライバについて機能の追加、更新を行う方法として、一般的にバージョンアップという方法が幅広く用いられている。このバージョンアップは、新しいモジュールをプリンタドライバモジュールに追加して、プリンタドライバの機能を拡張するために、プリンタドライバの再インストールを行って、情報処理装置を再起動することで、更新後のプリンタドライバが有効になる。   2. Description of the Related Art Conventionally, for example, a version upgrade method has been widely used as a method for adding or updating functions of a printer driver installed on an information processing apparatus side in order to control an image forming apparatus. This version upgrade adds a new module to the printer driver module, re-installs the printer driver, and restarts the information processing device to expand the printer driver functions. Becomes effective.

このようなプログラムの更新に関しては、例えば特許文献1ないし9に記載されているようなものがある。
特開2004−206229号公報 特開2004−017470号公報 特開2004−062397号公報 特開2004−062398号公報 特開2003−131879号公報 特開2003−308215号公報 特開2004−206660号公報 特開2004−287764号公報 特開2004−326601号公報
Regarding such program updates, there are those described in Patent Documents 1 to 9, for example.
JP 2004-206229 A JP 2004-017470 A JP 2004-062397 A JP 2004-062398 A JP 2003-131879 A JP 2003-308215 A JP 2004-206660 A Japanese Patent Application Laid-Open No. 2004-287764 JP 2004-326601 A

つまり、特許文献1には、パーソナルコンピュータ(PC)を、プリンタを制御する制御手段として機能させる場合に、制御対象とするプリンタを指定する接続先情報を取得し、これを取得した場合、その情報によって指定された接続先に接続されているプリンタがその制御手段による制御に適合しているか否か判定し、適合していないと判定した場合にはプリンタの制御を行わないようにする処理を行うためのプログラムをPCにインストールする場合、そのインストール前に、インストール対象のプログラムに適合し、かつPCから制御可能な状態の装置を検索し、検索対象の装置が存在しないと認識した場合にはインストールを中止するようにすることが記載されている。   That is, in Patent Document 1, when a personal computer (PC) is caused to function as a control unit for controlling a printer, connection destination information for designating a printer to be controlled is acquired. It is determined whether the printer connected to the connection destination specified by the control means conforms to the control by the control means. If it is determined that the printer does not conform, the printer is not controlled. If a device that matches the installation target program and can be controlled from the PC is searched before installation, and if it is recognized that there is no target device for installation, it is installed. It is described to stop.

特許文献2には、入力された画像形成処理要求に応じて画像形成処理を実行する画像形成装置と、画像形成装置に接続され、搭載された制御プログラムを実行することにより動作する周辺装置と、を有する画像形成システムにおいて、バージョンアップが行われている周辺装置を使用する画像形成処理要求が入力されてきたときにその要求を拒絶し、そうでない要求が入力されたときにはその要求に応じて画像形成処理を実行する画像形成方法が記載されている。   In Patent Document 2, an image forming apparatus that executes an image forming process in response to an input image forming process request, a peripheral device that is connected to the image forming apparatus and operates by executing an installed control program, When an image forming process request using a peripheral device whose version has been upgraded is input, the request is rejected, and when the other request is input, an image corresponding to the request is received. An image forming method for executing the forming process is described.

特許文献3、4には、プリンタドライバをパーソナルコンピュータ等の情報処理装置にインストールする際に、インストールするモジュールセットの名称を、ある一定のルールに従ってインストール時に変更することによって、対応する全機種共通のドライバモジュールセットを、機種別の名称でインストールすることが可能とし、望まれていないシステムの再起動を、最小限にとどめることが可能となることが記載されている。   In Patent Documents 3 and 4, when installing a printer driver in an information processing apparatus such as a personal computer, the name of a module set to be installed is changed according to a certain rule at the time of installation. It is described that a driver module set can be installed with a model-specific name, and undesired system restarts can be minimized.

特許文献5には、コンピュータシステムに関連して使用される、リブートを抑制するインストールシステムであって、該インストールシステムの装置が、該インストールシステムをテンポラリディレクトリにロードするロード機構と、該インストールシステムのパスをテンポラリディレクトリに設定するディレクトリ機構と、該テンポラリディレクトリから該インストールシステムを実行する実行機構とを含むシステムが記載されている。   Patent Document 5 discloses an installation system that is used in connection with a computer system and suppresses rebooting, in which a device of the installation system loads the installation system into a temporary directory; A system is described that includes a directory mechanism that sets a path to a temporary directory and an execution mechanism that executes the installation system from the temporary directory.

特許文献6には、デバイスドライバを搭載可能な情報処理装置の制御方法であって、デバイスドライバをインストールするインストール工程と、インストール工程においてデバイスドライバをインストールするに際し情報処理装置内の制御プログラムの再起動の要否を判定する判定工程と、判定工程において再起動が必要であると判断された場合には、再起動を促す表示画面を表示する制御を行う表示制御工程を有することで、必要な再起動を行いつつ不要な再起動を減らす制御方法が記載されている。   Patent Document 6 discloses a method for controlling an information processing apparatus in which a device driver can be installed, an installation process for installing a device driver, and a restart of a control program in the information processing apparatus when the device driver is installed in the installation process. And a display control step for performing control to display a display screen for prompting restart when it is determined that restart is necessary in the determination step. A control method for reducing unnecessary restarts while starting is described.

特許文献7には、所定の種類の機器が接続されると、その機器に記憶された所定の自動起動スクリプト又は自動起動プログラムを実行するコンピュータの、汎用周辺機器インタフェースに着脱され、制御手段と、主な記憶装置としてROM又は読み書き可能な記憶装置と、を備えた着脱式デバイスであって、制御手段は、第1の単位デバイス及び第2の単位デバイスを含む複数の単位デバイスと、コンピュータ側とのデータ授受を、各単位デバイスに割り振るハブ手段と、汎用周辺機器インタフェースに接続された際に、まず先に第1の単位デバイスについて所定の種類の機器を模した信号をコンピュータに送り、その後所定のタイミングで、第2の単位デバイスについて認識を受けるための所定の信号を前記コンピュータに送る手段とを備えたものが記載されている。   In Patent Document 7, when a predetermined type of device is connected, a computer that executes a predetermined automatic startup script or an automatic startup program stored in the device is attached to and detached from a general-purpose peripheral device interface, A removable device including a ROM or a readable / writable storage device as a main storage device, wherein the control means includes a plurality of unit devices including a first unit device and a second unit device, and a computer side. When the data is transferred to and from the hub means for allocating data to each unit device and the general-purpose peripheral device interface, first, a signal simulating a predetermined type of device for the first unit device is first sent to the computer, and then Means for sending a predetermined signal for receiving recognition of the second unit device to the computer at the timing of Has described a was.

特許文献8には、PCは、プリンタドライバを削除することを要求する削除要求を検出し、削除要求の対象であるプリンタドライバが通常使うプリンタドライバに設定されている場合、削除要求の対象であるプリンタドライバと異なるプリンタドライバを通常使うプリンタドライバに設定することをユーザーに促す制御を行うことが記載されている。   In Patent Document 8, a PC detects a deletion request that requests deletion of a printer driver, and if the printer driver that is the target of the deletion request is set as a normally used printer driver, the PC is the target of the deletion request. It is described that control is performed to prompt the user to set a printer driver different from the printer driver as a normally used printer driver.

特許文献9には、ホストコンピュータで動作する検索対象情報リストUI制御モジュール内の検索対象情報リストに記述されている検索対象範囲に存在している機能情報を取得して機能情報リストに書き込み、この書き込んだ機能情報(の一部)をプリンタ機能設定画面内の表示欄に表示して、表示した機能情報に対応する機能の追加、更新、及び削除の指示を受け付け、受け付けた指示に従って、機能の追加、更新、及び削除を実行することにより、ドライバ本体モジュールに接続されているプラグインモジュールを用いて機能の追加、更新、及び削除を行えるようにすることが記載されている。   In Patent Document 9, the function information existing in the search target range described in the search target information list in the search target information list UI control module operating on the host computer is acquired and written in the function information list. The written function information (a part of it) is displayed in the display field in the printer function setting screen, and instructions for adding, updating, and deleting functions corresponding to the displayed function information are accepted. It is described that functions can be added, updated, and deleted by using a plug-in module connected to the driver main body module by executing addition, update, and deletion.

上述した従来の情報処理装置やこれに関連するプログラム、制御方法などにおいては、使用するソフトウエアの更新インストールを行うとき、更新を行おうとするソフトウエアが情報処理装置によって使用されている等の理由で更新を行おうとするソフトウエアモジュールの上書きコピーが行えない場合に、インストールプログラム(以下「インストーラ」という。)により情報処理装置の再起動を行うことで、再起動後にソフトウエアモジュールの更新を行うようにしている。   In the above-described conventional information processing apparatus and related programs, control methods, etc., the reason why the software to be updated is used by the information processing apparatus when performing update installation of the software to be used When the software module to be updated cannot be overwritten by using the installation program (hereinafter referred to as "installer"), the information processing device is restarted to update the software module after the restart. I am doing so.

ところが、情報処理装置の使用環境には、サーバー用途等の終日稼動している情報処理装置のように極力再起動を避けたい使用環境がある。   However, the usage environment of the information processing apparatus includes a usage environment in which it is desired to avoid restarting as much as possible, such as an information processing apparatus operating all day, such as a server application.

しかしながら、このように再起動を避けたい情報処理装置であっても、従来は、情報処理装置の再起動を行わない限りソフトウエアの更新が行われないという課題がある。   However, even in the case of an information processing apparatus that wants to avoid restarting in this way, conventionally, there is a problem that software is not updated unless the information processing apparatus is restarted.

本発明は上記の課題に鑑みてなされたものであり、情報処理装置の再起動を行うことなく更新された処理を行うことができるようにするプログラムシステムを提供することを目的とする。   The present invention has been made in view of the above problems, and an object of the present invention is to provide a program system capable of performing an updated process without restarting an information processing apparatus.

上記の課題を解決するため、本発明に係るプログラムシステムは、情報処理装置にソフトウエアをインストールするための処理をコンピュータに行わせるインストールプログラムと、このインストールプログラムによる処理によってインストールされてコンピュータに所要の処理を行わせるインストール対象ソフトウエアとで構成されるプログラムシステムであって、インストールプログラムは、インストール対象ソフトウエアのモジュールを指定したディレクトリにコピーする処理、情報処理装置の再起動後に指定したディレクトリよりファイルのコピーを行う処理、情報処理装置の再起動後に指定したディレクトリよりファイルの削除を行う処理、指定したディレクトリのモジュールのバージョン情報を取得する処理を行わせるプログラムであり、インストール対象ソフトウエアは、指定したディレクトリよりモジュール名を取得する処理、モジュールのバージョン情報を取得する処理、指定したディレクトリに存在するモジュールをロードする処理、ロードされたモジュールから関数をコールする処理を行わせるプログラムである構成とした。   In order to solve the above-described problems, a program system according to the present invention includes an installation program that causes a computer to perform a process for installing software in an information processing apparatus, and a program that is installed by the process of the installation program and that is required for the computer. A program system composed of installation target software that performs processing. The installation program copies a module of the installation target software to the specified directory, and the file from the specified directory after the information processing apparatus is restarted. A program that performs the process of copying files, the process of deleting files from the specified directory after restarting the information processing device, and the process of acquiring the module version information of the specified directory The installation target software acquires the module name from the specified directory, acquires the module version information, loads the module existing in the specified directory, and calls a function from the loaded module. It was set as the structure which is a program which performs a process.

ここで、インストールプログラムは、情報処理装置に既にインストール対象ソフトウエアがインストールされているときには、既にインストールされているインストール対象ソフトウエアのバージョン情報を取得し、インストールしようとしているインストール対象ソフトウエアのバージョンが新しい場合にインストール処理を行わせることが好ましい。   Here, when the installation target software is already installed in the information processing apparatus, the installation program acquires version information of the installation target software already installed, and the version of the installation target software to be installed is It is preferable to have the installation process performed if it is new.

また、インストールプログラムは、インストール対象ソフトウエアが情報処理装置で使用されていて更新版モジュールの上書きコピーが行えない場合には、特定した情報処理装置の記憶領域に更新版モジュールをコピーし、情報処理装置の再起動後に記憶領域からインストール対象モジュールに対して上書きコピーを行い、モジュールのコピー後は記憶領域に保存していた更新版モジュールの削除を行う処理を行わせることが好ましい。   In addition, when the installation target software is used in the information processing apparatus and the update version module cannot be overwritten, the installation program copies the update version module to the storage area of the specified information processing apparatus, It is preferable to perform an overwrite copy from the storage area to the installation target module after the apparatus is restarted, and to perform a process of deleting the updated version module stored in the storage area after the module is copied.

この場合、インストールプログラムは、インストール状況及びエラーメッセージを表示するユーザーインターフェース表示処理を含み、記憶領域へのコピーが失敗した場合、再起動後に再度インストールプログラムの実行を促すメッセージを表示する処理を行わせることが好ましい。   In this case, the installation program includes a user interface display process for displaying an installation status and an error message. When copying to the storage area fails, a process for displaying a message prompting the execution of the installation program again after the restart is performed. It is preferable.

さらに、インストール対象ソフトウエアは、インストールプログラムにより特定される情報処理装置内の記憶領域にインストールプログラムによりコピーされたインストール対象ソフトウエアを構成するモジュールと同名モジュールが存在するときには、同名モジュールのバージョン情報を取得し、記憶領域に存在する同名モジュールの方がインストール対象ソフトウエアを構成するモジュールのバージョンより新しい場合に記憶領域内の同名モジュールをロードする処理を行わせることが好ましい。   In addition, when there is a module having the same name as the module constituting the installation target software copied by the installation program in the storage area in the information processing apparatus specified by the installation program, the installation target software displays the version information of the same name module. Preferably, the module having the same name existing in the storage area is loaded when the module with the same name existing in the storage area is newer than the version of the module constituting the installation target software.

この場合、インストール対象ソフトウエアは、インストールプログラムが特定した記憶領域にあるインストール対象ソフトウエアを構成するモジュールと同名のモジュールをロードしたときには、インストール対象ソフトウエアから記憶領域に存在する更新版モジュール内の関数をコールする処理を行なわせ、更新された処理を実行可能とすることが好ましい。   In this case, when the installation target software loads a module having the same name as the module constituting the installation target software in the storage area specified by the installation program, the installation target software includes the update version module existing in the storage area. It is preferable to perform a process of calling a function so that the updated process can be executed.

本発明に係るデータ転送装置によれば、上記の構成を採用したので、インストーラがソフトウエアの更新インストールを行うときに、ソフトウエアモジュールの上書きコピーができないために情報処理装置の再起動が必要となる場合であっても、記憶領域に存在する更新版モジュールをロードして更新版モジュールの内の関数をコールすることで、再起動を行わないで更新された処理を実行可能とすることできるようになり、ソフトウエアの更新インストール時の再起動を抑制することができる。   According to the data transfer device of the present invention, since the above configuration is adopted, when the installer performs software update installation, the software module cannot be overwritten and the information processing device needs to be restarted. Even in such a case, it is possible to execute the updated process without restarting by loading the updated version module existing in the storage area and calling the function in the updated version module. Thus, it is possible to suppress restart at the time of software update installation.

以下、本発明の実施の形態について添付図面を参照して説明する。本発明の一実施形態について図1を参照して説明する。なお、図1は本発明に係るプログラムシステムの情報処理装置上での機能構成を説明するブロック図である。
このプログラムシステムは、情報処理装置1にソフトウエアをインストールするための処理をコンピュータに行わせるインストールプログラム(以下「インストーラ」という。)2と、このインストーラ2による処理によってインストールされてコンピュータに所要の処理を行わせるインストール対象ソフトウエア3とで構成される。
Embodiments of the present invention will be described below with reference to the accompanying drawings. An embodiment of the present invention will be described with reference to FIG. FIG. 1 is a block diagram illustrating the functional configuration of the program system according to the present invention on the information processing apparatus.
This program system includes an installation program (hereinafter referred to as “installer”) 2 that causes a computer to perform processing for installing software in the information processing apparatus 1, and processing required for the computer that is installed by processing by the installer 2. It is comprised with the installation object software 3 to perform.

インストーラ2は、インストール対象ソフトウエア3を収録したインストール用CD−ROMなどの記憶媒体から自動起動され、あるいは、情報処理装置1上からユーザーにより実行されることによって起動される。   The installer 2 is automatically started from a storage medium such as an installation CD-ROM in which the installation target software 3 is recorded, or is started by being executed by the user from the information processing apparatus 1.

そして、このインストーラ2は、インストール対象ソフトウエア3のモジュールを指定したディレクトリにコピーする処理、及び、情報処理装置1の再起動後に指定したディレクトリよりファイルのコピーを行う処理を行わせるモジュールコピー処理21と、インストール状況及びエラーメッセージをディスプレイ11に表示させる処理を行わせるユーザーインターフェース表示処理22と、情報処理装置1の再起動後に指定したディレクトリよりファイルを削除する処理を行わせるモジュール削除処理23と、指定したディレクトリのモジュールのバージョン情報を取得する処理を行わせるバージョン情報取得処理24とを含むプログラムである。   Then, the installer 2 performs a module copy process 21 for performing a process of copying a module of the installation target software 3 to a designated directory and a process of copying a file from the designated directory after the information processing apparatus 1 is restarted. A user interface display process 22 for performing a process of displaying an installation status and an error message on the display 11, a module deletion process 23 for performing a process of deleting a file from a directory designated after the information processing apparatus 1 is restarted, The program includes a version information acquisition process 24 that performs a process of acquiring the version information of the module in the specified directory.

また、インストール対象ソフトウエア3は、再起動抑止処理部30と、このソフトウエアの実行処理を行なうソフトウエア実行処理部35とを含むプログラムである。   The installation target software 3 is a program that includes a restart suppression processing unit 30 and a software execution processing unit 35 that executes the software.

再起動抑止処理部30は、指定したディレクトリより同名のモジュール名を取得する処理を行わせる同名モジュール検索処理31と、モジュールのバージョン情報を取得する処理を行わせるバージョン情報取得処理32と、指定したディレクトリに存在するモジュールをロードする処理を行わせるロード処理33と、ロードされたモジュールから関数をコールする処理を行わせる関数コール処理34とを含むプログラムである。   The restart suppression processing unit 30 has the same name module search process 31 that performs the process of acquiring the module name of the same name from the specified directory, the version information acquisition process 32 that performs the process of acquiring the version information of the module, and the specified The program includes a load process 33 for performing a process for loading a module existing in the directory, and a function call process 34 for performing a process for calling a function from the loaded module.

このプログラムシステムの機能について図2及び図3を参照して説明する。
先ず、インストーラ2は、インストーラの処理遷移状態を、ユーザーインターフェース表示処理22を使用して情報処理装置1のディスプレイ11に表示する。
The function of this program system will be described with reference to FIGS.
First, the installer 2 displays the process transition state of the installer on the display 11 of the information processing apparatus 1 using the user interface display process 22.

また、インストーラ2はモジュールのバージョン情報取得処理24を使用して、インストール対象ソフトウエア3を構成するモジュールのバージョンを取得する。このとき、インストール対象ソフトウエア3のバージョンがインストーラ2がインストールを行おうとしているモジュールのバージョンよりも低い場合には、次に述べる更新インストールを行い、高い場合には、ユーザーインターフェース表示処理22を使用してディスプレイ11に対してインストーラ2を終了するメッセージを表示し、インストール処理を終了する。   Further, the installer 2 uses the module version information acquisition process 24 to acquire the versions of the modules constituting the installation target software 3. At this time, if the version of the software 3 to be installed is lower than the version of the module to be installed by the installer 2, the update installation described below is performed, and if it is higher, the user interface display process 22 is used. Then, a message to end the installer 2 is displayed on the display 11, and the installation process is ended.

このように、情報処理装置に既にインストール対象ソフトウエアがインストールされていた場合、既にインストールされているインストール対象ソフトウエアのバージョン情報を取得し、インストーラがインストールしようとしているソフトウエアの方がバージョンが新しい場合にはインストール処理を行うようにすることで、インストーラ使用時には既にインストールされているソフトウエアよりも新しいバージョンのソフトウエア、又は同バージョンのソフトウエアがインストールすることが可能となり、古いバージョンのソフトウエアがインストールされることはなくなる。   In this way, when the installation target software has already been installed in the information processing apparatus, the version information of the installation target software that has already been installed is acquired, and the version of the software that the installer is trying to install is newer. In some cases, by using the installation process, when using the installer, it is possible to install a newer version of the software than the already installed software or the same version of the software. Will never be installed.

そこで、更新インストールを行う場合の処理について図2を参照して説明すると、インストーラ2は、ソフトウエアの更新インストール時にモジュールコピー処理21を行わせて、インストールを行う記憶領域12に対して更新版モジュールの上書きコピーを行う。   Therefore, the processing in the case of performing update installation will be described with reference to FIG. 2. The installer 2 causes the module copy processing 21 to be performed at the time of software update installation, and the updated version module is stored in the storage area 12 to be installed. Overwrite copy of.

このとき、インストール対象ソフトウエア3が上書きコピー可能で、インストール対象ソフトウエア3のモジュールコピーが正常に終了した場合にはインストーラ2は処理を終了する。   At this time, if the installation target software 3 can be overwritten and the module copy of the installation target software 3 is normally completed, the installer 2 ends the process.

これに対し、モジュールのコピーに失敗したときには、モジュールコピー処理21は記憶装置12に対して更新版モジュールのコピーを行う。コピーが正常に終了した場合には、情報処理装置1の再起動後にインストール対象ソフトウエア3がインストールされている記憶領域12に対してモジュールの上書きコピーを行い、コピー終了後にモジュール削除処理23を行わせて記憶領域12から更新版モジュールの削除を行わせる。   On the other hand, when the module copy fails, the module copy process 21 copies the updated version module to the storage device 12. When the copying is normally completed, the module is overwritten on the storage area 12 in which the installation target software 3 is installed after the information processing apparatus 1 is restarted, and the module deletion processing 23 is performed after the copying is completed. At the same time, the update module is deleted from the storage area 12.

このようにインストーラが情報処理装置の特定の記憶領域にソフトウエアの更新版モジュールをコピーし、再起動後に既にソフトウエアがインストールされている記憶領域に対してソフトウエアモジュールの上書きコピーを行うことで、再起動後には更新版のソフトウエアが実行可能となる。   In this way, the installer copies the software update module to a specific storage area of the information processing device, and after the reboot, overwrites the software module to the storage area where the software is already installed. After the restart, the updated software can be executed.

ここで、記憶装置12に対してモジュールのコピーが失敗した場合には、情報処理装置1の再起動後にインストーラの実行を促すメッセージを、ユーザーインターフェース表示処理22を行わせてディスプレイ11に対して表示させる。これにより、ユーザーに対して再起動を促すことができる。   Here, if the module copy to the storage device 12 fails, a message prompting the execution of the installer after the information processing device 1 is restarted is displayed on the display 11 by performing the user interface display processing 22. Let This can prompt the user to restart.

一方、インストール対象ソフトウエア3は、ユーザーにより実行され、或いは、デバイスドライバ等のソフトウエアのようにオペレーティングシステムからコールされることで実行されることにより起動される。   On the other hand, the installation target software 3 is activated by being executed by a user or by being called from an operating system like software such as a device driver.

そして、図3に示すように、インストール対象ソフトウエア3を構成するモジュールは、同名モジュール検索処理31を行わせて、起動直後に記憶領域12を参照し、インストール対象ソフトウエア3が構成する同名のモジュールを検索する。記憶領域12に、同名モジュールが存在しない場合には、更新インストールはされないものとし、ソフトウエア実行処理部35の処理を実行する。   As shown in FIG. 3, the modules constituting the installation target software 3 cause the module search process 31 with the same name to be performed, and the storage area 12 is referred to immediately after startup, and the modules of the same name configured by the installation target software 3 are referred to. Search for a module. If there is no module with the same name in the storage area 12, update installation is not performed, and the processing of the software execution processing unit 35 is executed.

これに対し、同名モジュールが存在する場合にはモジュールのバージョン情報取得処理32を使用して同名モジュールのバージョン情報を取得する。記憶領域12に存在するモジュールのバージョン情報がインストール対象ソフトウエア3より古い場合には更新インストールはされないものとし、ソフトウエア実行処理部35の処理を実行する。   On the other hand, if a module with the same name exists, the module version information acquisition process 32 is used to acquire the version information of the module with the same name. If the version information of the module existing in the storage area 12 is older than the installation target software 3, the update installation is not performed, and the processing of the software execution processing unit 35 is executed.

インストール対象ソフトウエア3よりも新しい場合にはソフトウエアの更新インストールを行うものとみなし、モジュールのロード処理33を行なって、記憶領域12に存在する同名のモジュールをロードする。   If the software is newer than the installation target software 3, it is assumed that the software is to be updated and installed, and a module load process 33 is performed to load the module of the same name existing in the storage area 12.

このとき、同名モジュールのロードに失敗した場合にはソフトウエアの更新は不可能とみなし、ソフトウエア実行処理部35の処理を実行する。   At this time, if loading of the module with the same name fails, it is considered that the software cannot be updated, and the processing of the software execution processing unit 35 is executed.

これに対し、同名モジュールのロードに成功した場合には、インストーラ2により更新インストール用のモジュールが記憶装置12にコピーされたとみなし、ロードされたモジュール内の関数コール処理34を使用し、記憶装置12に存在する同名モジュールから更新版の関数をコールし、更新された処理を実行させる。この場合、ソフトウエア実行処理部35の処理は更新版モジュールの処理より古い処理とみなし、実行しない。   On the other hand, when the module with the same name has been successfully loaded, it is considered that the module for update installation has been copied to the storage device 12 by the installer 2, and the function call processing 34 in the loaded module is used to store the storage device 12. The function of the updated version is called from the module with the same name existing in, and the updated process is executed. In this case, the processing of the software execution processing unit 35 is regarded as older than the processing of the updated version module and is not executed.

このように、インストール対象ソフトウエアが、同名モジュールのバージョン情報の確認を行うことで、誤って、インストール対象ソフトウエアより古いバージョンのモジュールをロードすることを防ぐことができる。また、インストール対象ソフトウエアが、記憶領域内からモジュールをロードした場合には、更新版モジュール内の関数をコールすることで既にインストールされているインストール対象ソフトウエアよりも更新された処理を情報処理装置の再起動無しに実行することができるようになる。   In this way, by confirming the version information of the module having the same name by the installation target software, it is possible to prevent erroneously loading a module having a version older than the installation target software. In addition, when the installation target software loads a module from the storage area, the information processing apparatus updates the processing updated from the already installed installation software by calling a function in the updated module. Can be run without rebooting.

本発明に係るプログラムシステムの情報処理装置上での機能構成を説明するブロック図である。It is a block diagram explaining the function structure on the information processing apparatus of the program system which concerns on this invention. インストーラの処理の説明に供するフロー図である。It is a flowchart with which it uses for description of a process of an installer. インストール対象ソフトウエアの処理に説明に供するフロー図である。It is a flowchart with which it uses for description to the process of installation object software.

符号の説明Explanation of symbols

1…情報処理装置
2…インストーラ
3…インストール対象ソフトウエア
11…ディスプレイ
12…記憶領域
21…モジュールコピー処理
22…ユーザーインターフェース表示処理
23…モジュール削除処理
24…バージョン情報取得処理
30…再起動抑止処理部
31…同名モジュール検索処理
32…バージョン情報取得処理
33…モジュールロード処理
34…関数コール処理
35…ソフトウエア処理実行部
DESCRIPTION OF SYMBOLS 1 ... Information processing apparatus 2 ... Installer 3 ... Installation object software 11 ... Display 12 ... Storage area 21 ... Module copy process 22 ... User interface display process 23 ... Module deletion process 24 ... Version information acquisition process 30 ... Restart suppression process part 31 ... Same name module search process 32 ... Version information acquisition process 33 ... Module load process 34 ... Function call process 35 ... Software process execution part

Claims (6)

情報処理装置にソフトウエアをインストールするための処理をコンピュータに行わせるインストールプログラムと、このインストールプログラムによる処理によってインストールされてコンピュータに所要の処理を行わせるインストール対象ソフトウエアとで構成されるプログラムシステムであって、
前記インストールプログラムは、インストール対象ソフトウエアのモジュールを指定したディレクトリにコピーする処理、インストール状況及びエラーメッセージを表示するユーザーインターフェース表示処理、情報処理装置の再起動後に指定したディレクトリよりファイルのコピーを行う処理、情報処理装置の再起動後に指定したディレクトリよりファイルの削除を行う処理、指定したディレクトリのモジュールのバージョン情報を取得する処理を行わせるプログラムであり、
前記インストール対象ソフトウエアは、指定したディレクトリよりモジュール名を取得する処理、モジュールのバージョン情報を取得する処理、指定したディレクトリに存在するモジュールをロードする処理、ロードされたモジュールから関数をコールする処理を行わせるプログラムである
ことを特徴とするプログラムシステム。
A program system comprising an installation program that causes a computer to perform processing for installing software in an information processing apparatus, and software to be installed that is installed by processing by the installation program and causes the computer to perform required processing. There,
The installation program includes a process for copying a module of software to be installed to a specified directory, a user interface display process for displaying an installation status and an error message, and a process for copying a file from the specified directory after the information processing apparatus is restarted. , A program that performs a process of deleting a file from a specified directory after restarting the information processing apparatus, and a process of acquiring version information of a module in the specified directory,
The installation target software performs a process of acquiring a module name from a specified directory, a process of acquiring module version information, a process of loading a module existing in the specified directory, and a process of calling a function from the loaded module. A program system characterized by being a program to be executed.
請求項1に記載のプログラムシステムにおいて、前記インストールプログラムは、前記情報処理装置に既にインストール対象ソフトウエアがインストールされているときには、既にインストールされているインストール対象ソフトウエアのバージョン情報を取得し、インストールしようとしているインストール対象ソフトウエアのバージョンが新しい場合にインストール処理を行わせることを特徴とするプログラムシステム。   2. The program system according to claim 1, wherein when the installation target software is already installed in the information processing apparatus, the installation program acquires version information of the installation target software already installed and tries to install it. A program system characterized in that installation processing is performed when the version of the installation target software is new. 請求項1に記載のプログラムシステムにおいて、前記インストールプログラムは、インストール対象ソフトウエアが情報処理装置で使用されていて更新版モジュールの上書きコピーが行えない場合には、特定した情報処理装置の記憶領域に更新版モジュールをコピーし、前記情報処理装置の再起動後に前記記憶領域からインストール対象モジュールに対して上書きコピーを行い、モジュールのコピー後は記憶領域に保存していた更新版モジュールの削除を行う処理を行わせることを特徴とするプログラムシステム。   2. The program system according to claim 1, wherein the installation program stores the software to be installed in the storage area of the identified information processing apparatus when the software to be installed is used in the information processing apparatus and the update version module cannot be overwritten. A process of copying an update module, performing an overwrite copy from the storage area to the installation target module after restarting the information processing apparatus, and deleting the update module stored in the storage area after copying the module A program system characterized by having 請求項1ないし3のいずれかに記載のプログラムシステムにおいて、前記インストールプログラムは、インストール状況及びエラーメッセージを表示するユーザーインターフェース表示処理を含み、前記記憶領域へのコピーが失敗した場合、再起動後に再度インストールプログラムの実行を促すメッセージを表示する処理を行わせることを特徴とするプログラムシステム。   4. The program system according to claim 1, wherein the installation program includes a user interface display process for displaying an installation status and an error message. If copying to the storage area fails, the installation program is restarted after restarting. A program system for performing a process of displaying a message prompting execution of an installation program. 請求項1に記載のプログラムシステムにおいて、前記インストール対象ソフトウエアは、前記インストールプログラムにより特定される情報処理装置内の記憶領域に前記インストールプログラムによりコピーされたインストール対象ソフトウエアを構成するモジュールと同名モジュールが存在するときには、同名モジュールのバージョン情報を取得し、記憶領域に存在する同名モジュールの方がインストール対象ソフトウエアを構成するモジュールのバージョンより新しい場合に前記記憶領域内の同名モジュールをロードする処理を行わせることを特徴とするプログラムシステム。   2. The program system according to claim 1, wherein the installation target software is a module having the same name as a module constituting the installation target software copied by the installation program to a storage area in the information processing apparatus specified by the installation program. Is present, the version information of the module with the same name is acquired, and the module with the same name in the storage area is loaded when the module with the same name in the storage area is newer than the version of the module constituting the software to be installed. A program system characterized by being made to perform. 請求項5に記載のプログラムシステムにおいて、前記インストール対象ソフトウエアは、インストールプログラムが特定した記憶領域にあるインストール対象ソフトウエアを構成するモジュールと同名のモジュールをロードしたときには、インストール対象ソフトウエアから記憶領域に存在する更新版モジュール内の関数をコールする処理を行なわせ、更新された処理を実行可能とすることを特徴とするプログラムシステム。
6. The program system according to claim 5, wherein when the module having the same name as the module constituting the installation target software in the storage area specified by the installation program is loaded, the installation target software is stored in the storage area from the installation target software. A program system characterized in that a process for calling a function in an updated version module is executed, and the updated process can be executed.
JP2005252997A 2005-09-01 2005-09-01 Program system Pending JP2007066132A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005252997A JP2007066132A (en) 2005-09-01 2005-09-01 Program system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005252997A JP2007066132A (en) 2005-09-01 2005-09-01 Program system

Publications (1)

Publication Number Publication Date
JP2007066132A true JP2007066132A (en) 2007-03-15

Family

ID=37928221

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005252997A Pending JP2007066132A (en) 2005-09-01 2005-09-01 Program system

Country Status (1)

Country Link
JP (1) JP2007066132A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011098444A (en) * 2009-11-04 2011-05-19 Ricoh Co Ltd Printer, program and server apparatus
JP2013502005A (en) * 2009-08-10 2013-01-17 シマンテック コーポレーション System and method for updating software products
JP2014142824A (en) * 2013-01-24 2014-08-07 Canon Inc Image forming apparatus, information processing method, and program
JP2018085027A (en) * 2016-11-25 2018-05-31 コニカミノルタ株式会社 Updating method of driver for operating respective functions of image forming apparatus, and program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013502005A (en) * 2009-08-10 2013-01-17 シマンテック コーポレーション System and method for updating software products
JP2011098444A (en) * 2009-11-04 2011-05-19 Ricoh Co Ltd Printer, program and server apparatus
JP2014142824A (en) * 2013-01-24 2014-08-07 Canon Inc Image forming apparatus, information processing method, and program
JP2018085027A (en) * 2016-11-25 2018-05-31 コニカミノルタ株式会社 Updating method of driver for operating respective functions of image forming apparatus, and program

Similar Documents

Publication Publication Date Title
US6928579B2 (en) Crash recovery system
US6434744B1 (en) System and method for patching an installed application program
US7791745B2 (en) Information processing apparatus on which printer driver can be installed, information processing apparatus, control method, program, and storage medium
US8863112B2 (en) Information processing apparatus and controlling method thereof
JP2003084984A (en) Information processor, information processing method, control program, and recording medium storing control program
JP2008084304A (en) Image forming apparatus, program updating method and program
JP2003308215A (en) Information processor, control method, and control program
JP6889617B2 (en) Information processing equipment, program management methods, and programs
US9250933B2 (en) Information processor with configuration modification function
JP2005135389A (en) Automatic printer driver configuration for printer controller
US10089102B2 (en) Information processing apparatus, method, and program
JP2008003815A (en) Computer system, network boot system, method of switching os image, and program for switching os image
TWI450090B (en) Method and system of changing a startup list of programs to determine whether computer system performance increases
JP4448953B2 (en) Information processing apparatus, information processing method, and program
US9086938B2 (en) Information processing apparatus, control method thereof, and storage medium
JP6600240B2 (en) Information processing apparatus, firmware update method, and program
JP2007293737A (en) Method for registering and managing software resource, electronic equipment, and program
JP2007066132A (en) Program system
US20130055230A1 (en) Method and apparatus to install software automatically
US8464273B2 (en) Information processing apparatus, information processing method, and computer-readable program
JP4802607B2 (en) Image processing device
JP4792744B2 (en) Image processing device
JP2008090727A (en) Information processor, processing method, and information processing program
JP5133230B2 (en) Information processing apparatus, information processing method, and program
JP4678342B2 (en) Print control program