MSIX AppInstaller Error: The expected digest value did not match the actual digest value

Copper Contributor

Hello,

I create a msix package to install a wpf application. You can run the msix package from a web application deployed on IIS.

I followed a youtube video on https://learn.microsoft.com/en-us/windows/msix/resourcesmsix.com/.

An example is on the following github: https://github.com/Huios/PhotoStore

 

 
Basically If I run the msix directly everything works fine, but If I run the .appinstaller file I receive the following error:

ffederico_0-1683579577492.png

 

From the log on the event viewer:

  • Appinstaller operation failed with error code 0x80080219. Detail: The expected digest value did not match the actual digest value of the content.


This is my appinstaller:

 

<?xml version="1.0" encoding="utf-8"?>
<AppInstaller Uri="https://mywebapp/SPStart.appinstaller" Version="10.2.0.103" xmlns="http://schemas.microsoft.com/appx/appinstaller/2018">
  <MainPackage Name="SpStart.Package" Version="10.2.0.103" Publisher="CN=My Certificate" Uri="https://mywebapp/JuleClient/SpStart.Installer_10.2.0.103_x64.msix" ProcessorArchitecture="x64" />
  <UpdateSettings>
    <OnLaunch HoursBetweenUpdateChecks="0" UpdateBlocksActivation="false" />
    <ForceUpdateFromAnyVersion>true</ForceUpdateFromAnyVersion>
    <AutomaticBackgroundTask />
  </UpdateSettings>
</AppInstaller>

 


Note that during the build I follow the same steps of githubexamples:

  1. prepare the appxmanifest 
  2. prepare the appinstaller file
  3. build the SpStart.Installer.wapproj with msbuild
  4. sign the msix generated with a .pfx certificate and his password

What I'm missing?

Thank you for your help

1 Reply
80080219 is generally an issue seen when the verification of a signature fails. This could mean, for example, that the machine that you are installing on does not yet trust the certificate (If a self-signed cert it was not installed to the system certificate store trusted root category). I'd start looking there.