Hello Brice Nevitt,
I have tried to reproduce the error you mention without success.
From what I could investigate, it may be a configuration problem in your WS 2022 where the VBScript engine is not registered or points to the wrong path.
Try running the following command in a cmd as administrator:
regsvr32 vbscript.dll
Try the installation again and verify that the 2738 error does not appear again.
Another alternative is to check the default path to the VBScript engine. For this, you will need administrator access in WS 2022 and open the regedit console.
Then go to the following path:
HKEY_CLASSES_ROOT\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32
Validate that the default contains the following in data:
C:\Windows\System32\vbscript.dll
Let me know if this was helpful.