In enterprise software markets, firms are increasingly using services-based business models built on open-source software (OSS) to compete with established, proprietary software firms. Because third-party firms can also strategically contribute to OSS and compete in the services market, the nature of competition between OSS constituents and proprietary software firms can be complex. Moreover, their incentives are likely influenced by the licensing schemes that govern OSS. We study a three-player game and examine how open-source licensing affects competition among an open-source originator, an open-source contributor, and a proprietor competing in an enterprise software market. In this regard, we examine (1) how quality investments and prices are endogenously determined in equilibrium, (2) how license restrictiveness impacts equilibrium investments and the quality of offerings, and (3) how license restrictiveness affects consumer surplus and social welfare. Although some in the open-source community often advocate restrictive licenses such as the GNU General Public License because it is not always in the best interest of the originator for the contributor to invest greater development effort, such licensing can actually be detrimental to both consumer surplus and social welfare when it exacerbates this incentive conflict. We find such an outcome in markets characterized by software providers with similar development capabilities yet cast in favor of the proprietor. In contrast, when these capabilities either become more dispersed or remain similar but tilt in favor of open source, a more restrictive license instead encourages greater effort from the OSS contributor, leads to higher OSS quality, and provides a larger societal benefit. This paper was accepted by Chris Forman, information systems.