Try to run as Administrator then. The errors seem to point to something causing the files to not be created. Lack of space, lack of rights, missing setup files, something like that.
I got another error when trying to install a new fresh Solidworks 2023 (see the attached pic please).
I run as administrator already.
The error appears at the beginning of the installation process.
What should I do?
Solidworks 2023 Installation Error 05.PNG
There are a number of components and sub programs that come with the installation manager based on what you purchased. If it prompting for SQL server, then you have PDM, Manage, or maybe Electrical selected. Did you purchase all of these and want to install them? If you just want SolidWorks itself, only select it. Maybe you could include a screenshot of which products you are trying to install.