CROSS REFERENCE TO RELATED APPLICATION

The present application claims priority from Japanese Patent Application No. 2020-079127, which was filed on Apr. 28, 2020, the disclosure of which is herein incorporated by reference in its entirety.

BACKGROUND

A technical field disclosed in the specification relates to a technique of setting up software on an information processing apparatus.

There has been known a technique in which software necessary to communicate with a device is set up on an information processing apparatus to be connected to the device. For example, the conventional information processing apparatus has an installer for installing a printer driver on the information processing apparatus. The installer has a configuration in which setting information relating to a previously designated communication port is written in a registry as a database included in an operating system.

SUMMARY

For example, when setting up a device driver necessary for wireless communication with the device on the information processing apparatus, it is necessary to allocate the device to the communication port prepared in the operating system of the information processing apparatus after executing pairing with the device. However, there is a case where the device is not allocated to the communication port and the setup is not completed though the pairing has succeeded. The conventional information processing apparatus does not have a method for solving the above problem.

An aspect of the disclosure relates to a technique for increasing capability of completing the setup when setting up software necessary to communicate with the device in the information processing apparatus.

In one aspect of the disclosure, a non-transitory storage medium stores a plurality of instructions readable by a computer of an information processing apparatus. When executed by the computer, the plurality of instructions cause the information processing apparatus to execute (a) adding processing of instructing an operating system of the information processing apparatus to add a device that communicates with the information processing apparatus, the operating system executing pairing with respect to a particular device as a device to be added based on a prescribed wireless communication protocol and registering particular device information in a storage of the information processing apparatus in response to receipt of an instruction for adding the device, (b) when the pairing by the operating system is completed after the adding processing, making-available processing of instructing the operating system to make wireless communication available based on a particular profile as one of profiles to which the particular device is conformable in the prescribed wireless communication protocol, the operating system storing availability of wireless communication based on the particular profile into the storage so as to be associated with the particular device information in response to receipt of an instruction for making the wireless communication available based on the particular profile, and (c) after execution of the making-available processing, setup processing of setting up for executing wireless communication with the particular device by software of the information processing apparatus based on the particular profile, the setup processing being not executed in a case where the availability of wireless communication based on the particular profile is not stored in the storage so as to be associated with the particular device information registered in the operating system.

In another aspect of the disclosure, an information processing apparatus comprises a communication interface; and a computer. The computer executes: (a)adding processing of instructing an operating system of the information processing apparatus to add a device that communicates with the information processing apparatus, the operating system executing pairing with respect to a particular device as a device to be added based on a prescribed wireless communication protocol and registering particular device information in a storage of the information processing apparatus in response to receipt of an instruction for adding the device, (b) when the pairing by the operating system is completed after the adding processing, making-available processing of instructing the operating system to make wireless communication available based on a particular profile as one of profiles to which the particular device is conformable in the prescribed wireless communication protocol the operating system storing availability of wireless communication based on the particular profile into the storage so as to be associated with the particular device information in response to receipt of an instruction for making the wireless communication available based on the particular profile, and (c) after execution of the making-available processing, setup processing of setting up for executing wireless communication with the particular device by software of the information processing apparatus based on the particular profile, the setup processing being not executed in a case where the availability of wireless communication based on the particular profile is not stored in the storage so as to be associated with the particular device information registered in the operating system.

