There are threads which had similar issues like the one mentioned, which can be helpful:
I hope your system meets all the requirements as mentioned in Release Notes at page#09:
Thanks for the reply.
1) My machine has 16 GB of RAM so low memory is not an issue.
2) I did a complete OS wipe, eliminating a any kind of registry issue that might exist. Also when I did the OS wipe, I installed PSoC creator before antivirus software and still had the issue.
3) NGEN is reporting back the correct root location of the psoc_creator entry.
4) I meet all of the requirements listed in the release notes.
Sorry but nothing seems to work.
Can you try opening any Batch script file in your system.Can you just try to open it and see whether it is getting opened via cmd or any other application.
There are certain .bat file in cyinstaller, if by default they are getting opened by notepad, it will create issue in installation.
It might be the problem of incorrect registry entry.
You can try reinstalling the PSoC Creator/Programmer after cleaning up registry entries by using this tool. CyInstaller installs several MSI files; each MSI file has its own unique registry entry. Before installing the MSI package, Windows checks whether a registry entry related to the MSI being installed is already available. If available, the installer skips the related step. Therefore, any incorrect registry entry can lead to installation issues.