JP2007249894A - Program - Google Patents

Program Download PDF

Info

Publication number
JP2007249894A
JP2007249894A JP2006076029A JP2006076029A JP2007249894A JP 2007249894 A JP2007249894 A JP 2007249894A JP 2006076029 A JP2006076029 A JP 2006076029A JP 2006076029 A JP2006076029 A JP 2006076029A JP 2007249894 A JP2007249894 A JP 2007249894A
Authority
JP
Japan
Prior art keywords
installation
file
application software
data
procedure
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
JP2006076029A
Other languages
Japanese (ja)
Inventor
Hiroshi Goshima
洋 五島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2006076029A priority Critical patent/JP2007249894A/en
Publication of JP2007249894A publication Critical patent/JP2007249894A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To surely limit installation of data at a preset execution frequency. <P>SOLUTION: A control part 24 of an information processor 2 reads out an installation execution frequency holding file including an installation execution frequency of an application software, from a hybrid disk 1, when installing the application software, to be held in a memory 25, copies the application software in a storage part 22 and installs it, renames a file name of one part of a file of the application software to be brought into a use-incapable state, updates the installation execution frequency held in the memory 25, writes the installation execution frequency holding file with the updated installation execution frequency into the hybrid disk 1, and returns the application software to a usable state, by restoring the file name of the renamed file to an original name, when the writing succeeds. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

この発明は、コンピュータにアプリケーションソフトウェアプログラムを含む各種のデータのインストールとアンインストールを行わせるためのプログラムに関する。   The present invention relates to a program for causing a computer to install and uninstall various data including an application software program.

コンパクトディスクの分野では、近年、読取専用領域(以下「ROM部」ともいう)と、書き込み可能領域もしくは書き換え可能領域(以下「RAM部」ともいう)を持つハイブリッドディスクが開発されており、そのようなハイブリッドディスクの読み取り専用領域に予めコンテンツを書き込んだ状態で配布(販売)することにより、従来のCD−ROMの代替として利用する方法が提案されている。
このようなハイブリッドディスクでは、既存のディスクとの互換性を確保するために、1stセッションを読取専用領域としてスタンプし、それ以降の領域を記録可能領域として扱うものがある。
こうすることにより、ハイブリッドディスクを認識できないシステムにおいても、ハイブリッドディスクをマルチセッション記録されたディスクとして取り扱うことが可能となるので、少なくとも読み取り互換性を確保することが可能となる。
In the field of compact discs, hybrid discs having a read-only area (hereinafter also referred to as “ROM section”) and a writable area or rewritable area (hereinafter also referred to as “RAM section”) have been developed. A method has been proposed in which content is preliminarily written in a read-only area of a hybrid disc and distributed (sold) to be used as an alternative to a conventional CD-ROM.
Some hybrid discs stamp the 1st session as a read-only area and handle the subsequent areas as recordable areas in order to ensure compatibility with existing disks.
In this way, even in a system that cannot recognize a hybrid disk, the hybrid disk can be handled as a multi-session recorded disk, so that at least read compatibility can be ensured.

従来、任意のファイルデータと、そのインストール・アンインストールする機能を持つインストール制御プログラムを読取専用領域に記録したハイブリッドディスク(例えば、特許文献1参照)があった。
例えば、上記ファイルデータを任意のアプリケーションソフトウェアプログラム(以下「アプリケーションソフトウェア」という)にした場合、上記インストール制御プログラムの処理では、予めアプリケーションソフトウェアのインストール許可回数を設定し、アプリケーションソフトウェアのインストールとアンインストールを実行するたびに、同ハイブリッドディスクの記録可能領域に、インストール実行回数(「実行済みインストール回数」ともいう)を更新する書き込みを行う。
すなわち、ハイブリッドディスクの記録可能領域に書き込まれたインストール実行回数を、アプリケーションソフトウェアのインストール時には加算し、アンインストール時には減算する書き込みを行う。
Conventionally, there has been a hybrid disk (see, for example, Patent Document 1) in which arbitrary file data and an installation control program having a function for installing and uninstalling the file data are recorded in a read-only area.
For example, when the file data is an arbitrary application software program (hereinafter referred to as “application software”), the installation control program process sets the application software installation permission count in advance, and installs and uninstalls the application software. Each time execution is performed, writing is performed in the recordable area of the hybrid disk to update the number of times of installation execution (also referred to as “executed number of installations”).
In other words, the number of installation executions written in the recordable area of the hybrid disc is added when application software is installed, and is subtracted when uninstalling.

また、アプリケーションソフトウェアのインストール時には、ハイブリッドディスク上の最新のインストール実行回数を確認し、そのインストール実行回数が予め設定されたインストール許可回数未満の時にのみインストール処理を続行し、一方、最新のインストール実行回数がインストール許可回数以上の時には、インストール処理を中止する。
これにより、上記のようなハイブリッドディスクのユーザは、予め設定されたインストール許可回数分だけ、アプリケーションソフトウェアのインストールを実行することが可能となる。
また、アプリケーションソフトウェアのアンインストールを実行するたびに、インストール許可回数が1回ずつ復活する。
特開平10−27426号公報
When installing the application software, the latest installation execution number on the hybrid disk is confirmed, and the installation process is continued only when the installation execution number is less than the preset installation permission number. When the number of installations exceeds the permitted number of installations, the installation process is stopped.
As a result, the user of the hybrid disk as described above can install the application software as many times as the number of times permitted for installation.
Further, every time the application software is uninstalled, the number of permitted installations is restored by one.
Japanese Patent Laid-Open No. 10-27426

しかしながら、上述した従来のインストール制御プログラムの処理では、「インストール処理」と「インストール実行回数の更新書き込み処理」の実行順序に関して以下の問題があった。
・「インストール処理」→「インストール実行回数の更新書き込み処理」という順序で実行した場合の問題
アプリケーションソフトウェアのインストール処理後、インストール実行回数の更新書き込み実行前に故意にインストール制御プログラムを終了した場合、あるいは、インストール実行回数の書き込み時にエラーが発生した場合、ハイブリッドディスク上のインストール実行回数が加算(消費)されないまま、インストールされたアプリケーションソフトウェアをインストールして使用することができてしまう。
However, the above-described conventional installation control program processing has the following problems regarding the execution order of the “installation processing” and the “update execution writing processing of the number of times of installation execution”.
・ Problems when executed in the order of “Installation process” → “Update write process of installation execution count” When the installation control program is intentionally terminated after the installation process of application software and before update write execution of install execution count, or If an error occurs when writing the number of installation executions, the installed application software can be installed and used without adding (consuming) the number of installation executions on the hybrid disk.

・そのような不具合を避けるために、「インストール実行回数の更新書き込み処理」→「インストール処理」という順序で実行した場合の問題
インストール実行回数の更新書き込み処理の終了後、アプリケーションソフトウェアのインストール処理中にエラー発生などでインストール処理(ハードディスクを含む他の記録媒体へのファイルコピー)が正常終了しなかった場合、ハイブリッドディスク上のインストール実行回数が加算されているのに、アプリケーションソフトウェアをインストールして使用することができない。
上記いずれの場合も、ハイブリッドディスク上のインストール実行回数と、実際のインストール結果に矛盾が生じるという問題があった。
・ In order to avoid such problems, problems when executing in the order of “Update write processing of installation execution count” → “Installation processing” → During update processing of application software after update write processing of installation execution count is completed If the installation process (file copy to another recording medium including the hard disk) did not end normally due to an error, etc., the application software is installed and used even though the installation execution count on the hybrid disk has been added. I can't.
In any of the above cases, there is a problem in that there is a discrepancy between the number of times of installation on the hybrid disk and the actual installation result.

さらに、上述した従来のインストール制御プログラムの処理では、アンインストール処理実行時の「アンインストール処理」と「インストール実行回数の更新書き込み処理」の実行順序に関して以下の問題があった。
・「アンインストール処理」→「インストール実行回数の更新書き込み処理」という順序で実行した場合の問題
アプリケーションソフトウェアのアンインストール処理後、インストール実行回数の更新書き込み時にエラーが発生した場合、ハイブリッドディスク上のインストール実行回数が復活(減算)されないまま、アプリケーションソフトウェアだけが使用できなくなる。
Further, the above-described conventional installation control program process has the following problems regarding the execution order of the “uninstall process” and the “update write process of the number of install execution times” at the time of executing the uninstall process.
・ Problems when executed in the order of “Uninstallation process” → “Update write process of install execution count” After an application software uninstall process, if an error occurs during update write of install execution count, installation on the hybrid disk Only the application software cannot be used without the number of executions being restored (subtracted).

・そのような不具合を避けるために、「インストール実行回数の更新書き込み処理」→「アンインストール処理」という順序で実行した場合の問題
インストール実行回数の更新書き込み処理が終了後、故意にインストール制御プログラムを終了させたりなどして、アンインストール処理に移行しなかった場合、ハイブリッドディスク上のインストール実行回数が復活(減算)したうえに、アプリケーションソフトウェアの使用も継続できてしまう。
上記いずれの場合も、ハイブリッドディスク上のインストール実行回数と、実際のアンインストール結果に矛盾が生じるという問題があった。
この発明は上記の点に鑑みてなされたものであり、データのインストールを予め設定した実行回数で確実に制限できるようにすることを目的とする。
・ In order to avoid such problems, problems when executing in the order of “Installation execution number update writing process” → “Uninstallation process” After the installation execution number update writing process is completed, the installation control program is intentionally If the uninstallation process is not performed due to, for example, being terminated, the number of installation executions on the hybrid disk is restored (subtracted) and the use of the application software can be continued.
In any of the above cases, there is a problem in that there is a discrepancy between the number of times of installation on the hybrid disk and the actual uninstall result.
The present invention has been made in view of the above points, and it is an object of the present invention to reliably limit the installation of data by a preset number of executions.

この発明は上記の目的を達成するため、次のプログラムを提供する。
(1)コンピュータに、インストール先の記録媒体へデータをインストールする手順と、その手順によってインストールしたデータを使用不可能状態にする手順と、その手順によって使用不可能状態にしたデータのインストール実行回数を更新する手順と、その手順によって更新したインストール実行回数を上記記録媒体とは異なる他の記録媒体へ書き込む手順と、その手順による書き込みが成功したときにのみ、上記使用不可能状態にしたデータを使用可能状態へ戻す手順を実行させるためのプログラム。
(2)上記(1)のプログラムにおいて、上記データを使用不可能状態にする手順は、上記データの内容を暗号化することによってそのままでは使用不可能な状態にする手順であるプログラム。
In order to achieve the above object, the present invention provides the following program.
(1) A procedure for installing data in a recording medium at an installation destination in a computer, a procedure for making the data installed by the procedure unusable, and the number of times of installation of the data made unusable by the procedure The procedure for updating, the procedure for writing the number of installation executions updated by the procedure to another recording medium different from the recording medium, and the data that has been made unusable only when writing by that procedure is successful Program to execute the procedure to return to the possible state.
(2) In the program of (1), the procedure for making the data unusable is a procedure for making the data unusable by encrypting the content of the data.

(3)コンピュータに、記録媒体にインストールされたアンインストール対象のデータを使用不可能状態にする手順と、その手順によって使用不可能状態にしたデータのインストール実行回数を更新する手順と、その手順によって更新したインストール実行回数を上記記録媒体とは異なる他の記録媒体へ書き込む手順と、その手順による書き込みが成功したときは上記アンインストール対象のデータをアンインストールし、上記書き込みが失敗したときは上記アンインストール対象のデータを使用可能状態へ戻す手順を実行させるためのプログラム。
(4)上記(3)のプログラムにおいて、上記アンインストール対象のデータを使用不可能状態にする手順は、上記アンインストール対象のデータの内容を暗号化することによってそのままでは使用不可能な状態にする手順であるプログラム。
(3) A procedure for making the data to be uninstalled installed on the recording medium in the computer unusable, a procedure for updating the number of times of installation of the data made unusable by the procedure, and the procedure The procedure for writing the updated number of times of installation to another recording medium different from the recording medium, and if the writing by the procedure is successful, uninstalls the data to be uninstalled, and if the writing fails, A program for executing the procedure to return the data to be installed to a usable state.
(4) In the program of (3) above, the procedure for making the data to be uninstalled unusable is made unusable by encrypting the contents of the data to be uninstalled. A program that is a procedure.

この発明によるプログラムは、コンピュータに、データのインストールを予め設定した実行回数で確実に制限できるようにするための機能を実現させることができる。   The program according to the present invention can cause a computer to realize a function for reliably restricting the installation of data by a preset number of executions.

以下、この発明を実施するための最良の形態を図面に基づいて具体的に説明する。
〔実施例〕
図2は、この発明のプログラムを実行する情報処理装置の機能構成を示すブロック図である。
この情報処理装置2は、パーソナルコンピュータ(PC)を含むコンピュータ装置であり、CD,DVDを含む光ディスクを含むハイブリッドディスク1に記録されたアプリケーションソフトウェアプログラムを含むデータをインストールし、そのデータを利用することができる。
Hereinafter, the best mode for carrying out the present invention will be specifically described with reference to the drawings.
〔Example〕
FIG. 2 is a block diagram showing a functional configuration of the information processing apparatus that executes the program of the present invention.
The information processing apparatus 2 is a computer apparatus including a personal computer (PC), and installs data including application software programs recorded on a hybrid disk 1 including an optical disk including a CD and a DVD and uses the data. Can do.

情報処理装置2は、入力部20、表示部21、記憶部22、光ディスク装置23、制御部24からなる。
入力部20は、キーボード、マウスを含む利用者が各種の操作情報を入力する入力装置であり、その操作情報を制御部24へ出力する。
表示部21は、CRT、LCDを含む各種の表示装置であり、ハイブリッドディスク1に記録されたデータをインストール・アンインストールする際の作業画面、インストールしたデータを利用するときの作業画面を含む各種の情報を制御部24から出力される表示データに基づいて表示する。
記憶部22は、ハードディスク装置を含む記憶装置であり、ハイブリッドディスク1に記録されたデータのインストール先とアンインストール元であり、制御部24からの指示に基づいて要求されたデータの書き込み、読み出し、削除をする。
The information processing apparatus 2 includes an input unit 20, a display unit 21, a storage unit 22, an optical disc device 23, and a control unit 24.
The input unit 20 is an input device for inputting various types of operation information by a user including a keyboard and a mouse, and outputs the operation information to the control unit 24.
The display unit 21 is a variety of display devices including a CRT and an LCD, and includes various work screens including a work screen for installing / uninstalling data recorded on the hybrid disc 1 and a work screen for using the installed data. Information is displayed based on display data output from the control unit 24.
The storage unit 22 is a storage device including a hard disk device, and is an installation destination and an uninstallation source of data recorded on the hybrid disc 1, and writing and reading of data requested based on instructions from the control unit 24, Delete it.

光ディスク装置23は、ハイブリッドディスク1を装着し、制御部24による制御に基づいて制御部24から送られたデータをハイブリッドディスク1に書き込み、ハイブリッドディスク1に記録されているデータを読み出して制御部24へ出力する。なお、図中にはハイブリッドディスク1を示したが、その他の光ディスクを装着してデータの読み書きを行える。   The optical disk device 23 is loaded with the hybrid disk 1, writes data sent from the control unit 24 to the hybrid disk 1 based on control by the control unit 24, reads data recorded on the hybrid disk 1, and controls the control unit 24. Output to. Although the hybrid disk 1 is shown in the figure, data can be read and written by mounting other optical disks.

制御部24は、CPU、ROM、RAMを含むメモリ25からなるマイクロコンピュータによって実現され、この情報処理装置2の全体の制御を司り、この発明に係るプログラムの手順を実行することにより、インストール先の記憶部22へデータをインストールし、そのインストールしたデータを使用不可能状態にし、その使用不可能状態にしたデータのインストール実行回数を更新し、その更新したインストール実行回数をハイブリッドディスク1へ書き込み、その書き込みが成功したときにのみ、上記使用不可能状態にしたデータを使用可能状態へ戻す方法の処理を実行する。   The control unit 24 is realized by a microcomputer including a memory 25 including a CPU, a ROM, and a RAM. The control unit 24 controls the entire information processing apparatus 2 and executes the program procedure according to the present invention to The data is installed in the storage unit 22, the installed data is made unusable, the install execution number of the data made unusable is updated, and the updated install execution number is written to the hybrid disk 1, Only when the writing is successful, the processing of the method for returning the data in the unusable state to the usable state is executed.

また、記憶部22にインストールされたアンインストール対象のデータを使用不可能状態にし、その使用不可能状態にしたデータのインストール実行回数を更新し、その更新したインストール実行回数をハイブリッドディスク1へ書き込み、その書き込みが成功したときは上記アンインストール対象のデータをアンインストールし、上記書き込みが失敗したときは上記アンインストール対象のデータを使用可能状態へ戻す方法の処理を実行する。
さらに、上記データを使用不可能状態にする処理として、上記データの内容を暗号化することによってそのままでは使用不可能な状態にする方法の処理を実行する。
In addition, the data to be uninstalled installed in the storage unit 22 is made unusable, the install execution count of the data made unusable is updated, and the updated install run count is written to the hybrid disk 1. When the writing is successful, the uninstall target data is uninstalled, and when the writing fails, the process of returning the uninstall target data to the usable state is executed.
Further, as a process of making the data unusable, a process of a method of making the data unusable by encrypting the content of the data is executed.

すなわち、上述の方法の処理を実行することにより、この制御部24を含む各部は、インストール先の記録媒体へデータをインストールする手段と、その手段によってインストールしたデータを使用不可能状態にする手段と、その手段によって使用不可能状態にしたデータのインストール実行回数を更新する手段と、その手段によって更新したインストール実行回数を上記記録媒体とは異なる他の記録媒体へ書き込む手段と、その手段による書き込みが成功したときにのみ、上記使用不可能状態にしたデータを使用可能状態へ戻す手段の機能を果たす。   That is, by executing the processing of the above-described method, each unit including the control unit 24 installs data on the recording medium of the installation destination, and puts the data installed by the unit into an unusable state. Means for updating the number of times of installation of data that has been made unusable by the means, means for writing the number of times of installation execution updated by the means to another recording medium different from the recording medium, and writing by the means Only when it succeeds, it functions as a means for returning the data in the unusable state to the usable state.

また、記録媒体にインストールされたアンインストール対象のデータを使用不可能状態にする手段と、その手段によって使用不可能状態にしたデータのインストール実行回数を更新する手段と、その手段によって更新したインストール実行回数を上記記録媒体とは異なる他の記録媒体へ書き込む手段と、その手段による書き込みが成功したときは上記アンインストール対象のデータをアンインストールし、上記書き込みが失敗したときは上記アンインストール対象のデータを使用可能状態へ戻す手段の機能を果たす。
さらに、上記アンインストール対象のデータを使用不可能状態にする手段として、上記アンインストール対象のデータの内容を暗号化することによってそのままでは使用不可能な状態にする手段の機能も果たす。
In addition, a means for making the data to be uninstalled installed on the recording medium unusable, a means for updating the number of times the data has been made unusable by the means, and an installation execution updated by the means Means for writing the number of times to another recording medium different from the recording medium, and uninstalls the data to be uninstalled when writing by the means is successful, and the data to be uninstalled when the writing fails. It functions as a means for returning to a usable state.
Furthermore, as means for making the data to be uninstalled unusable, it also functions as means for making the state unusable by encrypting the content of the data to be uninstalled.

一方、ハイブリッドディスク1は、ハイブリッドCD−Rディスク、ハイブリッドDVDディスクを含むインストールディスクであり、例えば、インストール対象のデータとしてアプリケーションソフトウェアプログラム(以下「アプリケーションソフトウェア」という)を記録し、データの書き込みをトラックアットワンスのマルチセッション方式で行うものとする。   On the other hand, the hybrid disc 1 is an installation disc including a hybrid CD-R disc and a hybrid DVD disc. For example, an application software program (hereinafter referred to as “application software”) is recorded as data to be installed, and data writing is tracked. It is assumed that it is performed by the at-once multisession method.

図1は、図2に示したハイブリッドディスク1のフォーマット例を示す図である。
ここでは、ハイブリッドCD−Rディスクの場合を説明する。
同図の(a)は、ハイブリッドディスク1が未使用状態のときのフォーマット例を示しており、その記録領域には、データの読み取り専用領域(以下「読み取り専用領域」という)10と、追記によるデータの書き込み可能領域(以下「書き込み可能領域」という)11が存在する。
FIG. 1 is a diagram showing a format example of the hybrid disk 1 shown in FIG.
Here, the case of a hybrid CD-R disc will be described.
(A) of the figure shows a format example when the hybrid disk 1 is not in use. The recording area includes a data read-only area (hereinafter referred to as “read-only area”) 10 and additional writing. A data writable area (hereinafter referred to as “writable area”) 11 exists.

読み取り専用領域10には、インストール制御プログラム12とアンインストール制御プログラム13が記録されている。そのインストール制御プログラム12は任意のアプリケーションソフトウェアを他の記録媒体にインストールするための手順のプログラムからなるインストーラ一式のデータである。また、アンインストール制御プログラム13は記録媒体にインストールされたアプリケーションソフトウェアをアンインストールするための手順のプログラムからなるアンインストーラ一式のデータである。
さらに、読み取り専用領域10には、現在のインストール実行回数を持つインストール実行回数保持ファイル14が記録されており、初期状態のインストール実行回数は「0」である。一方、書き込み可能領域11は、未記録状態である。
In the read-only area 10, an install control program 12 and an uninstall control program 13 are recorded. The installation control program 12 is a set of installer data including a program for a procedure for installing arbitrary application software on another recording medium. The uninstall control program 13 is a set of uninstaller data including a program for a procedure for uninstalling application software installed on the recording medium.
Further, an installation execution count holding file 14 having the current installation execution count is recorded in the read-only area 10, and the installation execution count in the initial state is “0”. On the other hand, the writable area 11 is in an unrecorded state.

なお、上記インストール対象の任意のアプリケーションソフトウェアは、読み取り専用領域10、書き込み可能領域11、又は他の記録媒体に記録することができるが、以下の説明では読み取り専用領域10に記録されている場合について説明するが、他の記録先に記録されている場合でも後述と同様にして実施することができる。   The arbitrary application software to be installed can be recorded in the read-only area 10, the writable area 11, or another recording medium. However, in the following description, the case is recorded in the read-only area 10. As will be described, even in the case where it is recorded in another recording destination, it can be carried out in the same manner as described later.

同図の(b)は、アプリケーションソフトウェアのインストールを一回実行したあとのハイブリッドディスク1のフォーマット例を示しており、インストール実行回数が更新されたインストール実行回数保持ファイル16が、書き込み可能領域11にデータが追記された部分である追記領域15中に含まれている。この場合のインストール実行回数保持ファイル16は、一回のインストールを実行したあとなのでファイル内に書き込まれているインストール実行回数は「1」である。
このハイブリッドディスク1はマルチセッションディスクであるため、最新に追記されたインストール実行回数保持ファイル16が有効となり、次に読み出されるのはインストール実行回数保持ファイル16の方である。
FIG. 5B shows an example of the format of the hybrid disk 1 after the installation of the application software is executed once. The installation execution count holding file 16 with the updated installation execution count is stored in the writable area 11. It is included in the additional recording area 15 which is a portion where data is additionally recorded. Since the installation execution count holding file 16 in this case is after one installation, the installation execution count written in the file is “1”.
Since this hybrid disk 1 is a multi-session disk, the latest installed execution count holding file 16 becomes valid, and the next read is the installation execution count holding file 16.

次に、図2に示す情報処理装置2におけるインストール動作について説明する。
図3は、図2に示す情報処理装置2におけるインストール動作の処理を示すフローチャート図である。
制御部24は、光ディスク装置23によってハイブリッドディスク1上に記録されたインストール制御プログラム(以下「インストーラ」という)を読み出してメモリ25に保持し、そのインストーラを起動し、ハイブリッドディスク1の読み取り専用領域10に記録されたアプリケーションソフトウェアのインストール動作を開始する。
制御部24は、アプリケーションソフトウェアのインストール動作を開始すると、図3のステップ(図中「S」で示す)1で、光ディスク装置によってハイブリッドディスク上のインストール実行回数保持ファイルを読み込み、そのインストール実行回数保持ファイルに書き込まれたインストール実行回数N(Nは0以上の整数)をメモリ上に保持し、ステップ2へ進む。
Next, an installation operation in the information processing apparatus 2 shown in FIG. 2 will be described.
FIG. 3 is a flowchart showing processing of an installation operation in the information processing apparatus 2 shown in FIG.
The control unit 24 reads an installation control program (hereinafter referred to as “installer”) recorded on the hybrid disk 1 by the optical disk device 23, stores it in the memory 25, starts the installer, and reads the read-only area 10 of the hybrid disk 1. The installation operation of the application software recorded in is started.
When the installation operation of the application software is started, the control unit 24 reads the installation execution count holding file on the hybrid disc by the optical disc apparatus in step 1 (indicated by “S” in the drawing) 1 in FIG. The number N of installation executions written in the file (N is an integer of 0 or more) is held in the memory, and the process proceeds to Step 2.

このステップ1では、このハイブリッドディスク1はマルチセッションディスクであるため、最新に追記されたインストール実行回数保持ファイルが読み出し対象になり、一回もインストールが実行されていない場合、読み取り専用領域に記録されているインストール実行回数保持ファイルを読み出し、そのインストール実行回数は「0」である。また、既に一回でもインストールが実行された場合、追記領域に記録されているインストール実行回数保持ファイルを読み出す。
ステップ2では、インストーラ自身のコード上で予め設定されているインストール許可回数M(Mは正の整数)と上記インストール実行回数Nを比較し、ステップ3へ進む。
ステップ3では、インストール実行回数N<インストール許可回数Mか否かを判断し、N<Mならばインストール可能と判断してステップ4へ進む。
In this step 1, since this hybrid disc 1 is a multi-session disc, the installation execution count holding file added last is the target of reading, and if installation has never been executed, it is recorded in the read-only area. The installation execution count holding file is read, and the installation execution count is “0”. In addition, when the installation has already been executed even once, the installation execution count holding file recorded in the additional recording area is read out.
In step 2, the installation permitted number M (M is a positive integer) set in advance on the code of the installer itself is compared with the installation execution number N, and the process proceeds to step 3.
In step 3, it is determined whether or not the number N of installation executions is smaller than the number M of permitted installations.

ステップ4では、ハイブリッドディスクの読み取り専用領域からアプリケーションソフトウェアを構成するファイル群を読み出し、そのファイル群を記憶部のインストール先ディレクトリとして設定された特定のディレクトリにコピーしてインストールし、ステップ5へ進む。
ステップ5では、記憶部にコピーしてインストールしたファイル群の内の予め定められたファイル(1つでも複数でも良い)のファイル名をリネーム(変更)し、ステップ6へ進む。
上記ファイル群の内の予め定められたファイルとしては、そのファイルがインストールされたアプリケーションソフトウェアの動作上必要なファイルにするとよい。
In step 4, the file group constituting the application software is read from the read-only area of the hybrid disk, the file group is copied and installed in a specific directory set as the installation destination directory of the storage unit, and the process proceeds to step 5.
In step 5, a file name of a predetermined file (one or a plurality of files may be renamed) in the file group copied and installed in the storage unit is renamed (proceeding to step 6).
The predetermined file in the file group may be a file necessary for the operation of the application software in which the file is installed.

上記リネームは、例えば、ファイル群の内の予め定められたファイルのファイル名が「car_race.exe」の場合、それを例えば「AAAAA.dat」に変更する。
このようにして、インストールされたアプリケーションソフトウェアの動作上必要なファイルのファイル名を変更することにより、アプリケーションソフトウェアを起動してもそのファイルを参照できなくなって正常に動作することができなくなり、アプリケーションソフトウェアを使用不可能状態にすることができる。
ステップ6では、メモリに保持しているインストール実行回数保持ファイルのインストール実行回数をN+1に更新(インストール実行回数Nに1をインクリメント)し、その更新されたインストール実行回数をインストール実行回数保持ファイルに記録し、ステップ7へ進む。
For example, when the file name of a predetermined file in the file group is “car_race.exe”, the rename is changed to “AAAAA.dat”, for example.
In this way, by changing the file name of the file necessary for the operation of the installed application software, even if the application software is started, the file cannot be referred to and cannot operate normally. Can be disabled.
In step 6, the installation execution number of the installation execution number holding file stored in the memory is updated to N + 1 (incremented by 1 to the installation execution number N), and the updated installation execution number is recorded in the installation execution number holding file. Then, go to Step 7.

ステップ7では、メモリ上のインストール実行回数を更新したインストール実行回数保持ファイルを光ディスク装置によってハイブリッドディスクの書き込み可能領域に追記で書き込み、ステップ8へ進む。
ステップ8では、ハイブリッドディスクへのインストール実行回数保持ファイルの書き込みは成功したか否かを判断し、成功したら、ステップ9へ進む。
ステップ9では、ステップ5でリネームしたファイルを元のファイル名に戻し、すなわち、ファイル名を「AAAAA.dat」から「car_race.exe」に書き換えて、このインストール処理を終了する。
このようにして、インストールされたアプリケーションソフトウェアの動作上必要なファイルのファイル名が元の正常な状態に戻るので、アプリケーションソフトウェアはインストール対象ファイル一式を使用して正常に動作することが可能になる。
In step 7, the install execution count holding file in which the install execution count on the memory is updated is additionally written in the writable area of the hybrid disc by the optical disc apparatus, and the process proceeds to step 8.
In step 8, it is determined whether or not the writing of the installation execution count holding file to the hybrid disk is successful.
In step 9, the file renamed in step 5 is returned to the original file name, that is, the file name is rewritten from “AAAAAA.dat” to “car_race.exe”, and this installation process is terminated.
In this way, the file name of the file necessary for the operation of the installed application software returns to the original normal state, so that the application software can operate normally using the set of installation target files.

一方、ステップ3でインストール実行回数N<インストール許可回数Mではないと判断したら、すでにインストール許可回数の上限回数に達していると判断して、インストールを中止し、このインストール処理を終了する。
また、ステップ8でハイブリッドディスクへのインストール実行回数保持ファイルの書き込みが成功しなかった(失敗した)と判断したら、そのままインストール処理を終了し、上記リネームされたファイルはそのままになってインストールされた上記アプリケーションソフトウェアを起動しても正常に動作できなくなる。
On the other hand, if it is determined in step 3 that the number N of installation executions is not less than the number M of permitted installations, it is determined that the upper limit number of permitted installations has already been reached, the installation is stopped, and the installation process is terminated.
If it is determined in step 8 that writing of the installation execution count holding file to the hybrid disk was not successful (failed), the installation process is terminated, and the renamed file is left as it is. Even if the application software is started, it cannot operate normally.

なお、上述の処理例では、アプリケーションソフトウェアの所定のファイルのファイル名を変更することにより一時的に使用不可能状態を作り出したが、該当ファイルを一時的に別ディレクトリへ移動して使用不可能状態にするようにしても良い。
また、ファイル名のリネームと共に、該当ファイルを一時的に別ディレクトリへ移動する処理を併せて行うようにすれば、使用不可能状態をより強固にすることができる。
In the above processing example, the unusable state is temporarily created by changing the file name of the predetermined file of the application software. However, the unusable state is created by temporarily moving the file to another directory. You may make it.
If the process of moving the file temporarily to another directory is performed together with the renaming of the file name, the unusable state can be further strengthened.

こうして、アプリケーションソフトウェアのインストール時、インストール実行回数が更新されてハイブリッドディスクに正常に書き込まれた場合にのみアプリケーションソフトウェアを使用できるようにしたので、アプリケーションソフトウェアのインストール回数を正確にカウントすることができ、ハイブリッドディスク上のインストール実行回数と、実際のインストール結果に矛盾が生じず、アプリケーションソフトウェアのインストールを予め設定した実行回数で確実に制限することができる。   In this way, when installing the application software, the application software can be used only when the installation execution count is updated and written successfully to the hybrid disc, so the installation count of the application software can be accurately counted, There is no discrepancy between the number of times of installation on the hybrid disk and the actual installation result, and the installation of application software can be surely limited by a preset number of executions.

次に、上述の処理では、アプリケーションソフトウェアのインストールの際、そのアプリケーションソフトウェアの所定のファイルのファイル名をリネーム、又は一部のファイルを別のディレクトリへ移動することにより、アプリケーションソフトウェアを使用不可能状態にする場合を説明したが、ファイルの内容自体は変更されていないので、強制的に元に戻される(使用可能状態に戻される)可能性がある。
そこで、より確実な「使用不可能状態」にした場合の処理について説明する。
Next, in the above-described processing, when the application software is installed, the application software cannot be used by renaming a predetermined file of the application software or moving some files to another directory. However, since the contents of the file itself have not been changed, there is a possibility that the file is forcibly restored (returned to the usable state).
Therefore, a process when the more reliable “unusable state” is set will be described.

次に、図2に示す情報処理装置2における他のインストール動作について説明する。
図4は、図2に示す情報処理装置2における他のインストール動作の処理を示すフローチャート図である。
制御部24は、光ディスク装置23によってハイブリッドディスク1上に記録されたインストーラを読み出してメモリ25に保持し、そのインストーラを起動し、ハイブリッドディスク1の読み取り専用領域10に記録されたアプリケーションソフトウェアのインストール動作を開始する。
制御部24は、アプリケーションソフトウェアのインストール動作を開始すると、図4のステップ(図中「S」で示す)11で、光ディスク装置によってハイブリッドディスク上のインストール実行回数保持ファイルを読み込み、そのインストール実行回数保持ファイルに書き込まれたインストール実行回数N(Nは0以上の整数)をメモリ上に保持し、ステップ12へ進む。
Next, another installation operation in the information processing apparatus 2 shown in FIG. 2 will be described.
FIG. 4 is a flowchart showing processing of another installation operation in the information processing apparatus 2 shown in FIG.
The control unit 24 reads the installer recorded on the hybrid disk 1 by the optical disk device 23, holds it in the memory 25, starts the installer, and installs the application software recorded in the read-only area 10 of the hybrid disk 1. To start.
When starting the installation operation of the application software, the control unit 24 reads the installation execution count holding file on the hybrid disc by the optical disc apparatus in step (indicated by “S” in FIG. 4) 11 and holds the installation execution count. The number N of installation executions written in the file (N is an integer equal to or larger than 0) is held in the memory, and the process proceeds to Step 12.

このステップ11では、このハイブリッドディスク1はマルチセッションディスクであるため、最新に追記されたインストール実行回数保持ファイルが読み出し対象になり、一回もインストールが実行されていない場合、読み取り専用領域に記録されているインストール実行回数保持ファイルを読み出し、そのインストール実行回数は「0」である。また、既に一回でもインストールが実行された場合、書き込み可能領域に記録されているインストール実行回数保持ファイルを読み出す。
ステップ12では、インストーラ自身のコード上で予め設定されているインストール許可回数M(Mは正の整数)と上記インストール実行回数Nを比較し、ステップ13へ進む。
In this step 11, since this hybrid disk 1 is a multi-session disk, the latest added execution execution holding file is to be read, and if installation has never been executed, it is recorded in the read-only area. The installation execution count holding file is read, and the installation execution count is “0”. If the installation has already been executed even once, the installation execution count holding file recorded in the writable area is read.
In step 12, the installation permission number M (M is a positive integer) set in advance on the installer's own code is compared with the installation execution number N, and the process proceeds to step 13.

ステップ13では、インストール実行回数N<インストール許可回数Mか否かを判断し、N<Mならばインストール可能と判断してステップ14へ進む。
ステップ14では、ハイブリッドディスクの読み取り専用領域からアプリケーションソフトウェアを構成するファイル群を読み出し、そのファイル群を記憶部のインストール先ディレクトリとして設定された特定のディレクトリにコピーしてインストールし、ステップ15へ進む。
ステップ15では、記憶部にコピーしてインストールしたファイル群の内の予め定められたファイル(1つでも複数でも良い)を暗号化し、ステップ16へ進む。
上記ファイルの暗号化は周知の技術を用いると良い。
In step 13, it is determined whether or not the number N of installation executions is smaller than the number M of permitted installations.
In step 14, the file group constituting the application software is read from the read-only area of the hybrid disk, the file group is copied and installed in a specific directory set as the installation destination directory of the storage unit, and the process proceeds to step 15.
In step 15, a predetermined file (one or a plurality of files) in the file group copied and installed in the storage unit is encrypted, and the process proceeds to step 16.
A known technique may be used to encrypt the file.

このようにして、インストールされたアプリケーションソフトウェアの動作上必要なファイルを暗号化することにより、アプリケーションソフトウェアを起動してもそのファイルを参照しても内容を解釈できなくなって正常に動作することができなくなり、アプリケーションソフトウェアを使用不可能状態にすることができる。
ステップ16では、メモリに保持しているインストール実行回数保持ファイルのインストール実行回数をN+1に更新(インストール実行回数Nに1をインクリメント)し、その更新されたインストール実行回数をインストール実行回数保持ファイルに記録し、ステップ17へ進む。
In this way, by encrypting the files necessary for the operation of the installed application software, the contents cannot be interpreted even if the application software is started or the file is referenced, and it can operate normally. The application software can be disabled.
In step 16, the installation execution count of the installation execution count holding file stored in the memory is updated to N + 1 (incremented by 1 to the installation execution count N), and the updated installation execution count is recorded in the installation execution count holding file. Then, the process proceeds to Step 17.

ステップ17では、メモリ上のインストール実行回数を更新したインストール実行回数保持ファイルを光ディスク装置によってハイブリッドディスクの書き込み可能領域に追記で書き込み、ステップ18へ進む。
ステップ18では、ハイブリッドディスクへのインストール実行回数保持ファイルの書き込みは成功したか否かを判断し、成功したら、ステップ19へ進む。
ステップ19では、ステップ15で暗号化したファイルを復号化して元のファイルに戻し、このインストール処理を終了する。
In step 17, the install execution count holding file in which the install execution count on the memory is updated is additionally written in the writable area of the hybrid disc by the optical disc apparatus, and the process proceeds to step 18.
In step 18, it is determined whether or not the writing of the installation execution count holding file to the hybrid disk is successful. If successful, the process proceeds to step 19.
In step 19, the file encrypted in step 15 is decrypted and returned to the original file, and the installation process is terminated.

このようにして、インストールされたアプリケーションソフトウェアの動作上必要なファイルが元の正常な内容に戻るので、アプリケーションソフトウェアはインストール対象ファイル一式を使用して正常に動作することが可能になる。
一方、ステップ13でインストール実行回数N<インストール許可回数Mではないと判断したら、すでにインストール許可回数の上限回数に達していると判断して、インストールを中止し、このインストール処理を終了する。
また、ステップ18でハイブリッドディスクへのインストール実行回数保持ファイルの書き込みが成功しなかった(失敗した)と判断したら、そのままインストール処理を終了し、上記暗号化されたファイルはそのままになってインストールされた上記アプリケーションソフトウェアを起動しても正常に動作できなくなる。
In this way, the files necessary for the operation of the installed application software are restored to the original normal contents, so that the application software can operate normally using the set of installation target files.
On the other hand, if it is determined in step 13 that the number N of installation executions is not less than the number M of permitted installations, it is determined that the upper limit number of permitted installations has already been reached, the installation is stopped, and the installation process is terminated.
If it is determined in step 18 that writing of the installation execution count holding file to the hybrid disk was not successful (failed), the installation process is terminated, and the encrypted file is left as it is. Even if the above application software is started, it cannot operate normally.

なお、上述の処理において、ファイル名のリネーム又は該当ファイルを一時的に別ディレクトリへ移動する処理を併せて行うようにすれば、使用不可能状態をより強固にすることができる。   In addition, in the above-described process, if the process of renaming a file name or the process of temporarily moving the corresponding file to another directory is performed, the unusable state can be further strengthened.

こうして、アプリケーションソフトウェアのインストール時、インストール実行回数が更新されてハイブリッドディスクに正常に書き込まれた場合にのみアプリケーションソフトウェアを使用できるようにしたので、アプリケーションソフトウェアのインストール回数を正確にカウントすることができ、ハイブリッドディスク上のインストール実行回数と、実際のインストール結果に矛盾が生じず、アプリケーションソフトウェアのインストールを予め設定した実行回数で確実に制限することができる。
さらに、より強固な「使用不可能状態」を提供でき、結果的にアプリケーションの不正インストールと不正使用を防止することができる。
In this way, when installing the application software, the application software can be used only when the installation execution count is updated and written successfully to the hybrid disc, so the installation count of the application software can be accurately counted, There is no discrepancy between the number of times of installation on the hybrid disk and the actual installation result, and the installation of application software can be surely limited by a preset number of executions.
Furthermore, a stronger “unusable state” can be provided, and as a result, unauthorized installation and unauthorized use of the application can be prevented.

次に、図2に示す情報処理装置2におけるアンインストール動作について説明する。
図5は、図2に示す情報処理装置2におけるアンインストール動作の処理を示すフローチャート図である。
制御部24は、光ディスク装置23によってハイブリッドディスク1上に記録されたアンインストール制御プログラム(以下「アンインストーラ」という)を読み出してメモリ25に保持し、そのアンインストーラを起動し、記憶部22にインストールされている指定されたアプリケーションソフトウェアのアンインストール動作を開始する。
制御部24は、アプリケーションソフトウェアのアンインストール動作を開始すると、図5のステップ(図中「S」で示す)21で、記憶部にインストールされて記憶されているアンインストール対象のアプリケーションソフトウェアを構成するファイル群の内の予め定められたファイル(1つでも複数でも良い)のファイル名をリネーム(変更)し、ステップ22へ進む。
Next, an uninstall operation in the information processing apparatus 2 shown in FIG. 2 will be described.
FIG. 5 is a flowchart showing the process of the uninstall operation in the information processing apparatus 2 shown in FIG.
The control unit 24 reads an uninstall control program (hereinafter referred to as “uninstaller”) recorded on the hybrid disc 1 by the optical disc device 23, stores it in the memory 25, starts the uninstaller, and installs it in the storage unit 22. Start uninstalling the specified application software.
When starting the uninstall operation of the application software, the control unit 24 configures the application software to be uninstalled that is installed and stored in the storage unit in step (indicated by “S” in FIG. 5) 21 in FIG. Rename (change) the file name of a predetermined file (one or more) in the file group, and proceed to Step 22.

上記ファイル群の内の予め定められたファイルとしては、そのファイルがアプリケーションソフトウェアの動作上必要なファイルにするとよい。
上記リネームは、例えば、ファイル群の内の予め定められたファイルのファイル名が「car_race.exe」の場合、それを例えば「AAAAA.dat」に変更する。
このようにして、アプリケーションソフトウェアの動作上必要なファイルのファイル名を変更することにより、アプリケーションソフトウェアを起動してもそのファイルを参照できなくなって正常に動作することができなくなり、アプリケーションソフトウェアを使用不可能状態にすることができる。
ステップ22では、光ディスク装置によってハイブリッドディスク上に書き込まれているインストール実行回数保持ファイルを読み込み、そのインストール実行回数保持ファイルに書き込まれたインストール実行回数N(Nは0以上の整数)をメモリ上に保持し、ステップ23へ進む。
The predetermined file in the group of files may be a file necessary for the operation of the application software.
For example, when the file name of a predetermined file in the file group is “car_race.exe”, the rename is changed to “AAAAA.dat”, for example.
In this way, by changing the file name of a file that is necessary for the operation of the application software, even if the application software is started, the file cannot be referred to and cannot operate normally. It can be made possible.
In step 22, the installation execution count holding file written on the hybrid disk by the optical disc apparatus is read, and the installation execution count N (N is an integer of 0 or more) written in the installation execution count holding file is held in the memory. Then, the process proceeds to Step 23.

このステップ22では、このハイブリッドディスク1はマルチセッションディスクであるため、最新に追記されたインストール実行回数保持ファイルが読み出し対象になり、アンインストールの場合、既に少なくとも一回はインストールが実行されているので、追記領域に記録されているインストール実行回数保持ファイルを読み出すことになる。
ステップ23では、メモリに保持しているインストール実行回数保持ファイルのインストール実行回数をN−1に更新(インストール実行回数Nから1をデクリメント)し、その更新されたインストール実行回数をインストール実行回数保持ファイルに記録し、ステップ24へ進む。
In this step 22, since this hybrid disk 1 is a multi-session disk, the latest added execution execution number holding file is to be read, and in the case of uninstallation, the installation has already been executed at least once. Then, the installation execution count holding file recorded in the additional recording area is read out.
In step 23, the installation execution count of the installation execution count holding file stored in the memory is updated to N-1 (1 is decremented from the installation execution count N), and the updated installation execution count is used as the installation execution count holding file. And proceed to step 24.

このようにして、アンインストールを1回実行すれば、インストール実行を1回復活させることができる。
ステップ24では、メモリ上のインストール実行回数を更新したインストール実行回数保持ファイルを光ディスク装置によってハイブリッドディスクの書き込み可能領域へ追記で書き込み、ステップ25へ進む。
ステップ25では、ハイブリッドディスクへのインストール実行回数保持ファイルの書き込みは成功したか否かを判断し、成功したら、ステップ26へ進む。
ステップ26では、記憶部からアンインストール対象のアプリケーションソフトウェアを構成するファイル群(ファイル名をリネームしたファイルも含む)をすべて削除し、このアンインストール処理を終了する。
In this way, if the uninstallation is executed once, the installation execution can be recovered one time.
In step 24, the install execution count holding file in which the install execution count on the memory is updated is additionally written in the writable area of the hybrid disc by the optical disc apparatus, and the process proceeds to step 25.
In step 25, it is determined whether or not the writing of the installation execution count holding file to the hybrid disk is successful. If successful, the process proceeds to step 26.
In step 26, all the files (including the file whose file name is renamed) constituting the application software to be uninstalled are deleted from the storage unit, and this uninstall process is terminated.

一方、ステップ25でハイブリッドディスクへのインストール実行回数保持ファイルの書き込みが成功しなかった(失敗した)と判断したら、ステップ27でファイル名をリネームしたファイルを元のファイル名に戻し、アンインストール処理を終了する。
このようにして、インストール実行回数保持ファイルの書き込みが失敗したときは、リネームされたファイル名を元に戻すことにより、上記アプリケーションソフトウェアが再び正常に動作できるようにする。
すなわち、インストール実行回数保持ファイルの更新書き込みが成功した場合のみ、アンインストールが完了し、インストール実行回数保持ファイル更新書き込みが成功しなかった場合は、今までどおり、アプリケーションソフトウェアのファイル一式を使い続けることができる。
なお、上述の処理例では、アプリケーションソフトウェアの所定のファイルのファイル名を変更することにより一時的に使用不可能状態を作り出したが、該当ファイルを一時的に別ディレクトリへ移動して使用不可能状態にするようにしても良い。
また、ファイル名のリネームと共に、該当ファイルを一時的に別ディレクトリへ移動する処理を併せて行うようにすれば、使用不可能状態をより強固にすることができる。
On the other hand, if it is determined in step 25 that writing of the installation execution count holding file to the hybrid disk has not succeeded (failed), the renamed file is returned to the original file name in step 27 and the uninstall process is performed. finish.
In this way, when the writing of the installation execution count holding file fails, the renamed file name is restored so that the application software can operate normally again.
That is, only when the update writing of the installation execution count retention file is successful, if the uninstallation is completed and the update of the installation execution count retention file update is not successful, continue to use the application software file set as before. Can do.
In the above processing example, the unusable state is temporarily created by changing the file name of the predetermined file of the application software. However, the unusable state is created by temporarily moving the file to another directory. You may make it.
If the process of moving the file temporarily to another directory is performed together with the renaming of the file name, the unusable state can be further strengthened.

こうして、アプリケーションソフトウェアのアンインストール時、インストール実行回数が更新されてハイブリッドディスクに正常に書き込まれた後、アンインストール処理へ移行しなかった場合でも、アプリケーションソフトウェアを使用できなくすることができる。また、インストール実行回数が更新されてハイブリッドディスクに正常に書き込まれなかった場合は、アプリケーションソフトウェアを使用できる状態に戻すので、継続してアプリケーションソフトウェアを使用することができる。
したがって、アプリケーションソフトウェアのインストール回数を正確に保存することができ、ハイブリッドディスク上のインストール実行回数に基づいてアプリケーションソフトウェアのインストールを予め設定した実行回数で確実に制限することができる。
In this way, when the application software is uninstalled, the application software can be made unusable even if the number of installation executions is updated and normally written to the hybrid disk and then the process does not shift to the uninstall process. Further, when the number of installation executions is updated and is not normally written to the hybrid disk, the application software is returned to a usable state, so that the application software can be used continuously.
Therefore, the installation frequency of the application software can be accurately stored, and the installation of the application software can be surely limited by the preset execution frequency based on the installation execution frequency on the hybrid disk.

次に、上述の処理では、アプリケーションソフトウェアのアンインストールの際、そのアプリケーションソフトウェアの所定のファイルのファイル名をリネーム、又は一部のファイルを別のディレクトリへ移動することにより、アプリケーションソフトウェアを使用不可能状態にする場合を説明したが、ファイルの内容自体は変更されていないので、強制的に元に戻される(使用可能状態に戻される)可能性がある。
そこで、より確実な「使用不可能状態」にした場合の処理について説明する。
Next, in the above process, when uninstalling the application software, the application software cannot be used by renaming a predetermined file of the application software or moving some files to another directory. Although the case where the state is set to be described has been described, since the content of the file itself has not been changed, there is a possibility that the file may be forcibly returned (returned to the usable state).
Therefore, a process when the more reliable “unusable state” is set will be described.

次に、図2に示す情報処理装置2における他のアンインストール動作について説明する。
図6は、図2に示す情報処理装置2における他のアンインストール動作の処理を示すフローチャート図である。
制御部24は、光ディスク装置23によってハイブリッドディスク1上に記録されたアンインストーラを読み出してメモリ25に保持し、そのアンインストーラを起動し、記憶部22にインストールされている指定されたアプリケーションソフトウェアのアンインストール動作を開始する。
Next, another uninstall operation in the information processing apparatus 2 shown in FIG. 2 will be described.
FIG. 6 is a flowchart showing another uninstall operation process in the information processing apparatus 2 shown in FIG.
The control unit 24 reads out the uninstaller recorded on the hybrid disc 1 by the optical disc device 23, holds it in the memory 25, starts the uninstaller, and uninstalls the designated application software installed in the storage unit 22. Start the installation operation.

制御部24は、アプリケーションソフトウェアのアンインストール動作を開始すると、図6のステップ(図中「S」で示す)31で、記憶部にインストールされて記憶されているアンインストール対象のアプリケーションソフトウェアを構成するファイル群の内の予め定められたファイル(1つでも複数でも良い)を暗号化し、ステップ32へ進む。
上記ファイル群の内の予め定められたファイルとしては、そのファイルがアプリケーションソフトウェアの動作上必要なファイルにするとよい。
上記ファイルの暗号化は周知の技術を用いると良い。
このようにして、アンインストールするアプリケーションソフトウェアの動作上必要なファイルを暗号化することにより、アプリケーションソフトウェアを起動してもそのファイルを参照しても内容を解釈できなくなって正常に動作することができなくなり、アプリケーションソフトウェアを使用不可能状態にすることができる。
When starting the uninstall operation of the application software, the control unit 24 configures the application software to be uninstalled that is installed and stored in the storage unit in step (indicated by “S” in FIG. 6) 31 in FIG. A predetermined file (one or a plurality of files) in the file group is encrypted, and the process proceeds to Step 32.
The predetermined file in the group of files may be a file necessary for the operation of the application software.
A known technique may be used to encrypt the file.
In this way, by encrypting the files necessary for the operation of the application software to be uninstalled, the contents cannot be interpreted even if the application software is started or the file is referenced, and it can operate normally. The application software can be disabled.

ステップ32では、光ディスク装置によってハイブリッドディスク上に書き込まれているインストール実行回数保持ファイルを読み込み、そのインストール実行回数保持ファイルに書き込まれたインストール実行回数N(Nは0以上の整数)をメモリ上に保持し、ステップ33へ進む。
このステップ32では、このハイブリッドディスク1はマルチセッションディスクであるため、最新に追記されたインストール実行回数保持ファイルが読み出し対象になり、アンインストールの場合、既に少なくとも一回はインストールが実行されているので、追記領域に記録されているインストール実行回数保持ファイルを読み出すことになる。
In step 32, the installation execution count holding file written on the hybrid disk by the optical disc device is read, and the installation execution count N (N is an integer of 0 or more) written in the installation execution count holding file is held in the memory. Then, the process proceeds to Step 33.
In this step 32, since this hybrid disk 1 is a multi-session disk, the latest added execution execution count holding file is to be read, and in the case of uninstallation, the installation has already been executed at least once. Then, the installation execution count holding file recorded in the additional recording area is read out.

ステップ33では、メモリに保持しているインストール実行回数保持ファイルのインストール実行回数をN−1に更新(インストール実行回数Nから1をデクリメント)し、その更新されたインストール実行回数をインストール実行回数保持ファイルに記録し、ステップ34へ進む。
このようにして、アンインストールを1回実行すれば、インストール実行を1回復活させることができる。
ステップ34では、メモリ上のインストール実行回数を更新したインストール実行回数保持ファイルを光ディスク装置によってハイブリッドディスクの書き込み可能領域へ追記で書き込み、ステップ35へ進む。
In step 33, the installation execution count of the installation execution count holding file held in the memory is updated to N-1 (1 is decremented from the installation execution count N), and the updated installation execution count is stored in the installation execution count holding file. And proceed to step 34.
In this way, if the uninstallation is executed once, the installation execution can be recovered one time.
In step 34, the install execution count holding file in which the install execution count on the memory is updated is additionally written in the writable area of the hybrid disc by the optical disc apparatus, and the process proceeds to step 35.

ステップ35では、ハイブリッドディスクへのインストール実行回数保持ファイルの書き込みは成功したか否かを判断し、成功したら、ステップ36へ進む。
ステップ36では、記憶部からアンインストール対象のアプリケーションソフトウェアを構成するファイル群(暗号化したファイルも含む)をすべて削除し、このアンインストール処理を終了する。
一方、ステップ35でハイブリッドディスクへのインストール実行回数保持ファイルの書き込みが成功しなかった(失敗した)と判断したら、ステップ37で暗号化したファイルを復号化して元のファイルに戻し、このアンインストール処理を終了する。
このようにして、インストール実行回数保持ファイルの書き込みが失敗したときは、暗号化されたファイルを元に戻すことにより、上記アプリケーションソフトウェアが再び正常に動作できるようにする。
In step 35, it is determined whether or not the writing of the installation execution count holding file to the hybrid disk has succeeded. If successful, the process proceeds to step 36.
In step 36, all the file groups (including encrypted files) constituting the application software to be uninstalled are deleted from the storage unit, and the uninstallation process is terminated.
On the other hand, if it is determined in step 35 that writing of the installation execution count holding file to the hybrid disk has not succeeded (failed), the encrypted file is decrypted in step 37 and returned to the original file, and this uninstall process is performed. Exit.
In this way, when writing of the installation execution count holding file fails, the application software can be normally operated again by restoring the encrypted file.

すなわち、インストール実行回数保持ファイルの更新書き込みが成功した場合のみ、アンインストールが完了し、インストール実行回数保持ファイル更新書き込みが成功しなかった場合は、今までどおり、アプリケーションソフトウェアのファイル一式を使い続けることができる。
なお、上述の処理において、ファイル名のリネーム又は該当ファイルを一時的に別ディレクトリへ移動する処理を併せて行うようにすれば、使用不可能状態をより強固にすることができる。
That is, only when the update writing of the installation execution count retention file is successful, if the uninstallation is completed and the update of the installation execution count retention file update is not successful, continue to use the application software file set as before. Can do.
In addition, in the above-described process, if the process of renaming a file name or the process of temporarily moving the corresponding file to another directory is performed, the unusable state can be further strengthened.

こうして、アプリケーションソフトウェアのアンインストール時、インストール実行回数が更新されてハイブリッドディスクに正常に書き込まれた後、アンインストール処理へ移行しなかった場合でも、アプリケーションソフトウェアを使用できなくすることができる。また、インストール実行回数が更新されてハイブリッドディスクに正常に書き込まれなかった場合は、アプリケーションソフトウェアを使用できる状態に戻すので、継続してアプリケーションソフトウェアを使用することができる。
したがって、アプリケーションソフトウェアのインストール回数を正確に保存することができ、ハイブリッドディスク上のインストール実行回数に基づいてアプリケーションソフトウェアのインストールを予め設定した実行回数で確実に制限することができる。
さらに、より強固な「使用不可能状態」を提供でき、結果的にインストールされたアプリケーションをアンインストールしたように見せかけた不正使用を防止することができる。
In this way, when the application software is uninstalled, the application software can be made unusable even if the number of installation executions is updated and normally written to the hybrid disk and then the process does not shift to the uninstall process. Further, when the number of installation executions is updated and is not normally written to the hybrid disk, the application software is returned to a usable state, so that the application software can be used continuously.
Therefore, the installation frequency of the application software can be accurately stored, and the installation of the application software can be surely limited by the preset execution frequency based on the installation execution frequency on the hybrid disk.
Furthermore, it is possible to provide a stronger “unusable state”, and as a result, it is possible to prevent unauthorized use that appears to have uninstalled the installed application.

上述の実施例では、書き込み可能な領域が追記可能な領域であるハイブリッドCD−Rディスクを用いて、インストール実行回数保持ファイルをハイブリッドディスクの書き込み可能領域に追記する場合を説明したが、書き込み可能領域が書き換え可能な領域であるハイブリッドディスクを用いた場合、書き込み可能領域に保存されているインストール実行回数保持ファイルに対して更新後のインストール実行回数保持ファイルを上書き保存するようにすれば、記憶容量を節約することができる。
また、上述の実施例では、インストールするデータとしてアプリケーションソフトウェアの場合を説明したが、文書や画像や動画を含む各種のデータでも同様にして実施することができる。
In the above-described embodiment, the case where the installation execution count holding file is additionally written in the writable area of the hybrid disk using the hybrid CD-R disk in which the writable area is the writable area has been described. If you use a hybrid disk that is a rewritable area, you can save the storage capacity by overwriting the updated installation execution count retention file with respect to the installation execution count retention file saved in the writable area. Can be saved.
In the above-described embodiments, application software has been described as data to be installed. However, various types of data including documents, images, and moving images can be similarly implemented.

さらに、上述の実施例では、アプリケーションソフトウェアをインストールする度にインストール実行回数を加算し、アンインストールする度に減算する場合を説明したが、予め設定したインストール可能回数(例えば、5回)をハイブリッドディスクに保持し、アプリケーションソフトウェアをインストールする度にインストール可能回数を減算し、アンインストールする度に加算するようにしてもよい。その場合は、上述のインストール許可回数を設定する必要はなく、インストール実行回数とインストール許可回数の比較処理のステップを省略できるので、インストールとアンインストールの処理を軽減することができる。   Further, in the above-described embodiment, the case where the installation execution count is added every time the application software is installed and subtracted every time the application software is uninstalled is described. However, the preset installable count (for example, 5 times) is set to the hybrid disk. The number of installable times may be subtracted every time the application software is installed, and added every time the application software is uninstalled. In this case, it is not necessary to set the above-described installation permission count, and the step of comparing the installation execution count and the installation permission count can be omitted, so that the installation and uninstallation processes can be reduced.

この発明によるプログラムは、デスクトップパソコン,ノートブックパソコンを含むパーソナルコンピュータ、光ディスク装置においても適用することができる。   The program according to the present invention can also be applied to a personal computer including a desktop personal computer and a notebook personal computer, and an optical disk device.

図2に示すハイブリッドディスク1のフォーマット例を示す図である。FIG. 3 is a diagram showing a format example of the hybrid disk 1 shown in FIG. 2. この発明のプログラムを実行する情報処理装置の機能構成を示すブロック図である。It is a block diagram which shows the function structure of the information processing apparatus which performs the program of this invention. 図2に示す情報処理装置2におけるインストール動作の処理を示すフローチャート図である。FIG. 3 is a flowchart showing processing of an installation operation in the information processing apparatus 2 shown in FIG.

図2に示す情報処理装置2における他のインストール動作の処理を示すフローチャート図である。It is a flowchart figure which shows the process of the other installation operation | movement in the information processing apparatus 2 shown in FIG. 図2に示す情報処理装置2におけるアンインストール動作の処理を示すフローチャート図である。FIG. 3 is a flowchart showing processing of an uninstall operation in the information processing apparatus 2 shown in FIG. 図2に示す情報処理装置2における他のアンインストール動作の処理を示すフローチャート図である。It is a flowchart figure which shows the process of the other uninstallation operation | movement in the information processing apparatus 2 shown in FIG.

符号の説明Explanation of symbols

1:ハイブリッドディスク 2:情報処理装置 10:読み取り専用領域 11:書き込み可能領域 12:インストール制御プログラム 13:アンインストール制御プログラム 14:インストール実行回数保持ファイル 15:追記領域 16:インストール実行回数が更新されたインストール実行回数保持ファイル 20:入力部 21:表示部 22:記憶部 23:光ディスク装置 24:制御部 25:メモリ
1: Hybrid disk 2: Information processing device 10: Read-only area 11: Writable area 12: Installation control program 13: Uninstall control program 14: Installation execution count holding file 15: Additional write area 16: Installation execution count updated Installation execution count holding file 20: input unit 21: display unit 22: storage unit 23: optical disc device 24: control unit 25: memory

Claims (4)

コンピュータに、インストール先の記録媒体へデータをインストールする手順と、該手順によってインストールしたデータを使用不可能状態にする手順と、該手順によって使用不可能状態にしたデータのインストール実行回数を更新する手順と、該手順によって更新したインストール実行回数を前記記録媒体とは異なる他の記録媒体へ書き込む手順と、該手順による書き込みが成功したときにのみ、前記使用不可能状態にしたデータを使用可能状態へ戻す手順とを実行させるためのプログラム。   A procedure for installing data on a recording medium of an installation destination in a computer, a procedure for making the data installed by the procedure unusable, and a procedure for updating the number of times of installing the data made unusable by the procedure And a procedure for writing the number of installation executions updated by the procedure to another recording medium different from the recording medium, and when the writing by the procedure is successful, the data in the unusable state is made usable. A program for executing the returning procedure. 前記データを使用不可能状態にする手順は、前記データの内容を暗号化することによってそのままでは使用不可能な状態にする手順である請求項1記載のプログラム。   2. The program according to claim 1, wherein the procedure for making the data unusable is a procedure for making the data unusable by encrypting the content of the data. コンピュータに、記録媒体にインストールされたアンインストール対象のデータを使用不可能状態にする手順と、該手順によって使用不可能状態にしたデータのインストール実行回数を更新する手順と、該手順によって更新したインストール実行回数を前記記録媒体とは異なる他の記録媒体へ書き込む手順と、該手順による書き込みが成功したときは前記アンインストール対象のデータをアンインストールし、前記書き込みが失敗したときは前記アンインストール対象のデータを使用可能状態へ戻す手順とを実行させるためのプログラム。   A procedure for making data to be uninstalled installed on a recording medium unusable on a computer, a procedure for updating the number of times of installation of data made unusable by the procedure, and an installation updated by the procedure A procedure for writing the number of executions to another recording medium different from the recording medium, and when the writing by the procedure succeeds, uninstalls the data to be uninstalled, and when the writing fails, A program for executing a procedure for returning data to a usable state. 前記アンインストール対象のデータを使用不可能状態にする手順は、前記アンインストール対象のデータの内容を暗号化することによってそのままでは使用不可能な状態にする手順である請求項3記載のプログラム。
The program according to claim 3, wherein the procedure for making the uninstall target data unusable is a procedure for making the uninstall target data unusable by encrypting the content of the uninstall target data.
JP2006076029A 2006-03-20 2006-03-20 Program Pending JP2007249894A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006076029A JP2007249894A (en) 2006-03-20 2006-03-20 Program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006076029A JP2007249894A (en) 2006-03-20 2006-03-20 Program

Publications (1)

Publication Number Publication Date
JP2007249894A true JP2007249894A (en) 2007-09-27

Family

ID=38594062

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006076029A Pending JP2007249894A (en) 2006-03-20 2006-03-20 Program

Country Status (1)

Country Link
JP (1) JP2007249894A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014056493A (en) * 2012-09-13 2014-03-27 Nec Access Technica Ltd Installation system for software, installation method, and external device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014056493A (en) * 2012-09-13 2014-03-27 Nec Access Technica Ltd Installation system for software, installation method, and external device

Similar Documents

Publication Publication Date Title
US7114184B2 (en) System and method for restoring computer systems damaged by a malicious computer program
KR100470372B1 (en) Record media and installation management method
JP5007046B2 (en) Maintaining component-based software products
AU759137B2 (en) Method for migrating from one computer to another
US7313792B2 (en) Method and system for servicing software
KR100256196B1 (en) Preloading software onto a computer system
US20040045000A1 (en) Software license management system and method and recording medium
AU2002250453A1 (en) System and method for restoring computer systems damaged by a malicious computer program
US20080126446A1 (en) Systems and methods for backing up user settings
CN102216905A (en) Application restore points
US6742180B1 (en) System and method providing seamless transition of operating system environment
JP4828842B2 (en) Reinstallation software creation method, reinstallation software creation program, installation method, installation program, and computer device
JP2007249894A (en) Program
JP2614361B2 (en) How to change file contents
JP2009009494A (en) Information processor, information processing method and control program
JP2004185599A (en) Method of preventing unauthorized use of virtual cd image file
JP7013176B2 (en) Programs, information processing devices, and control methods
US20030028868A1 (en) Information processor, method for processing information and computer-readable recording medium recorded with program code for controlling a computer to process information
JP4597651B2 (en) Information processing unit, method and program for controlling ripping of data in media
JP2007249333A (en) Installation method, installation control program, and storage medium
JPH09179727A (en) Uninstallation device and uninstallation method
JP4959807B2 (en) Method and apparatus for storing data on disk
JP4071621B2 (en) Computer-readable recording medium
JP3525693B2 (en) Software installation method and recording medium
JP2005182254A (en) Device driver installation system