'Building windows store application in Delphi 11 failing

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.



Solution 1:[1]

They're a bit hidden under Provisioning section: enter image description here

but they're for the Store, for Ad-hoc it should get them from your self-signing certificate I guess: enter image description here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 George Birbilis