alco
Posts: 79
Joined: Thu Nov 18, 2010 5:02 pm

Updater window stays longer when Analytics is enabled

Thu Aug 04, 2022 4:22 pm

Normally the updater window closes quickly after our app auto-launches after an update. When we enabled Installer Analytics, however, the updater window stays longer than usual, around 30 secs, after our app auto-launches. Disabling analytics, i.e. adding AI_IA_ENABLE="0" to the CommandLine in update.aiu, fixes the issue, but this is not desirable. Is it possible to hide the updater window while it's sending analytics data so it doesn't interfere with the already-launched app?

Catalin
Posts: 6506
Joined: Wed Jun 13, 2018 7:49 am

Re: Updater window stays longer when Analytics is enabled

Fri Aug 05, 2022 11:51 am

Hello,

You could try to hide the updater's GUI altogether using a command line, as explained in the following article:

Advanced Installer Updater

Hope this helps!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

alco
Posts: 79
Joined: Thu Nov 18, 2010 5:02 pm

Re: Updater window stays longer when Analytics is enabled

Mon Aug 08, 2022 10:10 am

We're not really looking to hide the updater's GUI altogether, just the part where it's sending analytics data, w/c we assume happens at the end, past the point where update errors might happen. Is this not possible?

Another concern with hiding the updater's GUI is how errors are shown to the user. In case of an update error, the updater usually shows the error message on the updater window. How is this handled when the GUI is hidden?

Catalin
Posts: 6506
Joined: Wed Jun 13, 2018 7:49 am

Re: Updater window stays longer when Analytics is enabled

Thu Aug 11, 2022 9:41 am

Hello,

First of all, are you able to replicate this on multiple machines?

I have tried testing this right now and I was not able to replicate the behavior you mentioned. Perhaps I was doing something wrong in my tests, so could you please give me a step-by-step test-case which I can use in order to reproduce this?

What I've done is basically:

- install V1

- add the AI_IA_ENABLE="1" for the command line in the Updates Configuration Project

- launch the updater to install V2

The second version was installed as expected and the updater seemed to close immediately.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

alco
Posts: 79
Joined: Thu Nov 18, 2010 5:02 pm

Re: Updater window stays longer when Analytics is enabled

Thu Aug 11, 2022 10:43 am

Yes, this is repeatable in at least 2 machines.

Preconditions:
1. V2 has AI_IA_ENABLE="1"
2. V2 is set to launch the app in an upgrade scenario via custom action

Steps:
1. Install V1
2. Launch updater to install V2.
3. App launches after the update while the updater window stays longer.

In another test, we did the ff. and could not repro the issue.
1. Install V1
2. Add our custom property that disables tracking to update.aiu. This custom property internally sets AI_IA_ENABLE="0" via custom action.
3. Launch updater to install V2.
4. Updater window closes and then launches the app.

Catalin
Posts: 6506
Joined: Wed Jun 13, 2018 7:49 am

Re: Updater window stays longer when Analytics is enabled

Fri Aug 19, 2022 11:15 am

Hello,

First of all, please accept my apologies for the delayed reply (I was off for few days and my colleagues were busy with the release).

Thank you for the detailed test-case. I have tried testing the scenario, but unfortunately I was not able to reproduce it.

If possible, please forward me the following resources:

- a copy of your .AIP file

- a copy of the Updates Configuration project

- a download link for the first verison of your setup (v1)

by email at support at advancedinstaller dot com so I can further test this on my end.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

alco
Posts: 79
Joined: Thu Nov 18, 2010 5:02 pm

Re: Updater window stays longer when Analytics is enabled

Mon Aug 22, 2022 11:49 am

Email sent. Thanks.

Catalin
Posts: 6506
Joined: Wed Jun 13, 2018 7:49 am

Re: Updater window stays longer when Analytics is enabled

Tue Aug 23, 2022 4:58 pm

Hello Albert,

I have replied to you over the email.

Let's continue the thread there until we reach a resolution.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Installer Analytics”