主权项 |
1. An information processing apparatus comprising:
a processor configured to obtain a plurality of commands executed in an installation of software on the information processing apparatus, to obtain log information including a status of the information processing apparatus before and after execution of each of the plurality of commands, to detect target files that are present when the installation ends normally according to the log information, to obtain from the log information, a first information that indicates contents of the target files before execution of each of a plurality of target commands that change the contents of the detected target files, a second information that indicates the contents of the target files after execution of each of the plurality of target commands and a third information that indicates the contents of the target files when execution of the plurality of target commands completes normally, to extract one or more commands related to generation of the target files using the first, the second and the third information and to output the extracted commands. |