The 'The startup disk cannot be partitioned or restored to a single partition.' error is likely caused by Boot Camp creating more than one partition. You can fix it by following the steps in this post to merge the partitions, remove the merged one, then retry installing Windows.