发明名称 Automatic quality assurance for software installers
摘要 An approach for assuring quality of a software installer is presented. A change between first and second views of an operating system is determined. The second view is recorded after executing an installer to create installed software application components. The installation is determined to be successful. A location for an installed shortcut for the software application is determined. Executable and command line information inside the shortcut is extracted using the location. Based on the extracted executable and command line information, the application is executed to perform a test of the application. While the application is executing, a close signal is sent to a window of the application. An exit code from the application is read. If the exit code matches a standard exit code, the test is documented as being successful. If the exit code does not match the standard exit code, the test is documented as being unsuccessful.
申请公布号 US9256417(B2) 申请公布日期 2016.02.09
申请号 US201414522637 申请日期 2014.10.24
申请人 International Business Machines Corporation 发明人 Tagliabue Leonardo
分类号 G06F9/445;G06F3/12;G06F11/07;G06F17/21 主分类号 G06F9/445
代理机构 Schmeiser, Olsen & Watts 代理人 Schmeiser, Olsen & Watts ;Pivnichny John
主权项 1. A method of managing a software installer, the method comprising the steps of: a computer determining and recording a change between first and second views of an operating system of the computer, information representative of the second view being recorded subsequent to an execution of the software installer to create installed components in an installation of a software application; based on the change, the computer recording information about the installed components; the computer performing checks on the installation; based on the checks on the installation, the computer making a determination that the installation was successful; responsive to the determination that the installation was successful, the computer removing selected installed components; the computer executing the software installer to perform a reinstallation of the selected installed components that had been removed; the computer performing checks on the reinstallation; subsequent to the step of executing the software installer to perform the reinstallation, the computer recording information representative of a third view of the operating system; the computer executing an uninstaller to perform an uninstallation of the software application; subsequent to the step of executing the uninstaller, the computer recording information representative of a fourth view of the operating system; the computer performing checks on the uninstallation; responsive to the step of making the determination that the installation was successful, the computer determining a location for an installed shortcut for the software application; using the location, the computer extracting executable and command line information inside the shortcut; based on the extracted executable and command line information, the computer executing the software application to perform a test of the software application; while the software application is executing, the computer sending a close signal to a window of the software application; responsive to the step of sending the close signal, the computer reading an exit code from the software application; the computer determining whether the exit code matches a standard exit code indicating the test of the software application was successful; and responsive to a determination the exit code matches the standard exit code indicating the test of the software application was successful, the computer documenting in a report that the test of the software application is successful; or responsive to a determination the exit code does not match the standard exit code, the computer documenting in the report that the test of the software application was unsuccessful.
地址 Armonk NY US