SOLVED

MSIX won't update properly

%3CLINGO-SUB%20id%3D%22lingo-sub-2470047%22%20slang%3D%22en-US%22%3EMSIX%20won't%20update%20properly%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2470047%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20have%20a%20test%20machine%20that's%20failing%20to%20update.%26nbsp%3Bm_appInstallerUpdateAvailability%20is%20Error%2C%20but%20the%20location%20of%20the%20.appinstaller%20hasn't%20changed%20and%20appears%20to%20be%20correct.%26nbsp%3B%20Any%20Ideas%3F%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-powershell%22%3E%3CCODE%3E%5BTue%20Jun%2022%2009%3A49%3A51%202021%5D%7B11256%7D%20Found%20package%20%5BOurProduct_x86__ns1tmrj081jhw%5D%20but%20VerifyIsOK%20returned%20false%20(ignoring)%0A%5BTue%20Jun%2022%2009%3A49%3A51%202021%5D%7B11256%7D%20PopulateAppInstallerUpdateAvailabilityAsync%20-%26gt%3B%20location%20of%20already%20installed%20.appinstaller%20file%20is%3A%20%5Bhttp%3A%2F%2Fourserver.com%2Fmsix%2FOurProduct.appinstaller%5D%0A%5BTue%20Jun%2022%2009%3A49%3A57%202021%5D%7B11256%7D%20PopulateAppInstallerUpdateAvailabilityAsync%20-%26gt%3B%20m_appInstallerUpdateAvailability%20is%20Error%0A%5BTue%20Jun%2022%2009%3A49%3A57%202021%5D%7B11256%7D%20m_appInstallationStatus%20is%20INSTALLED_OLDER_VERSION%20but%20m_appInstallerUpdateAvailability%20is%20Error%0A%5BTue%20Jun%2022%2009%3A49%3A57%202021%5D%7B11256%7D%20This%20indicates%20an%20error%20on%20the%20IT%20admin%20where%20the%20user%20had%20installed%20an%20older%20version%20of%20this%20app%20that%20doesn't%20link%20to%20the%20new%20.appinstaller%20file%0A%5BTue%20Jun%2022%2009%3A49%3A57%202021%5D%7B11256%7D%20CheckForAppInstallerExtensionUpdatesOnAppActivationClickAsync%20-%26gt%3B%20%5BError%5D%20found.%0A%5BTue%20Jun%2022%2009%3A49%3A57%202021%5D%7B11256%7D%20MainPage%20-%26gt%3B%20Completing%20the%20update-on-launch%20operation%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2470183%22%20slang%3D%22en-US%22%3ERe%3A%20MSIX%20won't%20update%20properly%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2470183%22%20slang%3D%22en-US%22%3EHi%20John%2C%3CBR%20%2F%3E%3CBR%20%2F%3E%5BTue%20Jun%2022%2009%3A49%3A57%202021%5D%7B11256%7D%20This%20indicates%20an%20error%20on%20the%20IT%20admin%20where%20the%20user%20had%20installed%20an%20older%20version%20of%20this%20app%20that%20doesn't%20link%20to%20the%20new%20.appinstaller%20file%3CBR%20%2F%3E%3CBR%20%2F%3EIt%20looks%20like%20there%20is%20a%20difference%20in%20the%20appsintaller%20files.%3CBR%20%2F%3EWindows%20uses%20a%20cache%20that%20contain%20the%20appinstaller%20files%20and%20you%20get%20an%20error%200x800...%20if%20there%20is%20a%20mismatch.%3CBR%20%2F%3ERebooting%20the%20workstation%20will%20clear%20the%20cache%20and%20it%20may%20solve%20this%20issue.%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2492357%22%20slang%3D%22en-US%22%3ERe%3A%20MSIX%20won't%20update%20properly%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2492357%22%20slang%3D%22en-US%22%3Ea%20few%20hours%20after%20the%20machine%20in%20question%20was%20rebooted%20it%20updated%20correctly.%3C%2FLINGO-BODY%3E
Occasional Contributor

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




4 Replies
best response confirmed by John_Cote (Occasional Contributor)
Solution
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.
a few hours after the machine in question was rebooted it updated correctly.

@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?

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.