Creative Suite installers won't work on macOS Sierra, High Sierra or Mojave without terminal workarounds. See the help article below.
https://helpx.adobe.com/creative-cloud/kb/install-creative-suite-mac-os-sierra.html
CS5 and CS6 are on life support. But they can still be activated providing you have the following:
1. your original media (disks or downloads) you received at purchase and an optical reader,
2. a legitimate serial number for that version, language and platform (Win/Mac) and if it was an upgrade, a qualifying serial number from an older product,
3. an older operating system that can support legacy 32-bit apps.
Modern Creative cloud apps require a computer that meets these CPU & GPU requirements.
- Windows 11 (64-bit), Windows 10 versions 22H2, 21H2, 21H1;
- MacOS 13 (Ventura), 12 (Monterey), macOS 11 (Big Sur).
- https://helpx.adobe.com/creative-cloud/system-requirements.html
- https://helpx.adobe.com/photoshop/system-requirements.html
- https://helpx.adobe.com/photoshop/kb/photoshop-cc-gpu-card-faq.html
Hope that helps.