In general, for a sale to be considered valid it requires an exchange of property from one party to another. However, exactly what constitutes "property" is a matter in which where is scholarly dispute.
The majority opinion was that it was something upon which ownership could be claimed, and which would bring benefit to the person who owned it. As such, all of the listed examples would be valid objects of sale.
The Hanafi position in this matter, however, is that something needs to be possessable to be property; traditionally this necessitated that it be physical as well.
From the Hanafi perspective, one could arguably "possess" a downloaded book or piece of software insofar as one is fully capable of owning, protecting and disposing of it through the hard drive, despite the data itself not actually being "physical". However, a license would not be property per se — it's not actually a possessable object, just the right to use one — so any such transaction would be regarded as a leasing arrangement rather than a sale, and regulated accordingly.