[go: up one dir, main page]

JP2009009494A - Information processing apparatus, information processing method, and control program - Google Patents

Information processing apparatus, information processing method, and control program Download PDF

Info

Publication number
JP2009009494A
JP2009009494A JP2007172293A JP2007172293A JP2009009494A JP 2009009494 A JP2009009494 A JP 2009009494A JP 2007172293 A JP2007172293 A JP 2007172293A JP 2007172293 A JP2007172293 A JP 2007172293A JP 2009009494 A JP2009009494 A JP 2009009494A
Authority
JP
Japan
Prior art keywords
software
module
uninstall
uninstalled
program
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
JP2007172293A
Other languages
Japanese (ja)
Inventor
Yasushi Mochizuki
泰志 望月
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2007172293A priority Critical patent/JP2009009494A/en
Publication of JP2009009494A publication Critical patent/JP2009009494A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

【課題】ソフトウェアのインストール時に、旧バージョンのアンインストールを適切に制御する。
【解決手段】アンインストール対象ソフトウェアが存在すれば、それが既にインストールされているかどうかをステップS303で確認する。既にアンインストールされているなどで、インストールされていなければ、ステップS302に戻り、次にアンインストールすべきソフトウェアがあるかどうかを確認する。ステップS303でアンインストール対象ソフトウェアがインストールされていれば、ステップS304で上書きをしてよいかどうかをメッセージ表示により確認した後に、S307で新しいアンインストーラモジュールをコピーし、S308でそのアンインストーラモジュールを実行する。
【選択図】図5
An object of the present invention is to appropriately control uninstallation of an old version during software installation.
If there is software to be uninstalled, it is checked in step S303 whether it has already been installed. If it has already been uninstalled, for example, if it has not been installed, the process returns to step S302 to check whether there is software to be uninstalled next. If the software to be uninstalled is installed in step S303, it is confirmed in step S304 whether or not to overwrite, and a new uninstaller module is copied in S307, and the uninstaller module is executed in S308. To do.
[Selection] Figure 5

Description

本発明は、アプリケーションなどのソフトウェアをコンピュータ装置にインストールするためのインストール方法、インストールプログラム及び記憶媒体に関するものである。   The present invention relates to an installation method, an installation program, and a storage medium for installing software such as an application on a computer device.

従来、アプリケーションなどのソフトウェアをコンピュータ装置にインストールするプログラムにおいて、前記コンピュータ装置にインストールされている少なくとも1つのソフトウェア各々について、前提となる他のソフトウェアの情報を含むリソース関連情報を取得する機能と、外部記憶媒体に格納されているインストール対象のソフトウェア、及び当該ソフトウェアの前提となる他のソフトウェアの情報を含むリソース関連情報更新データを、読み込む機能と、前記リソース関連情報更新データと、前記リソース関連情報を比較し、前記インストール対象ソフトウェアの前提となるソフトウェアが、前記コンピュータ装置にインストールされているか否かを調べることにより、インストール可否を判断する機能と、インストール不可と判断された場合に、インストール処理を中止する機能と、インストール可能と判断された場合に、前記インストール対象のソフトウェアのインストール処理を実行し、その実行結果に基づいて前記リソース関連情報を更新する機能とを、前記コンピュータ装置に実行させるインストールプログラムを提供してきた。(特許文献1参照)。   Conventionally, in a program for installing software such as an application in a computer device, for each of at least one software installed in the computer device, a function for acquiring resource-related information including information on other prerequisite software, and an external A function for reading resource-related information update data including information on software to be installed stored in a storage medium and other software that is a prerequisite of the software, the resource-related information update data, and the resource-related information A function for determining whether or not installation is possible by checking whether or not the software that is the prerequisite of the installation target software is installed in the computer device; A function of canceling the installation process when it is refused, a function of executing an installation process of the software to be installed when it is determined that installation is possible, and updating the resource related information based on the execution result; Has been provided for causing the computer apparatus to execute the program. (See Patent Document 1).

例えば、新規にソフトウェアをインストールする時は、図3のように、外部記憶媒体に格納されているソフトウェアモジュールと、アンインストーラを、インストーラと呼ばれるインストールプログラムによって、コンピュータ装置に対して、各モジュールのコピーや、システムに対する登録処理などのインストール処理が行われる。   For example, when newly installing software, as shown in FIG. 3, a software module stored in an external storage medium and an uninstaller are copied to a computer device by an installation program called an installer. In addition, installation processing such as registration processing for the system is performed.

インストール後は、コンピュータ装置内には、ソフトウェアモジュール及びアンインストーラがコピーされており、また、どのモジュールがコピーされ、システムに対してどのような登録が行われたのかを記録するアンインストール情報ファイルを作成する。   After installation, software modules and uninstallers have been copied into the computer device, and an uninstall information file that records which modules have been copied and what registration has been made to the system has been recorded. create.

また、ソフトウェアによっては、新規インストール後、上書きインストールを行う場合、既にインストールされているソフトウェアを、一旦、アンインストール後、インストールを行う方法がある。   Further, depending on the software, there is a method in which when already performing an overwrite installation after a new installation, the already installed software is once uninstalled and then installed.

図4は、前記上書きインストール時の従来例を説明するフローチャートである。   FIG. 4 is a flowchart for explaining a conventional example at the time of the overwrite installation.

インストーラと呼ばれるインストールプログラムが実行されると、ステップS201にて、ソフトウェアを紹介する「ようこそ」画面を表示する。   When an installation program called an installer is executed, a “Welcome” screen for introducing software is displayed in step S201.

次に、ステップS202にて、「使用許諾契約書」画面を表示し、使用許諾契約書を表示する。   Next, in step S202, the “use license agreement” screen is displayed, and the use license agreement is displayed.

ステップS203にて、ユーザが契約書に同意しなければ、インストールプログラムは終了し、インストール処理は行われない。   If the user does not agree to the contract in step S203, the installation program ends and no installation process is performed.

ユーザが契約書に同意すれば、インストールプログラムは、ステップS204にて、既に同じソフトウェアがインストールされているかどうかを確認する。   If the user agrees to the contract, the installation program confirms in step S204 whether the same software has already been installed.

もし、同じソフトウェアがインストールされていなければ、新規インストール処理となるので、ステップS208にてインストール処理が行われる。   If the same software is not installed, a new installation process is performed, and the installation process is performed in step S208.

既に同じソフトウェアがインストールされていれば、ステップS205にて、そのバージョンを確認し、同じか新しいバージョンであれば、インストールする必要はないので、インストールプログラムは終了する。   If the same software has already been installed, the version is confirmed in step S205, and if it is the same or a new version, there is no need to install it, so the installation program ends.

もし、旧バージョンのソフトウェアが既にインストールされていれば、バージョンアップするために、旧バージョンソフトウェアを一旦アンインストールし、その後、新しいバージョンのソフトウェアをインストールする。   If the old version of the software is already installed, the old version of the software is once uninstalled and then the new version of the software is installed in order to upgrade the version.

そこでステップS206で、旧バージョンのソフトウェアをアンインストールするために、インストールプログラムは、アンインストーラと呼ばれるアンインストール処理を行うプログラムを実行する。   Therefore, in step S206, in order to uninstall the old version of the software, the installation program executes a program for performing an uninstall process called an uninstaller.

インストーラは、ステップS207でアンインストーラの処理が終了するのを待ち、アンインストール処理が完了したら、ステップS208にて、本来のインストール処理を行う。   The installer waits for the uninstaller process to end in step S207. When the uninstall process is completed, the installer performs the original installation process in step S208.

以上のフローにより、旧バージョンがアンインストールされ、新バージョンがインストールされ、その結果、旧バージョンからバージョンアップが行われたように見せることができていた。
特開2004−252633号公報
According to the above flow, the old version was uninstalled, the new version was installed, and as a result, it was possible to make it appear that the version was upgraded from the old version.
JP 2004-252633 A

しかしながら、前記従来例では、新しい機能を備えた、新しいアンインストーラを持つ新しいソフトウェアをインストールする場合であっても、図4のステップS206で実行されるアンインストーラは、古いバージョンのアンインストーラであるため、新しい機能を使用することができないという問題があった。   However, in the conventional example, even when new software having a new uninstaller having a new function is installed, the uninstaller executed in step S206 in FIG. 4 is an old version of the uninstaller. There was a problem that new functions could not be used.

例えば、アンインストーラ実行時、アンインストーラが常にメッセージを表示していたとして、新しいバージョンではそのメッセージの内容を変えたり、表示しないように要求があったとしても、新しいインストールセットで一度インストールしない限り、アンインストーラが置き換わらないので、図4のステップS206で実行されるアンインストーラは古いアンインストールプログラムとなり、要求を満たすことができなかった。   For example, if the uninstaller always displays a message when the uninstaller is executed, the new version will change the content of the message or request not to display it unless it is installed once with a new installation set. Since the uninstaller is not replaced, the uninstaller executed in step S206 in FIG. 4 is an old uninstall program, and the request cannot be satisfied.

また、前記従来例では、アンインストール対象ソフトウェアはインストールしようとしているソフトウェアのみであり、例えばインストールするソフトウェアが複数のソフトウェアを統合した別名のソフトウェアである場合は、複数の別名の旧バージョンのソフトウェアを、前記新しい統合ソフトウェアインストーラがアンインストールすることができなかった。   Further, in the conventional example, the software to be uninstalled is only software to be installed. For example, when the software to be installed is software of an alias obtained by integrating a plurality of software, the old versions of the software having a plurality of aliases, The new integrated software installer could not be uninstalled.

本発明は上記の問題を解決するため、アンインストール処理を変更する必要がある場合は、インストール済みのソフトウェアにおけるアンインストーラを新規モジュールに置き換え、このモジュールを使用してアンインストール処理を実行する。   In order to solve the above problem, the present invention replaces the uninstaller in the installed software with a new module and executes the uninstall process using this module when the uninstall process needs to be changed.

また、インストールするソフトウェアが、別の複数のソフトウェアを統合したものであった場合には、統合ソフトウェアインストーラのインストール情報ファイルに、統合前の複数のソフトウェアの情報を記載することで、複数の旧ソフトウェアのすべてアンインストール処理を実行する。   In addition, if the software to be installed is a combination of multiple pieces of other software, the information about multiple pieces of software prior to the integration is described in the installation information file of the integrated software installer. Execute the uninstall process for all of.

適切にインストールを制御する。   Properly control the installation.

以下、図面を参照しながら本発明の実施例を説明する。   Embodiments of the present invention will be described below with reference to the drawings.

図1は、本発明の第1実施形態を示す画像編集装置を適用可能な画像形成システムの構成例を示すブロック構成図である。   FIG. 1 is a block diagram showing a configuration example of an image forming system to which the image editing apparatus according to the first embodiment of the present invention can be applied.

図に示すように、本実施形態における画像形成システムでは、印刷データ(制御コマンドを含む、以下において同じ)を生成する情報処理装置100と、その印刷データに基づいて画像を形成するプリンタ170とで構成される。   As shown in the figure, in the image forming system according to the present embodiment, an information processing apparatus 100 that generates print data (including control commands, the same applies below) and a printer 170 that forms an image based on the print data. Composed.

情報処理装置100は、メモリ110、CPU130、ハードディスク・コントローラ(HDC)120、ハードディスク(HD)121、フロッピー(登録商標)ディスク・コントローラ(FDC)125、フロッピー(登録商標)ディスクドライブ(FD)126、プリンタ・コントローラ(PRTC)140、キーボード・コントローラ(KBC)150、キーボード(KB)151、CRTコントローラ(CRTC)160、CRT161を備える。   The information processing apparatus 100 includes a memory 110, a CPU 130, a hard disk controller (HDC) 120, a hard disk (HD) 121, a floppy (registered trademark) disk controller (FDC) 125, a floppy (registered trademark) disk drive (FD) 126, A printer controller (PRTC) 140, a keyboard controller (KBC) 150, a keyboard (KB) 151, a CRT controller (CRTC) 160, and a CRT 161 are provided.

メモリ110は、例えば、HD121からロードされた本発明における画像編集の処理を司るアプリケーション111、プリンタ170に対応する印刷データを生成するためのソフトウェアであるプリンタドライバ112、プリンタ170に供給すべき印刷データをスプールするスプーラ領域113、その他不図示のOS(オペレーティングシステム)やワーク領域等を有する。   The memory 110 is, for example, an application 111 that manages image editing processing in the present invention loaded from the HD 121, a printer driver 112 that is software for generating print data corresponding to the printer 170, and print data to be supplied to the printer 170. A spooler area 113 for spooling, an OS (operating system) (not shown), a work area, and the like.

CPU130は、メモリ110内のアプリケーション111、プリンタドライバ112、OS等に基づいて動作するが、電源投入時は不図示のROMによりブートし、HD121からOSのメモリ110にロードした後、アプリケーションプログラムも同様にロードすることで画像形成システムとして機能する。また、当然のことながら、CPU130は、HDC120を介してHD121にアクセスすることができる。   The CPU 130 operates based on the application 111, the printer driver 112, the OS, and the like in the memory 110. When the power is turned on, the CPU 130 boots with a ROM (not shown) and loads the application program from the HD 121 to the OS memory 110. To function as an image forming system. Of course, the CPU 130 can access the HD 121 via the HDC 120.

PRTC140は、スプーラ領域113に蓄えられた印刷データを順次プリンタ170に送信する処理を行なう。KBC150は、KB151を制御し、ユーザからの指示データを装置内に取り込む。CRTC160は、表示装置であるCRT161を制御するコントローラである。これらのブロック150、151、160、161等は、ユーザインターフェースを構成するが、例えば、ポインティング・デバイス等の他のブロックをさらに備えても良い。   The PRTC 140 performs processing for sequentially transmitting the print data stored in the spooler area 113 to the printer 170. The KBC 150 controls the KB 151 and takes in instruction data from the user into the apparatus. The CRTC 160 is a controller that controls the CRT 161 that is a display device. These blocks 150, 151, 160, 161 and the like constitute a user interface, but may further include other blocks such as a pointing device, for example.

また、プリンタ170には、情報処理装置100から印刷データを受信するため、及び各種ステータスを情報処理装置100に通知するためのインターフェース171、主として受信したプリンタデータを解釈し、ビットマップイメージデータを発生するプリンタ制御部172、プリンタ制御部172から出力されてきたビットマップイメージデータを受け、実際に画像を形成するプリンタエンジン173で構成される。なお、図示してはいないが操作パネル等も具備している。   The printer 170 receives the print data from the information processing apparatus 100 and an interface 171 for notifying the information processing apparatus 100 of various statuses, mainly interprets the received printer data and generates bitmap image data. The printer controller 172 and the printer engine 173 that receives the bitmap image data output from the printer controller 172 and actually forms an image. Although not shown, an operation panel and the like are also provided.

さて、上記の構成において、情報処理装置100にプリンタ170を接続した際には、その最初の段階ではプリンタ170に対応するプリンタデータを生成するためのプリンタドライバを情報処理装置100にインストールする必要がある。言うまでもないが、このインストールは、格別の理由がない限りは、通常は一度行なえば事足りるものである。   In the above configuration, when the printer 170 is connected to the information processing apparatus 100, it is necessary to install a printer driver for generating printer data corresponding to the printer 170 in the information processing apparatus 100 at the first stage. is there. Needless to say, this installation usually only needs to be done once unless there is a specific reason.

図2は、本発明のアンインストーラ置換え処理手順を示すフローチャートである。   FIG. 2 is a flowchart showing the uninstaller replacement processing procedure of the present invention.

なお、このフローチャートの処理は、図1に示したCPU130によりHD121に格納されメモリ110上にロードされたプログラムに基づいて実行されるものとする。また、S101〜S110は各ステップを示す。   Note that the processing in this flowchart is executed based on a program stored in the HD 121 and loaded onto the memory 110 by the CPU 130 shown in FIG. S101 to S110 indicate each step.

以下、このフローチャートに従って、説明していく。   Hereinafter, description will be given according to this flowchart.

インストーラと呼ばれるインストールプログラムが実行されると、ステップS101にて、ソフトウェアを紹介する「ようこそ」画面を表示する。   When an installation program called an installer is executed, a “Welcome” screen for introducing software is displayed in step S101.

この「ようこそ」画面は、他のソフトウェアと連続してインストール処理を行うなどで不要な場合は、表示しない。   This “Welcome” screen is not displayed if it is not necessary, for example, by performing an installation process continuously with other software.

次に、ステップS102にて、「使用許諾契約書」画面を表示し、使用許諾契約書を表示する。   Next, in step S102, the “use license agreement” screen is displayed, and the use license agreement is displayed.

この「使用許諾契約書」に関しても、複数のソフトウェアを連続してインストールする場合は、最初に1度だけ表示すればよいので、このステップS102にて、必ず表示されるものではない。   This “license agreement” is not always displayed in step S102, since it is only necessary to display it once when installing a plurality of software continuously.

ステップS103にて、ユーザが契約書に同意しなければ、インストールプログラムは終了し、インストール処理は行われない。   If the user does not agree to the contract in step S103, the installation program ends and the installation process is not performed.

ユーザが契約書に同意すれば、インストールプログラムは、ステップS104にて、既に同じソフトウェアがインストールされているかどうかを確認する。   If the user agrees with the contract, the installation program confirms in step S104 whether the same software has already been installed.

もし、同じソフトウェアがインストールされていなければ、新規インストール処理となるので、ステップS110にてインストール処理が行われる。   If the same software is not installed, a new installation process is performed, and the installation process is performed in step S110.

既に同じソフトウェアがインストールされていれば、ステップS105にて、そのバージョンを確認し、同じか新しいバージョンであれば、インストールする必要はないので、インストールプログラムは終了する。   If the same software has already been installed, the version is confirmed in step S105, and if it is the same or a new version, there is no need to install it, so the installation program ends.

ステップS105にて、既にインストールされているソフトウェアが旧バージョンであった場合は、ステップS106にて、インストール先のアンインストーラが置き換え対象かどうかを確認し、置き換え対象であれば、ステップS107で新規機能を備えたアンインストーラ関連モジュールをコピーし、ステップS108にて、前記新規機能を備えたアンインストーラを実行する。   If the already installed software is an old version in step S105, it is checked in step S106 whether the uninstaller at the installation destination is a replacement target. In step S108, the uninstaller module having the new function is executed.

ステップS106にて、アンインストーラのバージョンが既に新しくなっているなど、置き換え対象ではないアンインストーラであれば、アンインストーラ関連モジュールを置き換えることなしに、ステップS108にてアンインストーラを実行する。   In step S106, if the uninstaller is not a replacement target, such as the version of the uninstaller already updated, the uninstaller is executed in step S108 without replacing the uninstaller-related module.

インストーラは、ステップS109でアンインストーラの処理が終了するのを待ち、アンインストール処理が完了したら、ステップS110にて、ソフトウェアをインストールすべく、インストール処理を行う。   The installer waits for the uninstaller process to end in step S109. When the uninstall process is completed, the installer performs an installation process to install software in step S110.

置き換えるアンインストーラが、新規バージョンのアンインストーラと共通で使用できない場合は、新規バージョンのインストールセットの中にバージョンアップ対象ソフトウェア用アンインストーラを別に保持してもよい。   If the uninstaller to be replaced cannot be used in common with the new version of the uninstaller, the uninstaller for the upgrade target software may be separately stored in the installation set of the new version.

また、同様の置き換えが必要な複数のソフトウェアを同時にインストールする場合も、バージョンアップ対象ソフトウェア用アンインストーラを別に保持してもよい。   Also, when a plurality of pieces of software that require similar replacement are installed at the same time, a version upgrade target software uninstaller may be kept separately.

具体的には、図2のステップS107でコピーを実行する時の、コピー元のアンインストーラ関連ファイルを、外部記憶媒体の、インストールセットとは別の領域に格納してもよい。   Specifically, the copy-source uninstaller-related file at the time of executing the copy in step S107 in FIG. 2 may be stored in an area other than the installation set on the external storage medium.

図5は、本発明の複数の旧ソフトウェアをアンインストールする処理手順を示すフローチャートである。   FIG. 5 is a flowchart showing a processing procedure for uninstalling a plurality of old software according to the present invention.

なお、このフローチャートの処理は、図1に示したCPU130によりHD121に格納されメモリ110上にロードされたプログラムに基づいて実行されるものとする。また、S301〜S309は各ステップを示す。   Note that the processing in this flowchart is executed based on a program stored in the HD 121 and loaded onto the memory 110 by the CPU 130 shown in FIG. S301 to S309 indicate each step.

以下、このフローチャートに従って、説明していく。   Hereinafter, description will be given according to this flowchart.

まず、インストーラと呼ばれるインストールプログラムが実行されると、ステップS301で、インストールプログラムは、コピーするファイル情報などを取得するため、インストール情報ファイルを読み込む。   First, when an installation program called an installer is executed, in step S301, the installation program reads an installation information file in order to acquire file information to be copied.

インストール情報ファイルの構成は、図6に示すような構成になっている。   The configuration of the installation information file is as shown in FIG.

図6のように、インストール情報ファイルには、ソフトウェアをインストールするためのコピーするファイル情報などが記載されているが、その中に、アンインストールしたいソフトウェアを記述する。   As shown in FIG. 6, in the installation information file, file information to be copied for installing the software is described, and the software to be uninstalled is described therein.

アンインストール対象ソフトウェアは、アンインストール対象ソフトウェアであることを示すコードを付加すれば、いくつでも記述することができる。   The uninstall target software can be described in any number by adding a code indicating that it is the uninstall target software.

その内容は、アンインストール対象となるソフトウェアの場所を検索するための「実行モジュール名」、「XXXに対して上書きしますか?」メッセージのXXXに挿入するための「プログラム名」、アンインストール対象ソフトウェアが起動しているかどうかを確認するための「ウィンドウのクラス名」、前記「XXXに対して上書きしますか?」メッセージを表示するかどうかを選択できるスイッチ、などが記載されている。   The contents are “Execution module name” to search for the location of the software to be uninstalled, “Program name” to be inserted into XXX of “Do you want to overwrite XXX?” Message, Uninstall target A “window class name” for confirming whether or not the software is running, a switch for selecting whether or not to display the “Do you want to overwrite XXX?” Message, and the like are described.

ステップS301でインストール情報ファイルの読み込みが完了すると、ステップS302で、アンインストール対象ソフトウェアがあるかどうかを確認する。   When the reading of the installation information file is completed in step S301, it is confirmed in step S302 whether there is software to be uninstalled.

アンインストール対象ソフトウェアが存在しなければ、ステップS309にて、通常通りのインストール処理を実行する。   If there is no software to be uninstalled, a normal installation process is executed in step S309.

アンインストール対象ソフトウェアが存在すれば、それが既にインストールされているかどうかをステップS303で確認する。   If there is software to be uninstalled, it is confirmed in step S303 whether it has already been installed.

既にアンインストールされているなどで、インストールされていなければ、ステップS302に戻り、次にアンインストールすべきソフトウェアがあるかどうかを確認する。   If it has already been uninstalled, for example, if it has not been installed, the process returns to step S302 to check whether there is software to be uninstalled next.

ステップS303でアンインストール対象ソフトウェアがインストールされていれば、ステップS304にて、上書きをしてよいかどうかを確認するための確認メッセージを表示する。   If the uninstallation target software is installed in step S303, a confirmation message for confirming whether or not overwriting is allowed is displayed in step S304.

このメッセージは、前記説明したように、インストール情報ファイルに表示の有無を記述することができる。   As described above, this message can describe the presence or absence of display in the installation information file.

ステップS304で表示したメッセージに対して、上書きしない場合は、次のアンインストール対象ソフトウェアを確認するために、ステップS302に戻る。   If the message displayed in step S304 is not overwritten, the process returns to step S302 to confirm the next software to be uninstalled.

上書きする場合は、ステップS306でアンインストーラが置き換え対象かを確認して、置き換え対象であれば、ステップS307で新規機能を備えたアンインストーラ関連モジュールをコピーし、ステップS308にて、前記新規機能を備えたアンインストーラを実行する。   When overwriting, it is confirmed in step S306 whether the uninstaller is a replacement target. If it is a replacement target, an uninstaller-related module having a new function is copied in step S307, and the new function is updated in step S308. Run the provided uninstaller.

ステップS306にて、アンインストーラのバージョンが既に新しくなっているなど、置き換え対象ではないアンインストーラであれば、アンインストーラ関連モジュールを置き換えることなしに、ステップS308にてアンインストーラを実行する。   In step S306, if the uninstaller is not the replacement target, such as the version of the uninstaller already updated, the uninstaller is executed in step S308 without replacing the uninstaller related module.

インストーラは、ステップS309でアンインストーラの処理が終了するのを待ち、アンインストール処理が完了したら、次のアンインストール対象ソフトウェアを確認するために、ステップS302に戻る。   The installer waits for the uninstaller process to end in step S309. When the uninstall process is completed, the installer returns to step S302 to confirm the next software to be uninstalled.

ステップS302で、すべてのアンインストール対象のソフトウェアをアンインストールし終えたら、ステップS310にて、通常のインストール処理である、ファイルのコピーや、システムに対しての登録処理を行う。   In step S302, when all the software to be uninstalled has been uninstalled, in step S310, file copying and registration processing with the system, which are normal installation processing, are performed.

[他の実施の形態]
本発明の目的は前述したように、実施例の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体をシステム或は装置に提供し、そのシステム或は装置のコンピュータ(又はCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても達成される。この場合、記憶媒体から読み出されたプログラムコードもしくはプログラム中で所定の機能を実行させるモジュール自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。このようなプログラムコードを供給するための記憶媒体としては、例えば、フロッピィ(登録商標)ディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM,CD−R、磁気テープ、不揮発性のメモリカード、ROMなどを用いることができる。
[Other embodiments]
As described above, the object of the present invention is to provide a system or apparatus with a storage medium storing software program codes for realizing the functions of the embodiments, and the system or apparatus computer (or CPU or MPU) stores the storage medium. It is also achieved by reading and executing the program code stored on the medium. In this case, the program code read from the storage medium or the module that executes a predetermined function in the program itself realizes the function of the above-described embodiment, and the storage medium storing the program code does not include the present invention. Will be composed. As a storage medium for supplying such a program code, for example, a floppy (registered trademark) disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, magnetic tape, nonvolatile memory card, ROM Etc. can be used.

また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施の形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(オペレーティングシステム)などが実際の処理の一部又は全部を行い、その処理によって前述した実施例の機能が実現される場合も含まれる。   Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) running on the computer based on the instruction of the program code Includes a case where part or all of the actual processing is performed and the functions of the above-described embodiments are realized by the processing.

更に、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書きこまれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部又は全部を行い、その処理によって前述した実施例の機能が実現される場合も含む。   Furthermore, after the program code read from the storage medium is written in the memory provided in the function expansion board inserted into the computer or the function expansion unit connected to the computer, the function is determined based on the instruction of the program code. This includes a case where the CPU or the like provided in the expansion board or function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.

(他の実施形態)
本実施形態における各図に示す処理が、外部からインストールされるプログラムによって、PC、等により遂行される。そして、その場合、CD−ROMやフラッシュメモリやFD等の記憶媒体により、あるいはネットワークを介して外部の記憶媒体から、プログラムを含む情報群をホストコンピュータに供給される場合でも本発明は適用されるものである。
(Other embodiments)
The processing shown in each drawing in this embodiment is performed by a PC or the like by a program installed from the outside. In this case, the present invention is applied even when an information group including a program is supplied to a host computer from a storage medium such as a CD-ROM, a flash memory, or an FD, or from an external storage medium via a network. Is.

以上のように、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システムあるいは装置に供給し、又は、外部サーバ(図示省略)からダウンロードすることで、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読出し実行することによっても、本発明の目的が達成されることは言うまでもない。   As described above, the system or apparatus can be obtained by supplying the storage medium storing the program code of the software that implements the functions of the above-described embodiments to the system or apparatus, or downloading the storage medium from an external server (not shown). It goes without saying that the object of the present invention can also be achieved by the computer (or CPU or MPU) reading and executing the program code stored in the storage medium.

この場合、記憶媒体から読み出されたプログラムコード自体が本発明の新規な機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。プログラムコードを供給するための記憶媒体としては、たとえば、フロッピィーディスク、ハードディスク、光ディスク、光磁気ディスク、DVD、CD−ROM、磁気テープ、不揮発性のメモリカード、ROM、EEPROM等を用いることができる。   In this case, the program code itself read from the storage medium realizes the novel function of the present invention, and the storage medium storing the program code constitutes the present invention. As a storage medium for supplying the program code, for example, a floppy disk, hard disk, optical disk, magneto-optical disk, DVD, CD-ROM, magnetic tape, nonvolatile memory card, ROM, EEPROM, or the like can be used.

また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) or the like running on the computer based on the instruction of the program code. It goes without saying that a case where the function of the above-described embodiment is realized by performing part or all of the actual processing and the processing is included. Further, after the program code read from the storage medium is written to a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. It goes without saying that the case where the CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.

ソフトウェアをコンピュータ装置にインストールするプログラムにおいて、既に同じソフトウェアがインストールされているかどうかを判定する。そして、判定した結果、既に同じソフトウェアがインストールされていた場合に、インストールされているソフトウェアのバージョンを取得する。そして、外部記憶媒体内に格納されているインストール対象のソフトウェアのバージョンを取得する。そして、取得した両者のバージョンから、前記既にインストールされているソフトウェアが旧バージョンか否かを判定する。そして、旧バージョンであった場合に、アンインストール関連モジュールを置き換える。そして、アンインストール関連モジュールを置き換え後、アンインストールプログラムを実行する。そして、ソフトウェアアンインストール後、外部記憶媒体内に格納されているインストール対象ソフトウェアをコンピュータ装置にインストールする。   In a program for installing software on a computer device, it is determined whether or not the same software is already installed. If the same software has already been installed as a result of the determination, the version of the installed software is acquired. Then, the version of the software to be installed stored in the external storage medium is acquired. Then, it is determined from the acquired versions whether or not the already installed software is an old version. Then, if it is an old version, the module related to uninstallation is replaced. Then, after the uninstall related module is replaced, the uninstall program is executed. Then, after the software is uninstalled, the installation target software stored in the external storage medium is installed in the computer device.

ソフトウェアをコンピュータ装置にインストールするプログラムであって、既に同じソフトウェアがインストールされているかどうかを判定するモジュールが開示される。   A program for installing software on a computer device for determining whether the same software is already installed is disclosed.

判定した結果、既に同じソフトウェアがインストールされていた場合に、インストールされているソフトウェアのバージョンを取得するモジュールが開示される。   As a result of the determination, when the same software has already been installed, a module for obtaining the version of the installed software is disclosed.

外部記憶媒体内に格納されているインストール対象のソフトウェアのバージョンを取得するモジュールが開示される。さらに、取得した両者のバージョンから、前記既にインストールされているソフトウェアが旧バージョンか否かを判定するモジュールが開示される。旧バージョンであった場合に、アンインストール関連モジュールを置き換えるモジュールが開示される。さらに、アンインストール関連モジュールを置き換え後、アンインストールプログラムを実行するモジュールが開示される。ソフトウェアアンインストール後、外部記憶媒体内に格納されているインストール対象ソフトウェアをコンピュータ装置にインストールするモジュールが開示される。   A module for obtaining a version of software to be installed stored in an external storage medium is disclosed. Furthermore, a module for determining whether or not the already installed software is an old version from both the acquired versions is disclosed. A module that replaces an uninstall-related module when it is an old version is disclosed. Further, a module for executing an uninstall program after replacing an uninstall related module is disclosed. A module that installs software to be installed, which is stored in an external storage medium, in a computer device after software uninstallation is disclosed.

インストール方法をコンピュータに実行させるためのプログラムを格納する記憶媒体が開示される。   A storage medium storing a program for causing a computer to execute the installation method is disclosed.

さらに、ソフトウェアをコンピュータ装置にインストールするプログラムが開示される。   Furthermore, a program for installing software on a computer device is disclosed.

インストール実行時に、インストール情報ファイルから情報を読み込む工程と、
前記読み込んだ情報ファイルから、アンインストール対象のソフトウェアの情報を取得する。そして、アンインストール対象のソフトウェアが既にインストールされているかを判定する。さらに、アンインストール対象のソフトウェアが、既にインストールされていた場合に、アンインストールしてよいか否かを確認するためのメッセージを表示する。さらに、アンインストール処理を行う場合に、アンインストール関連モジュールを置き換える。さらに、アンインストール関連モジュールを置き換え後、アンインストールプログラムを実行する。さらに、ソフトウェアアンインストール後、外部記憶媒体内に格納されているインストール対象ソフトウェアをコンピュータ装置にインストールする。
At the time of installation execution, the process of reading information from the installation information file,
Information on the software to be uninstalled is acquired from the read information file. Then, it is determined whether the software to be uninstalled has already been installed. Further, when the software to be uninstalled has already been installed, a message for confirming whether or not to uninstall can be displayed. Further, when an uninstall process is performed, an uninstall related module is replaced. Further, after the uninstall related module is replaced, the uninstall program is executed. Further, after the software is uninstalled, the installation target software stored in the external storage medium is installed in the computer device.

インストール実行時に、インストール情報ファイルから情報を読み込むモジュールと、
前記読み込んだ情報ファイルから、アンインストール対象のソフトウェアの情報を取得するモジュールが開示される。
A module that reads information from the installation information file during installation,
A module for acquiring information on software to be uninstalled from the read information file is disclosed.

前記アンインストール対象のソフトウェアが既にインストールされているかを判定する判定モジュールが開示される。   A determination module for determining whether the software to be uninstalled is already installed is disclosed.

前記アンインストール対象のソフトウェアが、既にインストールされていた場合に、アンインストールしてよいか否かを確認するためのメッセージを表示するモジュールが開示される。   A module is disclosed that displays a message for confirming whether or not to uninstall if the software to be uninstalled has already been installed.

前記アンインストール処理を行う場合に、アンインストール関連モジュールを置き換えるモジュールが開示される。   A module that replaces an uninstall-related module when performing the uninstall process is disclosed.

アンインストール関連モジュールを置き換え後、アンインストールプログラムを実行するモジュールが開示される。   A module for executing an uninstall program after replacing an uninstall related module is disclosed.

ソフトウェアアンインストール後、外部記憶媒体内に格納されているインストール対象ソフトウェアをコンピュータ装置にインストールするモジュールとを有することを特徴とするインストールプログラムが開示される。   An installation program comprising: a module for installing software to be installed, which is stored in an external storage medium, in a computer device after software uninstallation is disclosed.

実施形態におけるシステムのブロック構成図である。It is a block block diagram of the system in an embodiment. 実施形態におけるインストールプログラムの処理内容を示すフローチャートである。It is a flowchart which shows the processing content of the installation program in embodiment. 従来技術におけるインストール処理を説明する説明図である。It is explanatory drawing explaining the installation process in a prior art. 従来技術におけるインストールプログラムの処理内容を示すフローチャートである。It is a flowchart which shows the processing content of the installation program in a prior art. 実施形態におけるインストールプログラムの処理内容を示すフローチャートである。It is a flowchart which shows the processing content of the installation program in embodiment. インストール情報ファイルを説明する説明図である。It is explanatory drawing explaining an installation information file.

符号の説明Explanation of symbols

100 情報処理装置
110 メモリ
111 アプリケーション
112 プリンタドライバ
113 スプーラ領域
120 ハードディスクコントローラ
121 ハードディスク
125 フロッピー(登録商標)ディスクコントローラ
126 フロッピー(登録商標)ディスク
130 CPU
140 プリンタコントロール
150 キーボードコントローラ
151 キーボード
160 CRTコントローラ
161 CRT
170 プリンタ
171 インターフェース
172 プリンタ制御部
173 プリンタエンジン
DESCRIPTION OF SYMBOLS 100 Information processing apparatus 110 Memory 111 Application 112 Printer driver 113 Spooler area 120 Hard disk controller 121 Hard disk 125 Floppy (registered trademark) disk controller 126 Floppy (registered trademark) disk 130 CPU
140 Printer Control 150 Keyboard Controller 151 Keyboard 160 CRT Controller 161 CRT
170 Printer 171 Interface 172 Printer Control Unit 173 Printer Engine

Claims (6)

ソフトウェアをコンピュータ装置にインストールするプログラムにおいて、
既に同じソフトウェアがインストールされているかどうかを判定する判定工程と、
前記判定した結果、既に同じソフトウェアがインストールされていた場合に、インストールされているソフトウェアのバージョンを取得する工程と、
外部記憶媒体内に格納されているインストール対象のソフトウェアのバージョンを取得する工程と、
前記取得した両者のバージョンから、前記既にインストールされているソフトウェアが旧バージョンか否かを判定する工程と、
旧バージョンであった場合に、アンインストール関連モジュールを置き換える工程と、
アンインストール関連モジュールを置き換え後、アンインストールプログラムを実行する工程と、
ソフトウェアアンインストール後、外部記憶媒体内に格納されているインストール対象ソフトウェアをコンピュータ装置にインストールする工程とを有することを特徴とするインストール方法。
In a program for installing software on a computer device,
A determination step of determining whether the same software is already installed;
As a result of the determination, if the same software has already been installed, obtaining the version of the installed software;
Obtaining a version of software to be installed stored in an external storage medium;
A step of determining whether or not the already installed software is an old version from both of the acquired versions;
If it was an older version, replace the uninstall related module,
After replacing the uninstall related modules, executing the uninstall program;
And a step of installing the software to be installed stored in the external storage medium in the computer device after the software is uninstalled.
ソフトウェアをコンピュータ装置にインストールするプログラムであって、
既に同じソフトウェアがインストールされているかどうかを判定するモジュールと、
前記判定した結果、既に同じソフトウェアがインストールされていた場合に、インストールされているソフトウェアのバージョンを取得するモジュールと、
外部記憶媒体内に格納されているインストール対象のソフトウェアのバージョンを取得するモジュールと、
前記取得した両者のバージョンから、前記既にインストールされているソフトウェアが旧バージョンか否かを判定するモジュールと、
旧バージョンであった場合に、アンインストール関連モジュールを置き換えるモジュールと、
アンインストール関連モジュールを置き換え後、アンインストールプログラムを実行するモジュールと、
ソフトウェアアンインストール後、外部記憶媒体内に格納されているインストール対象ソフトウェアをコンピュータ装置にインストールするモジュールとを有することを特徴とするインストールプログラム。
A program for installing software on a computer device,
A module that determines whether the same software is already installed,
As a result of the determination, if the same software has already been installed, a module that acquires the version of the installed software;
A module for obtaining the version of software to be installed stored in an external storage medium;
A module for determining whether the already installed software is an old version from the both acquired versions;
A module that replaces the uninstall-related module if it was an older version,
After replacing the uninstall related modules, a module that executes the uninstall program,
An installation program comprising: a module for installing software to be installed, which is stored in an external storage medium, into a computer device after software uninstallation.
請求項1のインストール方法をコンピュータに実行させるためのプログラムを格納する記憶媒体。   A storage medium storing a program for causing a computer to execute the installation method according to claim 1. ソフトウェアをコンピュータ装置にインストールするプログラムにおいて、
インストール実行時に、インストール情報ファイルから情報を読み込む工程と、
前記読み込んだ情報ファイルから、アンインストール対象のソフトウェアの情報を取得する工程と、
前記アンインストール対象のソフトウェアが既にインストールされているかを判定する判定工程と、
前記アンインストール対象のソフトウェアが、既にインストールされていた場合に、アンインストールしてよいか否かを確認するためのメッセージを表示する工程と、
前記アンインストール処理を行う場合に、アンインストール関連モジュールを置き換える工程と、
アンインストール関連モジュールを置き換え後、アンインストールプログラムを実行する工程と、
ソフトウェアアンインストール後、外部記憶媒体内に格納されているインストール対象ソフトウェアをコンピュータ装置にインストールする工程とを有することを特徴とするインストール方法。
In a program for installing software on a computer device,
At the time of installation execution, the process of reading information from the installation information file,
Obtaining information on the software to be uninstalled from the read information file;
A determination step of determining whether the software to be uninstalled is already installed;
A step of displaying a message for confirming whether or not the software to be uninstalled may be uninstalled when the software to be uninstalled has already been installed;
Replacing the uninstall related module when performing the uninstall process;
After replacing the uninstall related modules, executing the uninstall program;
And a step of installing the software to be installed stored in the external storage medium in the computer device after the software is uninstalled.
ソフトウェアをコンピュータ装置にインストールするプログラムにおいて、
インストール実行時に、インストール情報ファイルから情報を読み込むモジュールと、
前記読み込んだ情報ファイルから、アンインストール対象のソフトウェアの情報を取得するモジュールと、
前記アンインストール対象のソフトウェアが既にインストールされているかを判定する判定モジュールと、
前記アンインストール対象のソフトウェアが、既にインストールされていた場合に、アンインストールしてよいか否かを確認するためのメッセージを表示するモジュールと、
前記アンインストール処理を行う場合に、アンインストール関連モジュールを置き換えるモジュールと、
アンインストール関連モジュールを置き換え後、アンインストールプログラムを実行するモジュールと、
ソフトウェアアンインストール後、外部記憶媒体内に格納されているインストール対象ソフトウェアをコンピュータ装置にインストールするモジュールとを有することを特徴とするインストールプログラム。
In a program for installing software on a computer device,
A module that reads information from the installation information file during installation,
A module for obtaining information on the software to be uninstalled from the read information file;
A determination module for determining whether the software to be uninstalled is already installed;
A module for displaying a message for confirming whether or not the software to be uninstalled may be uninstalled when the software to be uninstalled has already been installed;
A module that replaces an uninstall-related module when performing the uninstall process;
After replacing the uninstall related modules, a module that executes the uninstall program,
An installation program comprising: a module for installing software to be installed, which is stored in an external storage medium, into a computer device after software uninstallation.
請求項3のインストール方法をコンピュータに実行させるためのプログラムを格納する記憶媒体。   A storage medium for storing a program for causing a computer to execute the installation method according to claim 3.
JP2007172293A 2007-06-29 2007-06-29 Information processing apparatus, information processing method, and control program Pending JP2009009494A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007172293A JP2009009494A (en) 2007-06-29 2007-06-29 Information processing apparatus, information processing method, and control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007172293A JP2009009494A (en) 2007-06-29 2007-06-29 Information processing apparatus, information processing method, and control program

Publications (1)

Publication Number Publication Date
JP2009009494A true JP2009009494A (en) 2009-01-15

Family

ID=40324484

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007172293A Pending JP2009009494A (en) 2007-06-29 2007-06-29 Information processing apparatus, information processing method, and control program

Country Status (1)

Country Link
JP (1) JP2009009494A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011053784A (en) * 2009-08-31 2011-03-17 Ntt Docomo Inc Communication terminal and application acquisition method
JP2011053785A (en) * 2009-08-31 2011-03-17 Ntt Docomo Inc Communication terminal and application acquisition method
WO2011158403A1 (en) * 2010-06-14 2011-12-22 株式会社ソニー・コンピュータエンタテインメント Information processing device
JP2019079111A (en) * 2017-10-20 2019-05-23 富士ゼロックス株式会社 Software management device, software management system and program

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011053784A (en) * 2009-08-31 2011-03-17 Ntt Docomo Inc Communication terminal and application acquisition method
JP2011053785A (en) * 2009-08-31 2011-03-17 Ntt Docomo Inc Communication terminal and application acquisition method
WO2011158403A1 (en) * 2010-06-14 2011-12-22 株式会社ソニー・コンピュータエンタテインメント Information processing device
JP2012003329A (en) * 2010-06-14 2012-01-05 Sony Computer Entertainment Inc Information processor
US9055128B2 (en) 2010-06-14 2015-06-09 Sony Corporation Information processing device
JP2019079111A (en) * 2017-10-20 2019-05-23 富士ゼロックス株式会社 Software management device, software management system and program
JP7043783B2 (en) 2017-10-20 2022-03-30 富士フイルムビジネスイノベーション株式会社 Software management equipment, software management systems and programs

Similar Documents

Publication Publication Date Title
CN103559052B (en) The apparatus and method for that firmware updates
JP5007046B2 (en) Maintaining component-based software products
JP5960005B2 (en) Image forming apparatus, application pre-installation method, and program
CN101124559B (en) Installation method and information processing device
JP2003084984A (en) Information processing apparatus, information processing method, control program, and storage medium storing control program
US8782636B2 (en) Information processing apparatus, control method thereof, and program
JP4810282B2 (en) Module installation method, module installation device, and program
US9086938B2 (en) Information processing apparatus, control method thereof, and storage medium
JP5132433B2 (en) Information processing apparatus, information processing method, storage medium, and program
US20040006766A1 (en) Method and apparatus for installing device driver
JP2009009494A (en) Information processing apparatus, information processing method, and control program
US8395787B2 (en) Information processing apparatus having customized driver, method of controlling the same, and medium storing control program
US7512833B1 (en) Universal imaging utility program
JP2009110089A (en) Information processing apparatus, application software installation method, installation processing program, and recording medium recording the installation processing program
JP2003058378A (en) Information processing apparatus, program installation method, storage medium, and program
CN103455288A (en) Information processing apparatus and control method
JP2009265877A (en) Electronic apparatus
JP5133230B2 (en) Information processing apparatus, information processing method, and program
JP5178319B2 (en) Application platform
JP2006011781A (en) Installation method, installation method, distribution device and program thereof
JP4788128B2 (en) Execution environment maintenance system, execution environment maintenance device, and execution environment maintenance method
JP5338610B2 (en) Information processing apparatus, information processing method, and program
JP2007041694A (en) How to upgrade the firmware
JP2006331256A (en) Information processing apparatus, installation processing method, storage medium, and program
JP3817499B2 (en) Information processing apparatus, control method, and control program

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20100201