If Windows Setup reports this error, it means that an XML file was used but contained no (or the incorrect) Product Key. Some Windows installers require a Product Key to be specified (e.g. Win8, SVR2022, etc,).
You must ensure that a suitable Product Key is used if the install method uses an XML file (e.g. E2B, agFM).
Note that Windows trial or evaluation versions use a different key from the standard generic installation keys. For these trial\evaluation versions you must use the correct Product Key in the XML file. If you cannot find a key that works, then install without using an XML file (e.g. using Ventoy or Rufus) and then run Produkey from NirSoft to discover the Product Key that was used.