Updater reminder limit

Add-in Express™ Support Service
That's what is more important than anything else

Updater reminder limit
 
nwein




Posts: 577
Joined: 2011-03-28
I have set my auto updater's to be the most aggressive I can (auReminder 1 hour, check for update interval 1 minute) but i'm noticing that after a while (not sure how long, but probably a few days), the reminders cease to pop up (toast notification, Windows 10). The system tray remains, and clicking on it will show up the update dialog.
Is there a limit on how many times a pop up will be shown from a specific app (whether the limit is from ADX or the OS)?
Any reason why it stops? Looking at the updater log everything seems fine. Here's an excerpt from it (it keeps repeating this block every minute, as it should):

10:46:23 Thread check point 3: AutoUpdateEnabled = True, IsInstallingUpdate = 0, ConnectionsCount = 1
10:46:23 Thread check point 4: NextUpdateTime = 7/9/2019 10:46:22 AM
10:46:23 Set UI State: CheckingUpdates
10:46:23 Thread check point 5: RootUpdateUrl = *********
10:46:23 Thread check point 6: NewVersionUpdateUrl = *********.exe, NewVersion = 2.2.59
10:46:23 Thread check point 7: NewVersionUpdateUrl = *********.exe
10:46:23 Thread check point 8: NewVersionUpdateUrl = *********.exe, NewVersion = 2.2.59
10:46:23 New update is ready. Url: *********.exe Version: 2.2.59
10:46:23 Set UI State: UpdatesAvailable
10:46:23 Thread check point 9: The end of checking thread.
10:46:23 Thread check point 10: NextUpdateTime = 7/9/2019 10:47:23 AM
10:47:23 Thread check point 3: AutoUpdateEnabled = True, IsInstallingUpdate = 0, ConnectionsCount = 1
10:47:23 Thread check point 4: NextUpdateTime = 7/9/2019 10:47:23 AM
...


Using ADX 9.3.4640 on Windows 10 64-bit
Posted 09 Jul, 2019 13:04:04 Top
Andrei Smolin


Add-in Express team


Posts: 18825
Joined: 2006-05-11
Hello Nir,

Can it be that you've turned off (or restricted in some way) notifications delivered through the Windows 10 Notification and Actions Center? This may influence the notifications delivered by ClickTwice. Specifically, ClickTwice won't deliver notifications, if you turn them off.


Andrei Smolin
Add-in Express Team Leader
Posted 10 Jul, 2019 05:47:08 Top
nwein




Posts: 577
Joined: 2011-03-28
No, the notifications were coming up as soon as a new version was detected, but as the notifications were ignored, eventually, over the weekend, they stopped. No one touched the machine(s) during that time.
Posted 10 Jul, 2019 07:54:38 Top
Andrei Smolin


Add-in Express team


Posts: 18825
Joined: 2006-05-11
Nir,

Do you receive *any* notifications *now*? Say, when Outlook receives new emails?


Andrei Smolin
Add-in Express Team Leader
Posted 10 Jul, 2019 11:01:52 Top
nwein




Posts: 577
Joined: 2011-03-28
Yes. Also, if i'm not mistaken, once the user clicks the system tray icon to show that there's an update the AU toast notification will "resurrect" themselves. But yeah, other notifications (not ADX related, e.g. Emails, other notifications) are popping up.
Posted 10 Jul, 2019 14:04:10 Top
Andrei Smolin


Add-in Express team


Posts: 18825
Joined: 2006-05-11
Hello Nir,

If you install that update, will the issue persist for the next update?


Andrei Smolin
Add-in Express Team Leader
Posted 11 Jul, 2019 04:21:00 Top
nwein




Posts: 577
Joined: 2011-03-28
I haven't tried. I'll push a new update and see. I'll probably have results next week though because of the time we need to ignore the pop ups.
Will update when I know.
Thanks
Posted 11 Jul, 2019 08:18:02 Top
Andrei Smolin


Add-in Express team


Posts: 18825
Joined: 2006-05-11
Please let me know.


Andrei Smolin
Add-in Express Team Leader
Posted 12 Jul, 2019 04:41:02 Top
nwein




Posts: 577
Joined: 2011-03-28
Ok, so I have some results - for starters, I don't need to wait super long time, the behaviour happens even after ~50 minutes.
To reproduce, just have an updater running every 1 minute and publish a new version such that it will start "nagging".
Then lock the machine and leave it unattended for ~50 minutes.
When unlocking, you'd see the updater in the system tray (assuming you enabled it of course) but no more toast notifications. Once you just single click the updater in the system tray, the toast notifications will continue as normal.
I'm enclosing my au setting from the adxpublisher.config for reference:
<add key="auEnabled"                           value="true"/>			
<add key="auCheckForUpdatesOn"                 value="background"/>		
<add key="auCheckForUpdatesInterval"           value="1"/>			
<add key="auCheckForUpdatesTimeUnit"           value="minutes"/>			
<add key="auRunAtWindowsStartup"               value="true"/>			
<add key="auUnloadUpdaterAfterCheckForUpdates" value="false"/>			
<add key="auRemindInterval"                    value="1"/>			
<add key="auRemindTimeUnit"                    value="hours"/>			
<add key="auRunningAppWarningInterval"         value="1"/>			
<add key="auNewVersionWarningInterval"         value="1"/>			
<add key="auUpdaterAutoDownload"               value="true"/>		
<add key="auAllowUserExit"                     value="false"/>			
<add key="auShowAppIcon"                       value="true"/>			
<add key="auShowInTaskBar"                     value="false"/>			
<add key="auAllowTrayNotifications"            value="true"/>			
<add key="auAlwaysShowTrayIcon"                value="false"/>			
<add key="auShowSkipButton"                    value="false"/>		
<add key="auUseDoubleClickForNotifyIcon"       value="false"/>			
<add key="auGenerateUpdaterLog"                value="true"/>			
<add key="auUpdaterLogLocation"                value="$(Temp)$(ProductName)"/>			
<add key="auUpdaterWindowPosition"             value="systemTray"/>
<add key="auSilentUpdateMode"                  value="false"/>			
<add key="auWriteToSystemLog"                  value="false"/>		
<add key="auQuietUpdateMode"                   value="true"/>			
<add key="auShowUpdateCompleteDialog"          value="true"/>


I understand that different machines will have different settings, and in this case, I can say that the monitor did go to sleep after a while (though that was not the cause since once it went to sleep I woke it and the notifications kept showing up). The machine itself did not sleep , though that may be another avenue you might want to look at.
Posted 16 Jul, 2019 09:44:43 Top
nwein




Posts: 577
Joined: 2011-03-28
Addendum - I found the exact issue - it is in fact the monitor being turned off while the machine is locked.
I just had to wait another "cycle" of the toast notification after the screen turned off (and the machine was locked).
There is however a workaround, and that is to turn off notifications when the lock screen is on, though that is a global setting that will turn off all notifications when the lock screen is on and might not be desirable.
Nonetheless, I gave you a full repro, hopefully you can fix it.
Thanks in advance.
Posted 16 Jul, 2019 12:39:52 Top