Forum Discussion

John_Cote's avatar
John_Cote
Copper Contributor
Jun 22, 2021
Solved

MSIX won't update properly

We have a test machine that's failing to update. m_appInstallerUpdateAvailability is Error, but the location of the .appinstaller hasn't changed and appears to be correct.  Any Ideas?

[Tue Jun 22 09:49:51 2021]{11256} Found package [OurProduct_x86__ns1tmrj081jhw] but VerifyIsOK returned false (ignoring)
[Tue Jun 22 09:49:51 2021]{11256} PopulateAppInstallerUpdateAvailabilityAsync -> location of already installed .appinstaller file is: [http://ourserver.com/msix/OurProduct.appinstaller]
[Tue Jun 22 09:49:57 2021]{11256} PopulateAppInstallerUpdateAvailabilityAsync -> m_appInstallerUpdateAvailability is Error
[Tue Jun 22 09:49:57 2021]{11256} m_appInstallationStatus is INSTALLED_OLDER_VERSION but m_appInstallerUpdateAvailability is Error
[Tue Jun 22 09:49:57 2021]{11256} This indicates an error on the IT admin where the user had installed an older version of this app that doesn't link to the new .appinstaller file
[Tue Jun 22 09:49:57 2021]{11256} CheckForAppInstallerExtensionUpdatesOnAppActivationClickAsync -> [Error] found.
[Tue Jun 22 09:49:57 2021]{11256} MainPage -> Completing the update-on-launch operation




  • Hi John,

    [Tue Jun 22 09:49:57 2021]{11256} This indicates an error on the IT admin where the user had installed an older version of this app that doesn't link to the new .appinstaller file

    It looks like there is a difference in the appsintaller files.
    Windows uses a cache that contain the appinstaller files and you get an error 0x800... if there is a mismatch.
    Rebooting the workstation will clear the cache and it may solve this issue.

4 Replies

  • adelkeita's avatar
    adelkeita
    Copper Contributor
    Hi John,

    [Tue Jun 22 09:49:57 2021]{11256} This indicates an error on the IT admin where the user had installed an older version of this app that doesn't link to the new .appinstaller file

    It looks like there is a difference in the appsintaller files.
    Windows uses a cache that contain the appinstaller files and you get an error 0x800... if there is a mismatch.
    Rebooting the workstation will clear the cache and it may solve this issue.
    • AntonK2's avatar
      AntonK2
      Copper Contributor

      adelkeita 

      Hi Adelkeita,

       

      so we need to reboot before every update of the application?

      The error 0x800... is not really customer friendly.

      Is there a way to clear the cache without reboot?

      • adelkeita's avatar
        adelkeita
        Copper Contributor
        Hey AntonK2,
        No, you don't need to reboot before every update of the application.
        I noticed that the only cases when I need to reboot my machine was when I changed the "UpdateSettings" part of the AppInstaller XML file. But this part should not change often.
        I don't know if there is a way to clear the cache.
        Maybe Tanaka_Jimha knows.
    • John_Cote's avatar
      John_Cote
      Copper Contributor
      a few hours after the machine in question was rebooted it updated correctly.

Resources