4

Hello StackOverflow community,

I'm experiencing an unusual issue with our ClickOnce deployed VB.NET applications. Despite not having published any recent updates, some of our users are prompted to update the application. When they proceed, it behaves as if it's a fresh installation, wiping out all previous user configurations. Additionally, upon reopening the app, the update prompt returns.

The peculiarity seems to have started after the Windows update KB5029649. However, this issue isn't consistent across all machines with this update, making it even more puzzling.

Here's what I've observed and tried so far:

  • Cleaning the ClickOnce cache via rundll32 dfshim CleanOnlineAppCache provides a temporary fix, but the problem re-emerges after a few days for some users.
  • We've checked manifest files and ensured no accidental changes or commits are causing this.
  • Some machines with the exact same Windows update (KB5029649) do not face this issue at all, suggesting other potential variables at play.

I would greatly appreciate any insights or suggestions on what might be causing this or how to further diagnose the problem.

Thank you in advance for your help!

Antolin11
  • 51
  • 7

3 Answers3

1

The update KB5028244 is the problem (you might have noticed the problem after a Windows Update.) A fix could be tu uninstall the update : cmd > wusa /uninstall /kb:5028244.

You can also disable the Scheduled Task which is causing the problem : enter image description here

Or download the KIR (what is it ?) if you are a sys admin from here :

enter image description here

Here's some documentations :

Warning : don't mix KB5028244 (which is causing the problem) and KB5029244

Keytrap
  • 421
  • 5
  • 14
1

After much investigation, it seems I've found the root cause of the issue. I'm sharing this in case there's anyone else still struggling with this.

It appears the issue was due to a problem with the Windows update KB5028244.

According to their official update, a temporary solution is to uninstall and then reinstall the application. However, they will address the issue via a Known Issue Rollback (KIR).

Antolin11
  • 51
  • 7
  • thanks so much for this information. I was really shocked to receive so many support cases across many products without knowing what I did wrong! – Josef Bauer Aug 18 '23 at 10:47
1

KB5029331 "August 22, 2023—KB5029331 (OS Build 19045.3393) Preview" says it includes a fix for this problem:

This update addresses a known issue that affects ClickOnce. Apps that you used ClickOnce to deploy might begin to prompt for installation. This occurs even when the ClickOnce apps are already installed and marked as “trusted”.

Andrew Morton
  • 24,203
  • 9
  • 60
  • 84