Has anyone ever installed SSMS 22 when using an offline layout with a custom vsconfig file?
override wait
hidden=true
completion=job
wait cmd.exe /C ""__Download\vs_SSMS.exe" --config "__Download\*.vsconfig" --quiet --norestart --includeRecommended"
I keep getting an Completed but 5007 error
Welcome to Bigfix communities 
5007 exit code usually is related to requirement not met
OS version/edition doesn't meet SSMS 22's minimum requirements
Insufficient free disk space on the install drive
A required system component (like a specific Windows Installer version or .NET runtime) missing and not included in your offline layout
Architecture mismatch between the layout and target machine
Can you look for error from log db_boostrapper.log
This will help to dig further
Also try manually once if it's going through.