Remove HDD from the system;
Connect SSD;
Install windows;
Connect HDD.
No files are lost doing it this way.
You will have to reinstall all the software on your pc.
To clone os from hdd to ssd, you would need used space in os partition to be smaller than your new ssd.