Forum Discussion
App does not launch immediately after installation but after a 40 mins delay it launches again
Hi,
This is a really strange issue and I can't figure out the root cause.
We have a WPF app that gets packaged into MSIX using Azure pipelines. A self signed certificate is using for signing the package which is created by me. If I push my code to the repo and trigger the pipeline, the MSIX artifact installs and launches without any issues for every software developer in our team but if someone else pushes code to the repo, the MSIX artifact would install but not launch for them for approximately 35-40 minutes after installation and then magically start launching after.
This only happens to the developers (except me the publisher of the certificate) who have access to the source code and can trigger the pipeline by updating the repo. We have distributed the MSIX installer to end users numerous times and no one has had any issues launching the app after installation.
Has anyone experienced this?
Best,
Mo
7 Replies
- Lars_PedersenCopper ContributorYes, this happens to me 100% of the time.
I can reproduce it just by switching the version in the .appinstaller file.
Note that the app actually launches immediately, but it stays as a Background task (visible in Task manager only).- levyasBrass ContributorLars_Pedersen and Mo_Velayati : try to fill the issue via FeedbackHub in Windows and post the link here, we'll upvote it. I already filed an issue on another problem with MSIX https://aka.ms/AAetpms
- Tanaka_JimhaIron Contributor
Hi Mo_Velayati
Is the delay in launching the app happening only after the first installation/deployment from the CI/CD pipeline or does it take place for all launches other users try to make after the app is initially installed?
Cheers,
Tanaka
- Mo_VelayatiCopper Contributor
Hi Tanaka,
This happens every time someone except me (Author of the self-signed cert) pushes code and therefore triggers the pipelines.
Best,
Mo
- Tanaka_JimhaIron Contributor
Hi Mo_Velayati,
Does your CI/CD pipeline also install the app on users' machines, and how does it do so? Or is the installation driven by the end user. I'm trying to understand the specific scenario in which the app launch is delayed.
Thanks,
Tanaka