Old TurboTax files

My laptop has TurboTax files from 2017 to 2022. I use the desktop version which I download each year from the TurboTax CD. The hard drive on the laptop crashed a few months ago and I had to have it replaced. All the TurboTax files were recovered and were installed on the new hard drive but the original download for TurboTax  from 2017-2022 could not be recovered. When I install TurboTax 2023 will all the data from previous years migrate over to TurboTax? There are carry forward losses that I need to transfer to the 2023 version. If the data won't migrate, do I need to reinstall the 2017-2022 TurboTax CDs? I still have them.