主权项 |
1. An information processor including an older version program and a latest version program of the same application software installed thereon, the information processor comprising:
a storing unit that is capable of storing an older version program file and a latest version program file, the older version program file having a first path name and storing an older version program, the latest version program file having a prescribed path name and storing a start program different from the latest version program; an association storing unit that stores an association between the first path name and a predetermined start event such that occurrence of the predetermined start event is detected as a request to execute a program in a program file having the first path name; an older version detection unit that judges whether the older version program is detected; a path name modification unit that modifies the first path name of the older version program file to a second path name if the older version detection unit detects the older version program; a start program file generation unit that generates a start program file storing a start program the same as the start program in the latest version program file and names a third path name of the start program file identical to the first path name of the older version program file; and a start program file executing unit that starts the start program stored in the start program file having the third path name identical to the first path name, in response to detection of the occurrence of the predetermined start event as a request to execute a program in a program file having the first path name, wherein the start program file executing unit includes: a latest version judging unit that judges whether the latest version program is detected; and a version selecting unit that:
starts the latest version program when the latest version program is detected; andstarts the older version program stored in the older version program file having the second path name, without renaming the second path name back to the first path name, when the latest version program is not detected as a result of uninstallation of the latest version program. |