Forum Discussion
MikeH
Oct 22, 2021Copper Contributor
What is the "gap" and how do I eliminate it?
I have an MSIX installed via App Installer. I've got it working, but sometimes after an update there is a very long pause before the app is relaunched. In the Event Viewer there is a helpful bre...
Aditi_Narvekar
Microsoft
Oct 27, 2021MikeH Thank you for your question. If you reproduce the behavior and file a bug in the Feedback Hub app, someone on our team can take a look at it. You can file it under "Install and Update" -> "App installation issues".
GrahamGB
Jan 30, 2024Iron Contributor
Aditi_Narvekar / MikeH what was the end result of this, as I have similar experiences with the Package Analyzer stalling after apparently successfully installing the MSIX package.
https://techcommunity.microsoft.com/t5/msix/msix-packaging-tool-package-analyzer/m-p/4038759#M3988
https://techcommunity.microsoft.com/t5/msix/msix-packaging-tool-package-analyzer/m-p/4038759#M3988
- Fiza_AzmiJan 31, 2024
Microsoft
Hi GrahamGB
Is this delay in launch happening only for this specific package or other packages as well?
You can try to uninstall the package and then Analyze Package again using MSIX Packaging tool.
Once you do this, please collect and share the logs using Get-AppxLog (Appx) | Microsoft Learn for any error warnings that point to the cause of delay.
Thanks,
Fiza
PM, MSIX - MikeHJan 30, 2024Copper Contributor
GrahamGBI think we concluded that it's some lazy attempt to avoid a race between the updater and the app shutting down, when it's detected that the app is still running. I run a company that makes packaging tools and we solved this by taking more control over the update process ourselves using the API.
Hydraulic Conveyor makes MSIX packages but also a small Win32 installer/updater exe that drives the install and update process itself. This lets us work around bugs in Windows.