I encountered this problem when trying to install sharepoint server 2013 trial edition.
Trial editions and licensed editions of Sharepoint, Project Server, and office web apps products may not be installed on the same server
A little background on what I have already done prior to this error
- I installed exchange server and set up the active directory domain
- I am using Windows server 2012 datacenter
- I have installed sql server 2014