Install Plex Media Server on the C: drive. It will take ~600 MB of space in Program Files (x86).
Then, move the Plex Data Folder to the D: drive.
The Plex Data Folder stores the database, metadata, artwork, etc. and will grow as you add media to the system.
See [HowTo] An extended guide on how to move the Plex data folder on Windows