A non-transitory computer-readable medium storing instructions, which when executed by a computer, cause the computer to:
- receive a request for an installation of a new version of an installed software product, the installed software product including at least one application that is running when the installation is performed, the request for the installation of the new version of the installed software product including a product installation option value comprising one of a split installation option for performing a split installation of the product in multiple phases or a standard installation option for performing a standard installation of the product, wherein the product installation option value controls whether the split installation of the product or the standard installation of the product is performed;
- determine whether the product installation option value is the split installation option;
- in response to determining that the product installation option value is the split installation option:
- in a first phase of the split installation, perform operations including the split installation of the new version of the installed software product, comprising:
- while the at least one application is running, generating and storing a pre-installation document associated with the split installation of the new version of the installed software product, wherein the pre-installation document comprises installation information including one or more deployment units and data for authenticating the computer, wherein the data for authenticating the computer is selected from at least one of an identity information of the computer, a password, a location of installation on the computer, and one or more port numbers, and wherein sensitive information is encrypted in the pre-installation document;
- and
- based on the installation information from the pre-installation document, caching, while the at least one application is running, at least one deployment unit from the one or more deployment units corresponding to the split installation of the new version of the installed software product;
- receive an indication of successful completion of the first phase of the split installation;
- and
- in response to receiving the indication of the successful completion of the first phase of the split installation:
- provide a resume option to either initiate a second phase of the split installation or cancel the split installation;
- receive, in response to providing the resume option, an indication to initiate the second phase of the split installation;
- determine that the pre-installation document includes encrypted sensitive information that needs to be replaced;
- provide a user interface for requesting sensitive information for authenticating the computer to replace the encrypted sensitive information;
- receive, through the user interface, sensitive information to replace the encrypted sensitive information;
- and
- replace, in the pre-installation document, the encrypted sensitive information with the received sensitive information to create an updated pre-installation document;
- and
- install the at least one deployment unit from the one or more deployment units corresponding to the new version of the installed software product in the second phase of the split installation, based on the updated pre-installation document;
- and
- in response to determining that the product installation option value is the standard installation option, performing the standard installation of the product.