better proceed as follows (not tried on Windows 11 - so we welcome feedback):
prerequisites:
- git installed and in you PATH
- visual studio 2017 community edition installed
Then:
- 
start a cmdterminal and create a directory, say:C:\S
- 
in a directory, e.g. C:\S, extract SALOME 9.9,
- 
copy the attached Batch script SALOMEConfigTool.battoC:\S
- 
run the script as follows : 
 call SALOMEConfigTool.bat --application SALOME-9.9.0
- 
in SAT, apply the attached patch sat_system.patchaimed to usermdir
- 
setup Visual studio environment by typing: 
 call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x64
- 
clone the SHAPER and CONFIGURATION modules as follows: 
cd C:\S
SALOME-9.9.0\W64\Python\python.exe SAT\sat prepare SALOME-9.9.0 -p SHAPER,CONFIGURATION
- compile SHAPER with the following command line:
cd C:\S
SALOME-9.9.0\W64\Python\python.exe SAT\sat compile SALOME-9.9.0 -p SHAPER,CONFIGURATION --clean_all
Attached the batch script and the patch to be applied to SAT:
SALOMEConfigTool.bat.txt (6.6 KB)
sat_system.patch.txt (1.2 KB)