That misses too many factors to get an accurate picture of the installed base - hardware replacement cycles, repurposed hardware, OS distributions channels (like downloadable free Linux), licensing policies (like multiple installations from a single copy of Linux), etc.
For calculating the installed base of desktop machines, I think user-agent statistics from a universally popular web sites like Google or Yahoo would give a fairly accurate measurement.