Forum Discussion

JohnMcC1983's avatar
JohnMcC1983
Copper Contributor
Jul 21, 2023

Appx Full Package Name Issue

Hello.

My App installation is failing via an appinstaller due to the package full name returned from the AppxManifest being incorrect.   My AppxManifest is: 

 

<?xml version="1.0" encoding="utf-8"?>

<Package
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
IgnorableNamespaces="uap rescap">

<Identity
Name="te6ad44b-64ef-45cd-a77c-a6530e4b1da8"
Publisher="CN=John, OU=John, O=John, L=Manchester, C=GB"
Version="1.0.0.0"
ProcessorArchitecture="neutral" />

<Properties>
<DisplayName>John App</DisplayName>
<PublisherDisplayName>John</PublisherDisplayName>
<Logo>Images\StoreLogo.png</Logo>
</Properties>

<Dependencies>
<TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.17763.0" MaxVersionTested="10.0.19041.0" />
<TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.17763.0" MaxVersionTested="10.0.19041.0" />
</Dependencies>

<Resources>
<Resource Language="EN-US" />
</Resources>

<Applications>
<Application Id="John"
Executable="John.exe"
EntryPoint="Windows.FullTrustApplication">
<uap:VisualElements
DisplayName="John"
Description="John"
BackgroundColor="transparent"
Square150x150Logo="Images\Square150x150Logo.png"
Square44x44Logo="Images\Square44x44Logo.png">
<uap:DefaultTile Wide310x150Logo="Images\Wide310x150Logo.png" />
<uap:SplashScreen Image="Images\SplashScreen.png" />
</uap:VisualElements>
</Application>
</Applications>

<Capabilities>
<Capability Name="internetClient" />
<rescap:Capability Name="runFullTrust" />
</Capabilities>

</Package>

 

As I have supplied the app name, version and ProcessorArchitecture in the identity tag I would expect the folder created with the fullname to be : te6ad44b-64ef-45cd-a77c-a6530e4b1da8_1.0.0.0_neutral_~_44g3ttuyc6pla

However the fullname being generated is: te6ad44b-64ef-45cd-a77c-a6530e4b1da8_2023.7.21.957.0_neutral_~_44g3ttuyc6pla

 

For some reason the version number is being substituted for a time stamp.


The process I follow is to use the makeappx.exe to package up the release directory (containing my AppxManifest file) into an appx file. 
I then package it into an msix and then finally into an msixbundle.

The version number in the appinstaller is 1.0.0.0. 

However due to the version number in the AppxManifest being substitued for the timestamp, the installation is throwing an error because the full names from the appinstaller and the AppxManifest do not match.

 

Can anyone advise on how to resolve?

 

Thanks

 

John

 

No RepliesBe the first to reply

Resources