Hi, you can install X-plane on D: as long as you are sure there is no permission issue.
After installing it, you can still cut/paste the whole X-plane 11 somewhere else. Everything is installed in the same folder.
About uninstalling the demo first, I don't think it's required but I would personnaly do it.
Regards and welcome to X-plane world!
Guillaume