A non-transitory computer-readable storage medium stores an application program for causing an
information processing apparatus to perform a control method. The program causes a printer driver to be installed in the
information processing apparatus. The
information processing apparatus includes a print
queue and a registry. The print
queue corresponds to a printer object. The control method comprises: requesting acquisition of information about a driver object and the printer object from the registry; storing the driver object, and, when information about the driver object fails to be acquired in response to the acquisition request, storing, in the registry, a first printer object including identification information of the printer driver, and creating a first print
queue; and when information about a second printer object having the identification information of the printer driver is acquired in response to the acquisition request, deleting the second printer object and a second print queue.