JP7289940B2 - Program set, storage medium, and information processing method - Google Patents

Program set, storage medium, and information processing method Download PDF

Info

Publication number
JP7289940B2
JP7289940B2 JP2022002549A JP2022002549A JP7289940B2 JP 7289940 B2 JP7289940 B2 JP 7289940B2 JP 2022002549 A JP2022002549 A JP 2022002549A JP 2022002549 A JP2022002549 A JP 2022002549A JP 7289940 B2 JP7289940 B2 JP 7289940B2
Authority
JP
Japan
Prior art keywords
installer
application software
installation process
information processing
shortcut
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.)
Active
Application number
JP2022002549A
Other languages
Japanese (ja)
Other versions
JP2022036206A (en
Inventor
洋 布施
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
Priority claimed from JP2017171179A external-priority patent/JP7013176B2/en
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2022002549A priority Critical patent/JP7289940B2/en
Publication of JP2022036206A publication Critical patent/JP2022036206A/en
Application granted granted Critical
Publication of JP7289940B2 publication Critical patent/JP7289940B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、アプリケーションソフトウェアをインストールするためのプログラム、情報処理装置、及び制御方法に関する。 The present invention relates to a program, an information processing apparatus, and a control method for installing application software.

近年、アプリケーションソフトウェアの大規模・複雑化に伴い、1つのアプリケーションソフトウェアを動作させるために複数のインストーラを正しい手順で実行する必要のある製品が増えてきた。しかしながら、ITリテラシーの低いユーザにとって正しい手順でインストーラを実行することは必ずしも容易なことではない。 In recent years, as application software has become larger and more complex, there has been an increase in the number of products that require multiple installers to be executed in the correct order in order to operate one piece of application software. However, it is not necessarily easy for users with low IT literacy to execute the installer in the correct order.

そこで特許文献1には、サーバーコンピュータにおいて、複数のソフトウェアをインストールする際のインストール順によるコンフリクトチェック(整合性確認)を実施することが記載されている。特許文献1によれば、ユーザはインストーラの実行順序を意識することなく所望のアプリケーションソフトウェアがインストールできるようになる。 Therefore, Japanese Patent Application Laid-Open No. 2002-200000 describes that a server computer performs a conflict check (consistency check) according to the installation order when installing a plurality of pieces of software. According to Patent Document 1, a user can install desired application software without being aware of the execution order of installers.

特開2012-48410号公報JP 2012-48410 A

しかしながら、複数のインストーラを連続実行している際にユーザがインストール中のアプリケーションソフトウェアを起動してしまうと、インストール処理が失敗する場合がある。 However, if the user activates the application software being installed while executing multiple installers in succession, the installation process may fail.

例えば、ユーザがサービスパックを含むアプリケーションソフトウェアを購入した場合、製品にはベース用のインストーラ及びサービスパック用のインストーラが同梱されていることがある。一般的にこのような構成のインストーラでは、ベースのインストール処理が完了した後に自動的にサービスパックのインストール処理が開始されることが多い。この場合、ベースのインストール処理が完了した時点でOS(Operating System)のデスクトップ画面上にショートカットが作成される。そのため、サービスパックのインストール中にユーザがショートカットからアプリケーションソフトウェアを容易に起動することが出来てしまう。 For example, if a user purchases application software that includes a service pack, the product may come with a base installer and a service pack installer. In general, installers with such a configuration often start the service pack installation process automatically after the base installation process is completed. In this case, a shortcut is created on the desktop screen of the OS (Operating System) when the base installation process is completed. Therefore, the user can easily start the application software from the shortcut during installation of the service pack.

ここでユーザがインストール中のアプリケーションソフトウェアを起動した場合、OSによってアプリケーションソフトウェア実行に必要なモジュールはロードされ、ロックされる。そのため、サービスパックのインストーラによるサービスパック用モジュールの更新ができなくなるため、サービスパックのインストール処理が失敗するという問題が発生する。 Here, when the user starts the application software being installed, the OS loads and locks the modules necessary for executing the application software. As a result, the service pack installer cannot update the service pack module, resulting in a failure of the service pack installation process.

また、サービスパックのインストーラによる更新ができなかったモジュールを、ソフトウェアの再起動後に更新することも可能である。しかしながら、ユーザがサービスパックを含むアプリケーションソフトウェアを購入したにもかかわらず、そのユーザが「Bug-Fix未適用の製品」や「新機能がまだ存在しないベース機能のみの製品」を一時的にでも使用することは好ましくない。 It is also possible to update modules that could not be updated by the service pack installer after restarting the software. However, even though the user has purchased the application software including the service pack, the user temporarily uses the "product with no bug-fix applied" or "the product with only the base function that does not yet have new functions". I don't like doing it.

そこで、本発明は、既にインストールされたアプリケーションソフトウェアについての追加インストールを行うためのインストーラを起動させる前に、前記インストールされたアプリケーションソフトウェアの起動のための処理を実行させないことを目的とする。 SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to prevent a process for starting the installed application software before starting an installer for additionally installing the already installed application software.

上記課題を解決するために、本発明のプログラムのセットは、情報処理装置により実行可能な少なくとも第1のインストーラを含むプログラムのセットであって、前記第1のインストーラは、アプリケーションソフトウェアをインストールするための第1のインストール処理を前記情報処理装置に行わせ、さらに、前記アプリケーションソフトウェアをアップデートするための第2のインストール処理を行わせるための第2のインストーラが前記プログラムのセットに含まれている場合に、当該第2のインストーラを前記情報処理装置に実行させることを特徴とし、前記プログラムのセットに前記第2のインストーラが含まれていない場合、前記アプリケーションソフトウェアのショートカットは、前記第1のインストール処理が完了した後に作成される一方、前記プログラムのセットに前記第2のインストーラが含まれている場合、前記アプリケーションソフトウェアのショートカットは、前記第1のインストール処理が完了した後に作成されずに前記第2のインストール処理が完了した後に作成される、ことを特徴とする。 In order to solve the above problems, a program set of the present invention is a program set including at least a first installer executable by an information processing device, the first installer for installing application software. The program set includes a second installer for causing the information processing apparatus to perform a first installation process of and further to perform a second installation process for updating the application software and causing the information processing apparatus to execute the second installer, and if the second installer is not included in the set of programs, the shortcut of the application software is installed in the first installation process. is created after the completion of the first installation process, while if the set of programs includes the second installer, the shortcut for the application software is not created after the first installation process is completed and the second installation process is completed. is created after the installation process is completed.

本発明により、既にインストールされたアプリケーションソフトウェアについての追加インストールを行うためのインストーラを起動させる前に、前記インストールされたアプリケーションソフトウェアの起動のための処理を実行させないようにすることができる。 According to the present invention, the process for starting the installed application software can be prevented from being executed before starting the installer for additionally installing the already installed application software.

ハードウェア構成例を示す図Diagram showing hardware configuration example ソフトウェア構成例を示す図Diagram showing software configuration example インストーラに関する設定情報の一例を示す図Diagram showing an example of setup information related to the installer 実施例1の処理を示すフローチャートFlowchart showing processing of the first embodiment 実施例2の処理を示すフローチャートFlowchart showing processing of the second embodiment 実施例3の処理を示すフローチャートFlowchart showing processing of the third embodiment

本発明では、ユーザがインストーラ実行中に、アプリケーションソフトウェアの起動を防ぐためのショートカット作成方法を実現する。 The present invention realizes a shortcut creation method for preventing application software from being started while the user is executing the installer.

以下、本発明を実施するための最良の形態について図面を用いて説明する。 BEST MODE FOR CARRYING OUT THE INVENTION The best mode for carrying out the present invention will be described below with reference to the drawings.

[ハードウェア構成]
図1は、本発明の一実施形態におけるハードウェア構成例を示す図である。図1では、コンピュータである情報処理装置100のハードウェア構成例を示している。情報処理装置100は、ユーザ操作入力を受信する入力デバイスであるキーボード105とポインティングデバイス106が設けられている。
[Hardware configuration]
FIG. 1 is a diagram showing a hardware configuration example in one embodiment of the present invention. FIG. 1 shows a hardware configuration example of an information processing apparatus 100, which is a computer. The information processing apparatus 100 is provided with a keyboard 105 and a pointing device 106 which are input devices for receiving user operation inputs.

キーボード105は、情報処理装置100に対して文字や数字などの情報を入力する装置である。キーボードは、例えば仮名や英文字などを入力するキーや数字を入力するためのテンキー、各種機能キー、カーソルキー及びその他のキーを備える。 A keyboard 105 is a device for inputting information such as characters and numbers to the information processing apparatus 100 . The keyboard includes, for example, keys for inputting kana and English letters, ten keys for inputting numbers, various function keys, cursor keys, and other keys.

ポインティングデバイス106は、例えばマウスなどを備える。ユーザが、GUI(Graphical User Interface)などを用いて情報処理装置100を操作する場合、表示装置上に表示されたボタンやアイコンなどをマウスでクリックすることにより、所定の情報の入力を行うことができる。例えば、情報処理装置100が、インストールされたアプリケーションソフトウェアを表すアイコンを表示部102上に表示し、ユーザがアイコンをマウスでクリックすることに応じて、CPU101がアプリケーションソフトウェアを起動させる。さらに、ユーザに視覚的な出力情報フィードバックを与える表示部102を備える。 The pointing device 106 includes, for example, a mouse. When a user operates the information processing apparatus 100 using a GUI (Graphical User Interface) or the like, the user can input predetermined information by clicking buttons or icons displayed on the display device with a mouse. can. For example, the information processing apparatus 100 displays an icon representing installed application software on the display unit 102, and the CPU 101 activates the application software in response to the user clicking the icon with a mouse. Additionally, a display 102 is provided to provide visual output information feedback to the user.

表示部102は、例えば、CRT(Cathode Ray Tube)ディスプレイ、液晶ディスプレイ、又はプラズマディスプレイを備える画面上に各種情報を表示する。表示部102は、キーボードやマウスの入力結果や、インストーラやアプリケーションソフトウェアが提供する画面(例えばユーザインターフェース)等を表示する。 The display unit 102 displays various information on a screen including, for example, a CRT (Cathode Ray Tube) display, a liquid crystal display, or a plasma display. The display unit 102 displays keyboard and mouse input results, screens (for example, user interfaces) provided by installers and application software, and the like.

さらに、情報処理装置100は、動作を制御するための手段であるCPU101、RAM103、ROM104、HDD107を備える。本実施形態に特有の動作として、CPU101は、情報処理装置100上では図2に示す複数のインストーラ200・210の動作を制御する。CPU101は、情報処理装置100の各インストーラを実行し、所定のプログラムに従って、各種の演算、情報処理、情報処理装置100全体の制御処理を行う。 Further, the information processing apparatus 100 includes a CPU 101, a RAM 103, a ROM 104, and an HDD 107, which are means for controlling operations. As operations specific to this embodiment, the CPU 101 controls operations of the plurality of installers 200 and 210 shown in FIG. The CPU 101 executes each installer of the information processing apparatus 100 and performs various calculations, information processing, and control processing of the entire information processing apparatus 100 according to a predetermined program.

RAM103、ROM104、HDD107は本実施形態における各種プログラムや実行情報を保管する。また、DVD/CDに記録されたデータを読み出すためのDVD/CD-ROMドライバ108も設ける。RAM103は、CPU101によりOS(Operating System)や本実施例を実現するための制御プログラムを含むその他の制御プログラムがロードされ実行される。また、制御プログラムを実行するために用いられる各種作業領域、一時待避領域として機能する。本実施形態では、RAM103には、CPU101がインストーラの起動やシステム内部の処理などを行うためのエリアが確保される。ROM104は、CPU101の各種制御を実行する各種制御プログラム、データ及びパラメータ等を記憶する記憶装置である。 The RAM 103, ROM 104, and HDD 107 store various programs and execution information in this embodiment. A DVD/CD-ROM driver 108 is also provided for reading data recorded on a DVD/CD. The RAM 103 is loaded and executed by the CPU 101 with an OS (Operating System) and other control programs including a control program for realizing this embodiment. It also functions as various work areas and temporary save areas used to execute control programs. In this embodiment, an area is reserved in the RAM 103 for the CPU 101 to start the installer and perform internal processing of the system. The ROM 104 is a storage device that stores various control programs for executing various controls of the CPU 101, data, parameters, and the like.

HDD107は、読み書き可能な記憶媒体と、その記憶媒体に対してプログラムやデータを読み書きするための駆動装置と、を備える。本実施形態では、HDD107は、ハードディスクを備えるローカルディスクである。なお、HDD107が備える記憶媒体が、光磁気ディスク、磁気ディスク、半導体メモリ等であってもよい。HDD107には、図2に示す複数のインストーラ200・210が記憶されている。また、HDD107には、インターフェイスデバイスI/O109を制御し、ネットワークを介した通信を維持する通信プログラムが記憶されている。また、HDD107には、メモリ管理やファイル入出力管理などのクライアントを動作させるための基本アプリケーションソフトウェアであるOSなどが記憶されている。 The HDD 107 includes a readable/writable storage medium and a drive device for reading/writing programs and data from/to the storage medium. In this embodiment, the HDD 107 is a local disk with a hard disk. Note that the storage medium included in the HDD 107 may be a magneto-optical disk, a magnetic disk, a semiconductor memory, or the like. The HDD 107 stores a plurality of installers 200 and 210 shown in FIG. The HDD 107 also stores a communication program that controls the interface device I/O 109 and maintains communication via the network. The HDD 107 also stores an OS, which is basic application software for operating the client such as memory management and file input/output management.

さらに、外部機器との通信を行うインターフェイスデバイスI/O109を備え、プログラム実行を行うCPU101を備える。なお、周辺機器との接続形態は有線/無線を問わない。インターフェイスデバイスI/O109は、ネットワーク(例えば、LANやインターネット)を介して他の端末(Webサーバ、メールサーバなど)に接続する。インターネットを介した通信を行う場合には、例えば、TCP/IP等のプロトコルが用いられる。 Furthermore, it has an interface device I/O 109 that communicates with an external device, and a CPU 101 that executes a program. The form of connection with the peripheral device may be wired or wireless. The interface device I/O 109 connects to other terminals (web server, mail server, etc.) via a network (eg, LAN or Internet). For example, a protocol such as TCP/IP is used for communication via the Internet.

なお、本実施例で説明される処理は、ROM104、またはHDD107に保存されたプログラムや実行情報、一時データをRAM103にロードし、CPU101で実行することによって実現される。 The processing described in this embodiment is realized by loading programs, execution information, and temporary data stored in the ROM 104 or HDD 107 into the RAM 103 and executing them by the CPU 101 .

[ソフトウェア構成]
図2は、ソフトウェアの構成例を示す図である。
[Software configuration]
FIG. 2 is a diagram showing a configuration example of software.

情報処理装置100は、複数のインストーラ(第一のインストーラ200、第二のインストーラ210)を備える。なお、本実施例では、インストーラ210はインストーラ200と同様の構成であり重複する情報は省略する。 The information processing apparatus 100 includes a plurality of installers (first installer 200, second installer 210). Note that, in this embodiment, the installer 210 has the same configuration as the installer 200, and redundant information will be omitted.

ここで、第一のインストーラ200および第二のインストーラ210は、アプリケーションソフトウェアの制作者によってDVDやCD等に記憶され、或いは、アーカイブファイルに変換されWebページ等にアップロードされることが一般的である。また、インストーラの配布方式は、単数のインストーラを別々に配布する単数インストーラ形式や、複数のインストーラをあわせて配布する複数インストーラ形式の2パターンが存在する。例えば、アプリケーションソフトウェアのサービスパックがリリースされて、ベースとサービスパックの2つのインストーラを1つにまとめて配布する場合、複数インストーラ形式となる。なお、ユーザのPCに既にベースのインストールしており、後にリリースされたサービスパックを追加でインストールする場合には、サービスパックのインストーラが単数インストーラ形式で配布されることとなる。図2で示すような第一のインストーラ200および第二のインストーラ210は、複数インストーラ形式で配布されたインストーラセットであると言える。 Here, the first installer 200 and the second installer 210 are generally stored on a DVD, CD, or the like by the creator of the application software, or converted into an archive file and uploaded to a Web page or the like. . There are two patterns of installer distribution methods: a single installer format in which a single installer is distributed separately, and a multiple installer format in which a plurality of installers are distributed together. For example, when a service pack for application software is released and two installers for the base and the service pack are distributed as one, the multiple installer format is used. If the base has already been installed on the user's PC, and a later released service pack is to be additionally installed, the service pack installer will be distributed in the form of a single installer. It can be said that the first installer 200 and the second installer 210 as shown in FIG. 2 are an installer set distributed in a multiple installer format.

情報処理装置100が備える各構成について説明する。 Each configuration included in the information processing apparatus 100 will be described.

インストーラ200は、アプリケーションソフトウェアのインストール実行するための各種のユーザインターフェースを備え、情報処理装置100のデスクトップ上でユーザからの要求を受け付けて、各機能処理の実行を総括的に管理している。 The installer 200 has various user interfaces for installing and executing application software, receives requests from users on the desktop of the information processing apparatus 100, and comprehensively manages the execution of each function process.

インストーラ200は、表示部201および制御部202を有する。各インストーラを構成するコンポーネントについて説明する。 Installer 200 has display unit 201 and control unit 202 . The components that make up each installer are explained.

表示部201は、インストーラ200のユーザインターフェースの構築を行う。また、GUIを介して、ユーザからの各種入力操作の受け付けを処理する。 The display unit 201 constructs the user interface of the installer 200 . It also processes acceptance of various input operations from the user via the GUI.

制御部202は、インストーラ制御に関する処理全般の機能を備える。例えば、ユーザからの各種入力操作の受け付けを基に、図示を省略するアプリケーションソフトウェアのインストール、アンインストール、修復インストールやアプリケーションの設定や構築を行う。また、制御部202は、情報処理装置100のインストーラに関する設定情報を解析する。設定情報とは、例えば、インストーラ情報300や各インストーラが管理するレジストリ情報320等を示す。設定情報の詳細については、図3を用いて後述する。 The control unit 202 has functions for overall processing related to installer control. For example, on the basis of receiving various input operations from the user, application software (not shown) is installed, uninstalled, or repaired, and application settings and construction are performed. Also, the control unit 202 analyzes setting information regarding the installer of the information processing apparatus 100 . The setting information indicates, for example, installer information 300 and registry information 320 managed by each installer. Details of the setting information will be described later with reference to FIG.

さらに、制御部202は、アプリケーションソフトウェアのインストールに際して、既にインストールされたアプリケーションソフトウェアの起動のためのユーザ入力を受け付け可能にする処理を実行する。その処理の一例として、制御部202は、情報処理装置のOSが提供するデスクトップ画面上に、アプリケーションソフトウェアの起動のためのユーザ入力を受け付けるショートカットを作成する。また処理の他の例として、制御部202は、メニュー画面の一覧にアプリケーションソフトウェアを表示させたり、ファイルに対する拡張子の関連付けを行ったりしてもよい。 Furthermore, when installing the application software, the control unit 202 executes a process of enabling acceptance of user input for starting the already installed application software. As an example of the processing, the control unit 202 creates a shortcut for receiving user input for starting application software on the desktop screen provided by the OS of the information processing apparatus. As another example of processing, the control unit 202 may display application software in a list on the menu screen, or associate extensions with files.

なお、インストーラ200は、アプリケーションソフトウェアの基本機能を情報処理装置にインストールするためのインストーラである。また、表示部211および制御部212を有するインストーラ210は、アプリケーションソフトウェアの追加インストールするためのサービスパックのインストーラである。サービスパックのインストーラにおける追加インストールでは、例えば、ベースのインストーラにおける基本機能についてのバグ修正やセキュリティ強化、ベースの機能をバージョンアップした機能の追加などが行われる。一方、図5で後述する実施例2におけるインストーラ210は、アプリケーションソフトウェアの追加インストールとして、オプション機能をインストールするためのインストーラとして扱う。オプション機能のインストーラにおいては、ベースの機能には含まれない付帯機能であり、ユーザがカスタマイズして追加可能な機能がインストールされる。サービスパックのインストーラの制御部212は、ベースのインストーラの制御部202と同様に、既にインストールされたアプリケーションソフトウェアの起動のためのユーザ入力を受け付け可能にする処理を実行可能である。例えば、制御部212はショートカット作成の機能などを有している。一方、オプション機能のインストーラの制御部212は、既にインストールされたアプリケーションソフトウェアの起動のためのユーザ入力を受け付け可能にする処理を実行する機能を有していないため、ショートカットの作成などはできない。 Note that the installer 200 is an installer for installing the basic functions of the application software in the information processing apparatus. An installer 210 having a display unit 211 and a control unit 212 is a service pack installer for additionally installing application software. Additional installation in the service pack installer includes, for example, bug fixes and security enhancements for basic functions in the base installer, and addition of functions that are upgraded versions of the base functions. On the other hand, the installer 210 in the second embodiment, which will be described later with reference to FIG. 5, is treated as an installer for installing optional functions as additional installation of application software. In the optional function installer, additional functions that are not included in the base function and can be customized and added by the user are installed. The control unit 212 of the service pack installer, like the control unit 202 of the base installer, is capable of executing a process of enabling acceptance of user input for starting already installed application software. For example, the control unit 212 has a shortcut creation function. On the other hand, the optional function installer control unit 212 does not have a function of executing a process of enabling acceptance of user input for starting already installed application software, and therefore cannot create a shortcut.

本実施例で説明される処理は、ROM104またはHDD107に保存されたプログラムが、RAM103にロードされて、CPU101で実行されることによって実現される。 The processing described in this embodiment is implemented by loading a program stored in the ROM 104 or HDD 107 into the RAM 103 and executing it by the CPU 101 .

[インストーラに関する設定情報]
図3は、インストーラに関する設定情報の一例を示している。
[Installer setting information]
FIG. 3 shows an example of setting information about the installer.

インストーラに関する設定情報には、インストーラが保持するインストーラ情報およびOSが保持するレジストリ情報が含まれる。これらの情報は各インストーラのインストール処理において、併用して利用される。 The setting information about the installer includes installer information held by the installer and registry information held by the OS. These pieces of information are used together in the installation process of each installer.

初めに、図3(a)で示すインストーラ情報300について説明する。インストーラ情報300は、インストーラ200のインストール処理に必要な設定情報であり、インストーラ200が保持する情報である。設定情報は、例えばInstallerVersion301やProductCode302、UpgradeCode等を含む。同様に、図3(b)で示すインストーラ情報310は、インストーラ210のインストール処理に必要な設定情報であり、インストーラ210が保持する情報である。なお、本実施例では、インストーラ情報310はインストーラ情報300と同様の構成であり、重複する情報の説明は省略する。 First, the installer information 300 shown in FIG. 3A will be described. The installer information 300 is setting information necessary for installation processing of the installer 200 and is information held by the installer 200 . The setting information includes, for example, InstallerVersion 301, ProductCode 302, UpgradeCode, and the like. Similarly, the installer information 310 shown in FIG. 3B is setting information necessary for the installation process of the installer 210 and is information held by the installer 210 . Note that, in this embodiment, the installer information 310 has the same configuration as the installer information 300, and redundant description of the information will be omitted.

インストーラ情報300の各項目について説明する。InstallerVersion301は、インストーラ210がインストール可能なアプリケーションソフトウェアのバージョンを示す。一般的にアプリケーションソフトウェアのバージョンは、メジャーバージョン、マイナーバージョン、リビジョン(サービスパックのバージョン)の3つの値で構成される。例えば、メジャーバージョンの値が「3」、マイナーバージョンの値が「0」、リビジョンの値が「0」であれば、アプリケーションソフトウェアのバージョンは「3.0.0」となる。本実施例におけるInstallerVersion301の値は「3.0.0」であるため、インストーラ200によってバージョン3.0.0のアプリケーションソフトウェアがインストールされる。また、インストーラ情報310のInstallerVersion311の値は「3.0.1」であるため、インストーラ210によってバージョン3.0.1のアプリケーションソフトウェアがインストールされる。 Each item of the installer information 300 will be described. InstallerVersion 301 indicates the version of application software that can be installed by the installer 210 . Generally, the version of application software consists of three values: major version, minor version, and revision (service pack version). For example, if the major version value is "3", the minor version value is "0", and the revision value is "0", the application software version is "3.0.0". Since the value of InstallerVersion 301 in this embodiment is "3.0.0", the installer 200 installs version 3.0.0 of the application software. Also, since the value of InstallerVersion 311 of the installer information 310 is "3.0.1", the installer 210 installs version 3.0.1 of the application software.

ProductCode302は、アプリケーションソフトウェアの識別などに用いられる固有の番号や文字列である。この値はインストーラ200によって、レジストリ情報320のProductCode322へ書き込まれる。また、一般的に、リリース済みのアプリケーションソフトウェアに適用可能なサービスパックをリリースする場合、ProductCode302およびUpgradeCodeは変更しない。即ち、サービスパックをインストールした場合、レジストリ情報320に書き込まれるProductCode322の値およびUpgradeCodeの値は変更されない。なお、第二のインストーラ210がオプション機能のインストーラである場合、ProductCodeやUpgradeCodeは、第一のインストーラ200が保持する値と異なる(不図示)。値が異なる場合、第一のインストーラ200と第二のインストーラ210によってインストールされるアプリケーションソフトウェアは、それぞれアップグレードの依存関係がないとことになる。なお、ProductVersion323およびProductCode324については、実施例2で説明する。 ProductCode 302 is a unique number or character string used for identifying application software. This value is written by installer 200 to ProductCode 322 of registry information 320 . Generally, when releasing a service pack applicable to released application software, the ProductCode 302 and UpgradeCode are not changed. That is, when a service pack is installed, the value of ProductCode 322 and the value of UpgradeCode written in registry information 320 are not changed. If the second installer 210 is an optional function installer, the ProductCode and UpgradeCode are different from the values held by the first installer 200 (not shown). If the values are different, the application software installed by the first installer 200 and the second installer 210 respectively have no upgrade dependencies. The ProductVersion 323 and ProductCode 324 will be described in the second embodiment.

図3を例にまとめると、インストーラ情報300を有するインストーラ200はベースであり、インストーラ情報310を有するインストーラ210は、ベースに対するサービスパックであると言える。 Taking FIG. 3 as an example, the installer 200 with the installer information 300 is the base, and the installer 210 with the installer information 310 is the service pack for the base.

次に、図3(c)で示すレジストリ情報320について説明する。レジストリ情報320は、情報処理装置100のOSが保持するレジストリ情報一覧の一例を示す。 Next, the registry information 320 shown in FIG. 3(c) will be described. Registry information 320 indicates an example of a registry information list held by the OS of the information processing apparatus 100 .

レジストリ情報320は、情報処理装置100にインストールされているアプリケーションソフトウェアの情報であり、ROM104に保存されている。例えば、レジストリ情報320は、アプリケーションソフトウェアのProductVersion321やProductCode322、UpgradeCode、インストールパス等を含む。また、レジストリ情報320は複数のアプリケーションソフトウェアを管理する。図3を例にあげると、レジストリ情報320は、ベースのアプリケーションソフトウェアとベースに対するオプション機能のアプリケーションソフトウェアの2つのアプリケーションソフトウェアを含む。具体的には、ProductVersion321、ProductCode322はベースのアプリケーションソフトウェアのレジストリ情報に関する情報である。また、ProductVersion323、ProductCode324はベースに対するオプション機能のアプリケーションソフトウェアのレジストリ情報に関する情報である。なお、レジストリ情報320に含まれる2つのProductVersion、ProductCodeにおいて、重複する情報の説明は省略する。 The registry information 320 is information on application software installed in the information processing apparatus 100 and is stored in the ROM 104 . For example, the registry information 320 includes Application Software ProductVersion 321, ProductCode 322, UpgradeCode, installation path, and the like. Also, the registry information 320 manages a plurality of application software. Taking FIG. 3 as an example, the registry information 320 includes two pieces of application software: base application software and optional function application software for the base. Specifically, ProductVersion 321 and ProductCode 322 are information relating to the registry information of the base application software. ProductVersion 323 and ProductCode 324 are information on the registry information of application software for optional functions for the base. Note that redundant description of the two ProductVersions and ProductCodes included in the registry information 320 will be omitted.

レジストリ情報320の各項目について説明する。ProductVersion321は、情報処理装置100にインストールされているベースのアプリケーションソフトウェアのバージョンを示す。例えば、ProductVersion321の値が「3.0.0」であれば、バージョン3.0.0のアプリケーションソフトウェアがインストールされていることになる。 Each item of the registry information 320 will be described. ProductVersion 321 indicates the version of the base application software installed in the information processing apparatus 100 . For example, if the value of ProductVersion321 is "3.0.0", it means that version 3.0.0 of the application software is installed.

ここで、サービスパックがインストールされている場合は、リビジョンの値が「1」以上となる。したがって、図3(c)で示す例では、リビジョンの値が「0」であるため、サービスパックはインストールされていないと判断できる。 Here, when the service pack is installed, the revision value is "1" or more. Therefore, in the example shown in FIG. 3C, since the revision value is "0", it can be determined that the service pack has not been installed.

ProductCode322は、アプリケーションソフトウェアの識別などに用いられる固有の番号や文字列である。レジストリ情報320にアプリケーションソフトウェアのProductCode302が存在すれば、アプリケーションソフトウェアがインストールされているということになる。 ProductCode 322 is a unique number or character string used for identification of application software. If the ProductCode 302 of the application software exists in the registry information 320, it means that the application software has been installed.

なお、インストーラ情報、および、レジストリ情報が保持する情報は、本実施例に限ったものとしない。 Information held by the installer information and the registry information is not limited to this embodiment.

[実施例1における各インストーラの処理]
実施例1では、第一のインストーラ200と第二のインストーラ210が連続実行される場合における課題の解決手法を説明する。なお、実施例1では第一のインストーラ200をベースのインストーラ、第二のインストーラ210をサービスパックのインストーラとして扱う。
[Processing of Each Installer in Embodiment 1]
In the first embodiment, a method for solving the problem when the first installer 200 and the second installer 210 are continuously executed will be described. In the first embodiment, the first installer 200 is treated as a base installer, and the second installer 210 is treated as a service pack installer.

まず、実施例1における課題を説明する。ベース用とサービスパック用の2つのインストーラが連続で実行される場合にサービスパックのインストール処理が失敗するケースがある。具体的には、2つのインストーラを連続実行する場合、まず初めにベースのインストーラによって、OSのデスクトップ画面上にショートカットが作成される。その後サービスパックのインストーラが実行されることとなるが、ベースのインストーラ実行が完了した時点でユーザはOSのデスクトップ画面上に作成されたショートカットからアプリケーションソフトウェアを起動するための指示をすることができる。ここで、サービスパックのインストーラ実行中にアプリケーションソフトウェアが起動された場合、サービスパックのインストーラはアプリケーションソフトウェアのモジュールを更新できずにインストール処理が失敗することがある。 First, problems in the first embodiment will be described. When the two installers for base and service pack are executed consecutively, the service pack installation process may fail. Specifically, when two installers are executed consecutively, the base installer first creates a shortcut on the desktop screen of the OS. After that, the service pack installer is executed, and when the execution of the base installer is completed, the user can give an instruction to start the application software from the shortcut created on the desktop screen of the OS. Here, if the application software is started while the service pack installer is running, the service pack installer may not be able to update the modules of the application software, and the installation process may fail.

ここでは前述の課題を解決するためのインストーラ構成に応じたショートカット作成のタイミングの動的な変更手法について説明する。 Here, a method for dynamically changing the shortcut creation timing according to the installer configuration for solving the above-described problem will be described.

[実施例1における各インストーラの処理]
図4は、ベースのインストーラ200およびサービスパックのインストーラ210の処理のフローチャートである。図1の情報処理装置100上で動作するインストーラ200・210を例に処理の流れを説明する。図4に示すフローチャートでは、インストーラにおける動的なショートカット作成処理を実施する手法を示す。また、S1001~S1010の各ステップはインストーラ200による処理であり、S1101~S1103の各ステップはインストーラ210による処理である。
[Processing of Each Installer in Embodiment 1]
FIG. 4 is a flowchart of the base installer 200 and service pack installer 210 processing. The flow of processing will be described using the installers 200 and 210 operating on the information processing apparatus 100 in FIG. 1 as an example. The flow chart shown in FIG. 4 shows a technique for performing dynamic shortcut creation processing in the installer. Also, each step from S1001 to S1010 is processed by the installer 200, and each step from S1101 to S1103 is processed by the installer 210. FIG.

図4(a)は、ベースのインストーラであるインストーラ200による処理の流れを示すフローチャートである。 FIG. 4A is a flow chart showing the flow of processing by the installer 200, which is the base installer.

インストーラ200が起動されると、S1001にて、制御部202はインストーラ200でインストール可能なアプリケーションソフトウェアが未インストールかを判定する。はい(未インストールである)の場合、S1002へ進み、いいえ(未インストールでない)の場合、S1003へ進む。 When the installer 200 is activated, in S1001, the control unit 202 determines whether application software installable by the installer 200 is not installed. If yes (not installed), go to S1002; if no (not installed), go to S1003.

S1001における判定のロジックについて具体的に説明する。制御部202は、レジストリ情報320を取得する。そして制御部202は、レジストリ情報320とインストーラ情報300を基に、インストーラ情報300が保持するProductCode302がレジストリ情報320に存在するかを解析する。レジストリ情報320のProductCode322にProductCode302が存在する場合、ベースのアプリケーションソフトウェアは未インストールでないと判定し、S1003へ進む。一方、レジストリ情報320のProductCode322にProductCode302が存在しない場合、または、レジストリ情報320が存在しない場合、ベースのアプリケーションソフトウェアは未インストールであると判定し、S1002へ進む。 The determination logic in S1001 will be specifically described. Control unit 202 acquires registry information 320 . Based on the registry information 320 and the installer information 300 , the control unit 202 analyzes whether the ProductCode 302 held by the installer information 300 exists in the registry information 320 . If the ProductCode 302 exists in the ProductCode 322 of the registry information 320, it is determined that the base application software is not installed, and the process proceeds to S1003. On the other hand, if the ProductCode 302 does not exist in the ProductCode 322 of the registry information 320, or if the registry information 320 does not exist, it is determined that the base application software has not been installed, and the process proceeds to S1002.

次に、S1002にて、制御部202はベースのアプリケーションソフトウェアのインストール実行フラグをONにする。 Next, in S1002, the control unit 202 turns ON the installation execution flag of the base application software.

次に、S1003にて、複数インストーラ形式のインストーラセットに未インストールのサービスパックが存在するかを判定する。はい(存在する)の場合、S1004へ進み、いいえ(存在しない)の場合、S1005へ進む。 Next, in S1003, it is determined whether or not there is an uninstalled service pack in the installer set of the multiple installer format. If yes (exists), proceed to S1004; otherwise, proceed to S1005.

S1003における判定のロジックについて具体的に説明する。初めに制御部202は、サービスパックのインストーラ情報310を取得する。ここでインストーラ情報310が取得できない場合、サービスパックのインストーラ210は存在しないと判定し、S1005へ進む。次に制御部202は、レジストリ情報320を取得する。そして制御部202は、サービスパックのインストーラ情報310とレジストリ情報320とを基に、インストーラ情報310が保持するProductCode312がレジストリ情報320に存在するかを解析する。レジストリ情報320のProductCode322にProductCode302が存在しない場合、または、レジストリ情報320が存在しない場合、未インストールのサービスパックが存在すると判定し、S1004へ進む。一方、レジストリ情報320のProductCode322にProductCode302が存在する場合、さらにInstallerVersion311とProductVersion321とを比較する。ここでは、例えば、それぞれのリビジョンの値を比較することとなる。比較した結果、InstallerVersion311の方が大きい場合、未インストールのサービスパックが存在すると判定し、S1004へ進む。一方、InstallerVersion311の方が小さい或いは同じ場合、未インストールのサービスパックが存在しないと判定し、S1005へ進む。 The determination logic in S1003 will be specifically described. First, the control unit 202 acquires the service pack installer information 310 . If the installer information 310 cannot be obtained here, it is determined that the service pack installer 210 does not exist, and the process proceeds to S1005. Next, the control unit 202 acquires registry information 320 . Based on the service pack installer information 310 and the registry information 320 , the control unit 202 analyzes whether the ProductCode 312 held by the installer information 310 exists in the registry information 320 . If the ProductCode 302 does not exist in the ProductCode 322 of the registry information 320, or if the registry information 320 does not exist, it is determined that there is an uninstalled service pack, and the process proceeds to S1004. On the other hand, if the ProductCode 302 exists in the ProductCode 322 of the registry information 320, the InstallerVersion 311 and the ProductVersion 321 are further compared. Here, for example, each revision value is compared. As a result of the comparison, if the InstallerVersion 311 is greater, it is determined that there is an uninstalled service pack, and the process advances to S1004. On the other hand, if the InstallerVersion 311 is smaller or the same, it is determined that there is no uninstalled service pack, and the process advances to S1005.

次に、S1004にて、制御部202はサービスパックのアプリケーションソフトウェアのインストール実行フラグをONにする。 Next, in S1004, the control unit 202 turns ON the installation execution flag of the application software of the service pack.

次に、S1005にて、制御部202はインストールするアプリケーションソフトウェアが1つ以上存在するかを判定する。ここで、S1005における判定のロジックには「ベースのアプリケーションソフトウェアのインストール実行フラグ」と「サービスパックのアプリケーションソフトウェアのインストール実行フラグ」とを用いる。少なくともいずれかのフラグがONであれば、何らかのアプリケーションソフトウェアをインストールすると判定する。はい(存在する)の場合、S1006へ進み、いいえ(存在しない)の場合、本フローチャートの処理を終了する。 Next, in S1005, the control unit 202 determines whether there is one or more application software to be installed. Here, the "base application software installation execution flag" and the "service pack application software installation execution flag" are used for the determination logic in S1005. If at least one of the flags is ON, it is determined to install some application software. If yes (exists), the process advances to S1006; if no (does not exist), the processing of this flowchart ends.

次に、S1006にて、制御部202はベースのアプリケーションソフトウェアのインストール実行フラグがONかを判定する。はい(インストール実行フラグがON)の場合、S1007へ進み、いいえ(インストール実行フラグがOFF)の場合、S1008へ進む。 Next, in S1006, the control unit 202 determines whether the installation execution flag of the base application software is ON. If yes (the installation execution flag is ON), the process proceeds to S1007; if No (the installation execution flag is OFF), the process proceeds to S1008.

次に、S1007にて、制御部202はアプリケーションソフトウェアの基本機能をインストールする。S1007で実行されるインストール処理は、アプリケーションソフトウェアのファイルコピーやレジストリ登録である。なお、S1007で実行されるインストールの完了後には、制御部202はショートカットを作成しないものとする。後述するサービスパックのインストーラによる追加機能のインストールの完了後に、ショートカットが作成されることとなる。 Next, in S1007, the control unit 202 installs the basic functions of the application software. The installation process executed in S1007 is file copying and registry registration of the application software. Note that the control unit 202 does not create a shortcut after the installation executed in S1007 is completed. The shortcut will be created after the installation of additional functions by the service pack installer, which will be described later, is completed.

次に、S1008にて、制御部202はサービスパックのアプリケーションソフトウェアのインストール実行フラグがONかを判定する。はい(インストール実行フラグがON)の場合、S1009へ進み、いいえ(インストール実行フラグがOFF)の場合、S1010へ進む。 Next, in S1008, the control unit 202 determines whether the installation execution flag of the application software of the service pack is ON. If yes (the installation execution flag is ON), the process advances to S1009, and if No (the installation execution flag is OFF), the process advances to S1010.

次に、S1009にて、制御部202はサービスパックをインストールするためのインストーラ210を起動させ、インストーラ210による処理(図4(b))を実行する。つまりS1009では、前記アプリケーションソフトウェアのインストールに際して、該インストールされたアプリケーションソフトウェアの起動のためのユーザ入力を受け付け可能にする処理を実行することなく、制御部202はインストーラ210を起動する。 Next, in S1009, the control unit 202 activates the installer 210 for installing the service pack, and executes processing by the installer 210 (FIG. 4B). In other words, in S1009, when installing the application software, the control unit 202 activates the installer 210 without executing processing for enabling acceptance of user input for activation of the installed application software.

次に、S1010にて、制御部202はOSのデスクトップ画面上にアプリケーションソフトウェアのショートカットを作成し、インストーラ200の処理を終了する。 Next, in S1010, the control unit 202 creates a shortcut of the application software on the desktop screen of the OS, and the process of the installer 200 ends.

図4(b)は、サービスパックのインストーラであるインストーラ210による処理の流れを示すフローチャートである。 FIG. 4B is a flow chart showing the flow of processing by the installer 210, which is the service pack installer.

S1009でインストーラ210がインストーラ200によって起動されると、S1101にて、制御部212はアプリケーションソフトウェアの追加機能をインストールする。S1101で実行されるインストール処理は、アプリケーションソフトウェアのファイルコピーやレジストリ登録の処理であって、ショートカット作成の処理を含まないものとする。 When the installer 210 is activated by the installer 200 in S1009, the controller 212 installs additional functions of the application software in S1101. The installation processing executed in S1101 is processing for copying application software files and registry registration processing, and does not include shortcut creation processing.

次に、S1102にて、制御部212はOSのデスクトップ画面上にアプリケーションソフトウェアのショートカットが存在するかを判定する。はい(存在する)の場合、インストーラ210の処理を終了する。いいえ(存在しない)の場合、S1103へ進む。 Next, in S1102, the control unit 212 determines whether there is a shortcut of the application software on the desktop screen of the OS. If yes (exists), the process of installer 210 ends. If no (does not exist), proceed to S1103.

次に、S1103にて、制御部212はOSのデスクトップ画面上にアプリケーションソフトウェアのショートカットを作成し、インストーラ210の処理を終了する。 Next, in S1103, the control unit 212 creates a shortcut of the application software on the desktop screen of the OS, and the process of the installer 210 ends.

なお、S1101でのサービスパックのインストール処理が完了した後、サービスパックのインストーラではなくベースのインストーラがショートカットを作成しても良い。 Note that after the service pack installation process in S1101 is completed, the shortcut may be created by the base installer instead of the service pack installer.

また、事前にベースのアプリケーションソフトウェアのみをインストール済みの場合、すでにOSのデスクトップ画面上にアプリケーションソフトウェアのショートカットが作成されている。しかしながら、ユーザがOSのデスクトップ画面上からショートカットを削除していることがある。そのため、サービスパックのインストーラが実行するS1102、S1103の処理で、ベースのインストーラが作成していたショートカットを修復する必要があるかを判定し、必要があれば修復するようにしてもよい。 Also, if only the base application software has been installed in advance, a shortcut of the application software has already been created on the desktop screen of the OS. However, the user may have deleted the shortcut from the desktop screen of the OS. Therefore, in the processing of S1102 and S1103 executed by the service pack installer, it may be determined whether or not the shortcut created by the base installer needs to be repaired, and repaired if necessary.

以上、インストーラ構成に応じたショートカット作成タイミングの動的な変更手法について説明した。これにより、ベース用とサービスパック用の2つのインストーラが連続で実行される場合、ベースのインストーラでショートカットを作成せずに、サービスパックのインストーラでショートカットを作成できるようになる。従って、インストーラの構成に関わらず、ショートカット作成のタイミングが一律してインストール処理の最後に実施されるようになり、ユーザがインストール中にショートカットからアプリケーションソフトウェアを起動することがなくなる。その結果、インストール中におけるアプリケーションソフトウェアの起動操作を抑止することができるようになる。 The method of dynamically changing shortcut creation timing according to the installer configuration has been described above. As a result, when the two installers for the base and service pack are executed consecutively, the service pack installer can create a shortcut without creating a shortcut with the base installer. Therefore, regardless of the configuration of the installer, shortcut creation is uniformly performed at the end of the installation process, and the user does not start the application software from the shortcut during installation. As a result, it is possible to prevent the activation operation of the application software during the installation.

[実施例2における各インストーラの処理]
実施例2では、第一のインストーラ200と第二のインストーラ210が連続実行される場合における課題の解決手法を説明する。なお、実施例2では第一のインストーラ200をベースのインストーラ、第二のインストーラ210をオプション機能のインストーラとして扱う。
[Processing of Each Installer in Second Embodiment]
In a second embodiment, a method for solving the problem when the first installer 200 and the second installer 210 are executed continuously will be described. In the second embodiment, the first installer 200 is treated as a base installer, and the second installer 210 is treated as an optional function installer.

実施例2における課題を説明する。オプション機能のインストーラとはベースのアプリケーションソフトウェアに対し、オプション機能をインストールできるインストーラである。一般的にオプション機能のインストーラは、ベースに対するオプション機能をインストールするだけであり、ベースのアプリケーションソフトウェアのショートカットを作成する処理は存在しない。そのため、実施例1の課題と同様に、ベース用とオプション機能用の2つのインストーラが連続で実行される場合、オプション機能が有効になる前にユーザがアプリケーションソフトウェアを起動してしまう可能性がある。 A problem in the second embodiment will be described. An optional function installer is an installer that can install optional functions to the base application software. Generally, the optional function installer only installs the optional function for the base, and there is no processing for creating a shortcut of the base application software. Therefore, as with the problem of the first embodiment, if two installers for the base and optional functions are executed consecutively, the user may start the application software before the optional functions are enabled. .

実施例2では前述の課題を解決するためのインストーラ構成に応じたショートカット作成タイミングの動的な変更手法について説明する。 In a second embodiment, a method for dynamically changing the shortcut creation timing according to the installer configuration for solving the above problem will be described.

[実施例2における各インストーラの処理]
図5は、ベースのインストーラ200およびオプション機能のインストーラ210の処理のフロー図である。図1の情報処理装置100上で動作するインストーラ200・210を例に処理の流れを説明する。本フローでは、インストーラにおける動的なショートカット作成処理を実施する手法を示す。また、S1001~S1010の各ステップはインストーラ200による処理であり、S1101~S1103の各ステップはインストーラ210による処理である。なお、図4に示したフローチャートのステップと重複する部分についての説明を省略する。
[Processing of Each Installer in Second Embodiment]
FIG. 5 is a flow diagram of the processing of the base installer 200 and optional feature installer 210 . The flow of processing will be described using the installers 200 and 210 operating on the information processing apparatus 100 in FIG. 1 as an example. This flow shows a technique for dynamically creating shortcuts in the installer. Also, each step from S1001 to S1010 is processed by the installer 200, and each step from S1101 to S1103 is processed by the installer 210. FIG. Note that the description of the parts that overlap with the steps of the flowchart shown in FIG. 4 will be omitted.

図5(a)は、ベースのインストーラであるインストーラ200による処理の流れを示すフローチャートである。 FIG. 5(a) is a flow chart showing the flow of processing by the installer 200, which is the base installer.

S2003にて、複数インストーラ形式のインストーラセットに未インストールのオプション機能が存在するかを判定する。はい(存在する)の場合、S2004へ進み、いいえ(存在しない)の場合、S2005へ進む。 In S2003, it is determined whether or not there is an optional function that has not been installed in the multiple-installer format installer set. If yes (exists), proceed to S2004; otherwise, proceed to S2005.

S2003における判定のロジックについて具体的に説明する。初めに制御部202は、オプション機能のインストーラ情報310を取得する。ここでインストーラ情報310が取得できない場合、オプション機能のインストーラ210は存在しないと判定し、S2005へ進む。次に制御部202は、レジストリ情報320を取得する。そして制御部202は、オプション機能のインストーラ情報310とレジストリ情報320を基に、インストーラ情報310が保持するProductCode312がレジストリ情報320に存在するかを解析する。 The determination logic in S2003 will be specifically described. First, the control unit 202 acquires the installer information 310 of optional functions. If the installer information 310 cannot be obtained here, it is determined that the optional function installer 210 does not exist, and the process proceeds to S2005. Next, the control unit 202 acquires registry information 320 . Based on the optional function installer information 310 and the registry information 320 , the control unit 202 analyzes whether the ProductCode 312 held by the installer information 310 exists in the registry information 320 .

レジストリ情報320のProductCode324にProductCode302が存在しない場合、または、レジストリ情報320が存在しない場合、未インストールのオプション機能が存在すると判定し、S2004へ進む。一方、レジストリ情報320のProductCode324にProductCode302が存在する場合、インストーラ情報310のInstallerVersion311とレジストリ情報320のProductVersion323とを比較する。ここでは、例えば、それぞれのリビジョンの値を比較することとなる。比較した結果、InstallerVersion311の方が大きい場合、未インストールのオプション機能が存在すると判定し、S2004へ進む。一方、InstallerVersion311の方が小さい或いは同じ場合、未インストールのオプション機能が存在しないと判定し、S2005へ進む。 If the ProductCode 302 does not exist in the ProductCode 324 of the registry information 320, or if the registry information 320 does not exist, it is determined that there is an uninstalled optional function, and the process proceeds to S2004. On the other hand, when the ProductCode 302 exists in the ProductCode 324 of the registry information 320, the InstallerVersion 311 of the installer information 310 and the ProductVersion 323 of the registry information 320 are compared. Here, for example, each revision value is compared. As a result of the comparison, if the InstallerVersion 311 is greater, it is determined that there is an optional function that has not been installed, and the process advances to S2004. On the other hand, if the InstallerVersion 311 is smaller or the same, it is determined that there is no uninstalled optional function, and the process advances to S2005.

次に、S2004にて、制御部202はオプション機能のアプリケーションソフトウェアのインストール実行フラグをONにする。 Next, in S2004, the control unit 202 turns on the installation execution flag of the application software of the optional function.

次に、S2005にて、制御部202はインストールするアプリケーションソフトウェアが1つ以上存在するかを判定する。ここで、S2005における判定には「ベースのアプリケーションソフトウェアのインストール実行フラグ」と「オプション機能のアプリケーションソフトウェアのインストール実行フラグ」を用いる。何れかのフラグがONであれば、何らかのアプリケーションソフトウェアをインストールすると判定される。はい(存在する)の場合、S1006へ進み、いいえ(存在しない)の場合、インストーラ200の処理を終了する。 Next, in S2005, the control unit 202 determines whether there is one or more application software to be installed. Here, the "installation execution flag of the base application software" and the "installation execution flag of the optional function application software" are used for the determination in S2005. If any flag is ON, it is determined to install some application software. If yes (exists), the process advances to S1006; if no (does not exist), the process of the installer 200 ends.

次に、S2008にて、制御部202はオプション機能のアプリケーションソフトウェアのインストール実行フラグがONかを判定する。はい(インストール実行フラグがON)の場合、S2009へ進み、いいえ(インストール実行フラグがOFF)の場合、S2010へ進む。 Next, in S2008, the control unit 202 determines whether the installation execution flag of the optional function application software is ON. If yes (the installation execution flag is ON), the process proceeds to S2009, and if No (the installation execution flag is OFF), the process proceeds to S2010.

次に、S2009にて、制御部202はオプション機能のアプリケーションソフトウェアをインストールするためのインストーラ210を起動させ、インストーラ210による処理(図5(b))を実行する。 Next, in S2009, the control unit 202 activates the installer 210 for installing the application software of the optional function, and executes the process by the installer 210 (FIG. 5B).

次に、S2010にて、制御部202はOSのデスクトップ画面上にアプリケーションソフトウェアのショートカットを作成し、インストーラ200の処理を終了する。 Next, in S2010, the control unit 202 creates a shortcut of the application software on the desktop screen of the OS, and the process of the installer 200 ends.

図5(b)は、オプション機能のインストーラであるインストーラ210による処理の流れを示すフローチャートである。 FIG. 5B is a flow chart showing the flow of processing by the installer 210, which is an installer of optional functions.

S2009でインストーラ210がインストーラ200によって起動されると、S2101にて、制御部212はベースに対して適用可能なオプション機能をインストールし、インストーラ210の処理を終了する。S2101で実行されるインストール処理は、アプリケーションソフトウェアのファイルコピーやレジストリ登録の処理であって、ショートカット作成の処理を含まないものとする。S2101でのオプション機能のインストール処理が完了した後、S2010でインストーラ200によってショートカットが作成される。 When the installer 210 is activated by the installer 200 in S2009, the controller 212 installs optional functions applicable to the base in S2101, and the process of the installer 210 ends. It is assumed that the installation processing executed in S2101 is processing for copying application software files and registering in the registry, and does not include shortcut creation processing. After completing the optional function installation process in S2101, the shortcut is created by the installer 200 in S2010.

以上、インストーラ構成に応じたショートカット作成タイミングの動的な変更手法について説明した。これにより、ベース用とオプション機能用の2つのインストーラが連続で実行される場合、オプション機能のインストーラが終了した後にベースのインストーラでショートカットを作成できるようになる。従って、インストーラの構成に関わらず、ショートカット作成のタイミングが一律してインストール処理の最後に実施されるようになり、ユーザがインストール中にショートカットからアプリケーションソフトウェアを起動することがなくなる。その結果、インストール中におけるアプリケーションソフトウェアの起動操作を抑止することができるようになる。 The method of dynamically changing shortcut creation timing according to the installer configuration has been described above. As a result, when two installers, one for the base and one for the optional function, are executed consecutively, the shortcut can be created by the base installer after the installer for the optional function is finished. Therefore, regardless of the configuration of the installer, shortcut creation is uniformly performed at the end of the installation process, and the user does not start the application software from the shortcut during installation. As a result, it is possible to prevent the activation operation of the application software during the installation.

[実施例3におけるインストーラの処理]
実施例3では、第二のインストーラ210が単体実行される場合における課題の解決手法を説明する。なお、実施例3では第二のインストーラ210をサービスパックのインストーラとして扱う。
[Processing of Installer in Embodiment 3]
In a third embodiment, a method for solving the problem when the second installer 210 is executed alone will be described. In the third embodiment, the second installer 210 is treated as a service pack installer.

実施例3における課題を説明する。事前にベースのアプリケーションソフトウェアがインストールされている状態では、OSのデスクトップ画面上にショートカットが作成済みになっている。この状態でサービスパックのインストールのみを単体で実行した場合、ユーザはサービスパックのインストーラ実行中にOSのデスクトップ画面上に存在するショートカットから容易にアプリケーションソフトウェアが起動できる。そのため、実施例1や実施例2の課題と同様にサービスパックのインストーラを単体で実行する場合、サービスパックのインストールが完了する前にユーザがアプリケーションソフトウェアを起動してしまう可能性がある。 A problem in the third embodiment will be described. When the base application software is installed in advance, shortcuts are already created on the OS desktop screen. If only the service pack is installed alone in this state, the user can easily start the application software from the shortcut that exists on the desktop screen of the OS while the service pack installer is being executed. Therefore, as in the case of the first and second embodiments, when the service pack installer is executed alone, the user may start the application software before the service pack installation is completed.

実施例3では、前述の課題を解決するためのショートカット存在の有無に応じたショートカット作成手法について説明する。 In a third embodiment, a method of creating shortcuts according to the presence or absence of shortcuts for solving the above-described problem will be described.

[実施例3における各インストーラの処理]
図6は、サービスパックのインストーラ210の処理の流れを示すフローチャートである。図1の情報処理装置100上で動作するインストーラ210を例に処理の流れを説明する。本フローでは、インストーラにおけるショートカット存在の有無に応じたショートカット作成処理を実施する手法を示す。
[Processing of Each Installer in Embodiment 3]
FIG. 6 is a flow chart showing the processing flow of the service pack installer 210 . The flow of processing will be described using the installer 210 that operates on the information processing apparatus 100 in FIG. 1 as an example. This flow shows a method of executing shortcut creation processing according to the presence or absence of shortcuts in the installer.

インストーラ210は起動処理が開始されると、S3001にて、制御部212はOSのデスクトップ画面上にアプリケーションソフトウェアのショートカットが存在するかを判定する。はい(存在する)の場合、S3002へ進み、いいえ(存在しない)の場合、S3003へ進む。 When the boot process of the installer 210 is started, in S3001, the control unit 212 determines whether there is a shortcut of the application software on the desktop screen of the OS. If yes (exists), proceed to S3002; otherwise, proceed to S3003.

次に、S3002にて、制御部212はOSのデスクトップ画面上に存在するアプリケーションソフトウェアのショートカットを削除する。 Next, in S3002, the control unit 212 deletes the shortcut of the application software existing on the desktop screen of the OS.

次に、S3003にて、制御部212はベースに対して適用可能なサービスパックのアプリケーションソフトウェアをインストールする。S3003で実行されるインストール処理は、アプリケーションソフトウェアのファイルコピーやレジストリ登録の処理であり、ショートカット作成の処理を含まないものとする。 Next, in S3003, the control unit 212 installs the application software of the service pack applicable to the base. The installation processing executed in S3003 is processing for copying application software files and registering in the registry, and does not include shortcut creation processing.

次に、S3004にて、制御部212はOSのデスクトップ画面上にアプリケーションソフトウェアのショートカットを作成し、インストーラ210の処理を終了する。 Next, in S3004, the control unit 212 creates a shortcut of the application software on the desktop screen of the OS, and the process of the installer 210 ends.

なお、S3002でショートカットを削除するのではなく、アプリケーションを起動できないことを示すようなショートカットの表示に一時的に変更しても良い。 Instead of deleting the shortcut in S3002, the display of the shortcut may be temporarily changed to indicate that the application cannot be started.

また、実施例3におけるインストーラ210は、サービスパックのインストーラに限ったものとしない。また、実施例3におけるソフトウェア構成は、情報処理装置100には第一のインストーラ200を含まずに、第二のインストーラ210のみを含んでもよい(不図示)。 Also, the installer 210 in the third embodiment is not limited to the service pack installer. Further, in the software configuration of the third embodiment, the information processing apparatus 100 may include only the second installer 210 without including the first installer 200 (not shown).

以上、ショートカット存在の有無に応じたショートカット作成手法について説明した。これにより、サービスパックのインストーラが単体で実行された場合、サービスパックのインストール中はショートカットが削除され、インストール処理の最後にショートカットが作成されるようになる。そのため、ユーザがサービスパックのインストール中にショートカットからアプリケーションソフトウェアを起動することがなくなる。その結果、インストール中におけるアプリケーションソフトウェアの起動操作を抑止することができるようになる。 In the above, the shortcut creation method according to the presence or absence of the shortcut has been described. As a result, if the service pack installer is run alone, the shortcut will be deleted during the service pack installation and created at the end of the installation process. Therefore, the user will not start the application software from the shortcut during installation of the service pack. As a result, it is possible to prevent the activation operation of the application software during the installation.

(他の実施例)
本発明は、上述した実施形態を適宜組み合わせることにより構成された装置あるいはシステムやその方法も含まれるものとする。
(Other examples)
The present invention also includes an apparatus or system configured by appropriately combining the above-described embodiments, and a method therefor.

ここで、本発明は、上述した実施形態の機能を実現する1つ以上のソフトウェア(プログラム)を実行する主体となる装置あるいはシステムである。また、その装置あるいはシステムで実行される上述した実施形態を実現するための方法も本発明の1つである。また、そのプログラムは、ネットワークまたは各種記憶媒体を介してシステムあるいは装置に供給され、そのシステムあるいは装置の1つ以上のコンピューター(CPUやMPU等)によりそのプログラムが読み出され、実行される。つまり、本発明の1つとして、さらにそのプログラム自体、あるいは当該プログラムを格納したコンピュータにより読み取り可能な各種記憶媒体も含むものとする。また、上述した実施形態の機能を実現する回路(例えば、ASIC)によっても、本発明は実現可能である。 Here, the present invention is a main device or system that executes one or more software (programs) that realize the functions of the above-described embodiments. A method for realizing the above-described embodiments executed by the device or system is also one aspect of the present invention. Also, the program is supplied to a system or device via a network or various storage media, and is read and executed by one or more computers (CPU, MPU, etc.) of the system or device. In other words, one aspect of the present invention includes the program itself or various computer-readable storage media storing the program. The present invention can also be realized by a circuit (for example, an ASIC) that implements the functions of the above-described embodiments.

Claims (7)

情報処理装置により実行可能な少なくとも第1のインストーラを含むプログラムのセットであって、A set of programs including at least a first installer executable by an information processing device,
前記第1のインストーラは、アプリケーションソフトウェアをインストールするための第1のインストール処理を前記情報処理装置に行わせ、さらに、前記アプリケーションソフトウェアをアップデートするための第2のインストール処理を行わせるための第2のインストーラが前記プログラムのセットに含まれている場合に、当該第2のインストーラを前記情報処理装置に実行させることを特徴とし、The first installer causes the information processing apparatus to perform a first installation process for installing application software, and further causes the information processing apparatus to perform a second installation process for updating the application software. is included in the program set, causing the information processing device to execute the second installer,
前記プログラムのセットに前記第2のインストーラが含まれていない場合、前記アプリケーションソフトウェアのショートカットは、前記第1のインストール処理が完了した後に作成される一方、if the set of programs does not include the second installer, a shortcut to the application software is created after the first installation process is completed;
前記プログラムのセットに前記第2のインストーラが含まれている場合、前記アプリケーションソフトウェアのショートカットは、前記第1のインストール処理が完了した後に作成されずに前記第2のインストール処理が完了した後に作成される、If the set of programs includes the second installer, the application software shortcut is not created after the first installation process is completed, but is created after the second installation process is completed. Ru
ことを特徴とするプログラムのセット。A set of programs characterized by
前記第1のインストーラは、アプリケーションソフトウェアをインストールするための第1のインストール処理を前記情報処理装置に行わせ、さらに、未実行の前記第2のインストール処理を行わせるための第2のインストーラが前記プログラムのセットに含まれている場合に、当該第2のインストーラを前記情報処理装置に実行させる、ことを特徴とする請求項1に記載のプログラムのセット。The first installer causes the information processing apparatus to perform a first installation process for installing application software, and the second installer causes the information processing apparatus to perform the second installation process that has not yet been executed. 2. The set of programs according to claim 1, wherein the second installer is caused to be executed by the information processing apparatus when included in the set of programs. 前記アプリケーションソフトウェアをアップデートするための前記第2のインストール処理では、前記第1のインストール処理によりインストールされたアプリケーションソフトウェアに対して、バグ修正、セキュリティ強化、および機能の追加、の少なくともいずれかが行われる、ことを特徴とする請求項1または2に記載のプログラムのセット。In the second installation process for updating the application software, at least one of bug correction, security enhancement, and function addition is performed on the application software installed by the first installation process. 3. A set of programs according to claim 1 or 2, characterized by: 前記プログラムのセットに前記第2のインストーラが含まれていない場合、前記第1のインストーラが、前記第1のインストール処理が完了した後に、前記アプリケーションソフトウェアのショートカットを作成させ、if the set of programs does not include the second installer, causing the first installer to create a shortcut for the application software after the first installation process is completed;
前記プログラムのセットに前記第2のインストーラが含まれている場合、前記第1のインストーラは、前記第1のインストール処理が完了した後に、前記アプリケーションソフトウェアのショートカットを作成せずに、前記第2のインストーラを前記情報処理装置に実行させて、前記第2のインストーラが、前記第2のインストール処理が完了した後に前記アプリケーションソフトウェアのショートカットを作成させる、If the set of programs includes the second installer, the first installer installs the second installer without creating a shortcut for the application software after the first installation process is completed. causing the information processing device to execute an installer, and causing the second installer to create a shortcut of the application software after the second installation process is completed;
ことを特徴とする請求項1乃至3のいずれか1項に記載のプログラムのセット。4. A program set according to any one of claims 1 to 3, characterized in that:
前記プログラムのセットに前記第2のインストーラが含まれていない場合、前記第1のインストーラは、前記第1のインストール処理が完了した後に、前記アプリケーションソフトウェアのショートカットを作成させる一方、if the set of programs does not include the second installer, the first installer causes a shortcut of the application software to be created after the first installation process is completed;
前記プログラムのセットに前記第2のインストーラが含まれている場合、前記第1のインストーラは、前記第1のインストール処理が完了した後に、前記アプリケーションソフトウェアのショートカットを作成せずに、前記第2のインストーラを前記情報処理装置に実行させることによって前記第2のインストール処理が完了した後に、前記アプリケーションソフトウェアのショートカットを作成させる、If the set of programs includes the second installer, the first installer installs the second installer without creating a shortcut of the application software after the first installation process is completed. creating a shortcut of the application software after the second installation process is completed by causing the information processing device to execute an installer;
ことを特徴とする請求項1に記載のプログラムのセット。A set of programs according to claim 1, characterized in that:
請求項1乃至5のいずれか1項に記載のプログラムのセットを記憶した、コンピューター読み出し可能な記憶媒体。A computer-readable storage medium storing the program set according to any one of claims 1 to 5. 少なくとも第1のインストーラを含むプログラムのセットを情報処理装置が実行することにより行われる情報処理方法であって、An information processing method performed by an information processing device executing a set of programs including at least a first installer,
前記情報処理装置が前記第1のインストーラを実行することにより、アプリケーションソフトウェアをインストールするための第1のインストール処理を行うステップと、a step of performing a first installation process for installing application software by the information processing apparatus executing the first installer;
前記アプリケーションソフトウェアをアップデートするための第2のインストール処理を行わせるための第2のインストーラが前記プログラムのセットに含まれている場合に、前記情報処理装置が前記第2のインストーラを実行することにより、前記インストールされたアプリケーションソフトウェアをアップデートするための第2のインストール処理を行うステップと、を含み、When the set of programs includes a second installer for performing a second installation process for updating the application software, the information processing device executes the second installer , performing a second installation process for updating the installed application software;
前記プログラムのセットに前記第2のインストーラが含まれていない場合、前記情報処理装置は、前記第1のインストール処理が完了した後に前記アプリケーションソフトウェアのショートカットを作成し、if the program set does not include the second installer, the information processing device creates a shortcut of the application software after the first installation process is completed;
前記プログラムのセットに前記第2のインストーラが含まれている場合、前記情報処理装置は、前記第1のインストール処理が完了した後には前記アプリケーションソフトウェアのショートカットを作成せずに、前記第2のインストール処理が完了した後に前記アプリケーションソフトウェアのショートカットを作成する、When the set of programs includes the second installer, the information processing apparatus performs the second installation without creating a shortcut for the application software after the first installation process is completed. creating a shortcut of said application software after processing is completed;
ことを特徴とする情報処理方法。An information processing method characterized by:
JP2022002549A 2017-09-06 2022-01-11 Program set, storage medium, and information processing method Active JP7289940B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022002549A JP7289940B2 (en) 2017-09-06 2022-01-11 Program set, storage medium, and information processing method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2017171179A JP7013176B2 (en) 2017-09-06 2017-09-06 Programs, information processing devices, and control methods
JP2022002549A JP7289940B2 (en) 2017-09-06 2022-01-11 Program set, storage medium, and information processing method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2017171179A Division JP7013176B2 (en) 2017-09-06 2017-09-06 Programs, information processing devices, and control methods

Publications (2)

Publication Number Publication Date
JP2022036206A JP2022036206A (en) 2022-03-04
JP7289940B2 true JP7289940B2 (en) 2023-06-12

Family

ID=87846667

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022002549A Active JP7289940B2 (en) 2017-09-06 2022-01-11 Program set, storage medium, and information processing method

Country Status (1)

Country Link
JP (1) JP7289940B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013214247A (en) 2012-04-03 2013-10-17 Canon Inc Information processing device, control method, and program

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013214247A (en) 2012-04-03 2013-10-17 Canon Inc Information processing device, control method, and program

Also Published As

Publication number Publication date
JP2022036206A (en) 2022-03-04

Similar Documents

Publication Publication Date Title
JP5796755B2 (en) Preheat type software installation
US10558405B2 (en) Information processing apparatus and driver customizing method
AU2018241159B2 (en) Contextual solicitation in a starter application
JP2007272763A (en) Module installation method and device
KR20130140777A (en) System reset
US20180364875A1 (en) Electronic apparatus, method for executing application, and computer-readable recording medium
EP3115917B1 (en) Information processing apparatus, method, and program
US9086938B2 (en) Information processing apparatus, control method thereof, and storage medium
US10514940B2 (en) Virtual application package reconstruction
KR20060015397A (en) Method and apparatus for changing background screen in gui operating system
US20120144390A1 (en) Customized computer image preparation and deployment including virtual machine mode
JP7013176B2 (en) Programs, information processing devices, and control methods
JP7289940B2 (en) Program set, storage medium, and information processing method
US20160313958A1 (en) Cross-platform command extensibility
Carpenter Microsoft Windows Operating System Essentials
JP5720531B2 (en) Help creation support device, help creation support program, and help creation support method
US10402035B1 (en) Content-driven orchestration of multiple rendering components in user interfaces of electronic devices
TW201530432A (en) Management system for service of multiple operating environments, and method thereof
JP2013003730A (en) Setting information management program, setting information management method, and information processor
US20030028868A1 (en) Information processor, method for processing information and computer-readable recording medium recorded with program code for controlling a computer to process information
JP2009134610A (en) Peripheral equipment controller, program installation method and program
Stein Unix survival guide
US7702890B2 (en) Information processing apparatus and program
JP5420581B2 (en) Application development support apparatus and method
JP6348817B2 (en) Screen display control device and screen display method

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220208

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220208

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20230502

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230531

R151 Written notification of patent or utility model registration

Ref document number: 7289940

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151