I have an MSIX installed via App Installer. I've got it working, but sometimes after an update there is averylong pause before the app is relaunched.
In the Event Viewer there is a helpful breakdown of where the time during an install/upgrade operation is spent. Unfortunately almost all the time is allocated to something simply called "Gap", strongly implying that during this pause the App Installer is in fact doing ... nothing. Example:
Performance summary ofDeploymentAdd operation on PackageDemoApp_22.214.171.124_x64__49jahnq5qzr1m:
Overall time:32875 ms
Enqueue cost:359 ms
Dequeue delay:0 ms
Bundle processing cost:0 ms
Indexing cost:16 ms
Resolve dependency cost:16 ms
Check approval cost:125 ms
Evaluation cost:187 ms
Hardlinking evaluation cost:31 ms
Stage required cost:500 ms
Flushingand closing files cost:0 ms
Machineregister cost:0 ms
Stage user data cost:0 ms
Registration cost:47 ms
Repository commit transaction cost:79 ms
Data flush cost:16 ms
PostDeStage repository commit transaction cost:0 ms
Remaining cost:0 ms
This is rather puzzling, to say the least. Most of the categories are self explanatory, but can any MSIX experts explain why there is an apparently pointless 31.4 second pause after "Stage user data" and "Registration"? And, does anyone know how I can get rid of this "gap"?
@MikeH 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".