I'm trying to build an Ad Hoc Windows Store application in Delphi 11 (MSIX), but I'm getting an error when I try to build the MSIX file.
[PAClient Error] Error: E5128 MakeAppx : error: Error info: error C00CE169: App manifest validation error: The app manifest must be valid as per schema: Line 6, Column 13, Reason: '%projectName%' violates pattern constraint of '[-.A-Za-z0-9]+'.
[PAClient Error] Error: E5128 The attribute 'Name' with value '%projectName%' failed to parse.
And indeed, in the AppxMainifest.xml file, on line 6, contains %projectName%.
I'm presuming that there is something in the version info that I need to set, but I'm not sure what. Does anyone know?
There is also
<DisplayName>%packageDisplayName%</DisplayName>
<PublisherDisplayName>%publisherDisplayName%</PublisherDisplayName>
That don't seem to be replaced.

