WUView: 0.5.4.0: error updating failed code 5 AND 740

Sorry for this new bug report šŸ˜‰

when using the update button, i go visit the site, and download the update. Installing new version when program is still active fails with error code 5.

when closing the installation continues. it look likes the installer does not close open program or a check before installation starts.

Checkbox readme/start program = checked. code 740 still prompting. (no rights for this process)

When running setup as admin, installation is ok, no errors, and is starting when checkbox is checked

ps. I noticed that the log is NOT updated when installations fails with 740.

` 2023/05/11 16:42:02 INFO WUView (Windows Update Viewer) 0.5.3.0 is starting up 2023/05/11 16:42:02 INFO WUView Copyright Ā© 2023 Tim Kennedy 2023/05/11 16:42:02 DEBUG WUView Build date: woensdag 5 juli 2023 21:59 (UTC) 2023/05/11 16:42:02 DEBUG WUView Commit ID: ab3bded 2023/05/11 16:42:02 DEBUG Operating System version: Microsoft Windows 10.0.22621 2023/05/11 16:42:02 DEBUG .NET version: 6.0.16 2023/05/11 16:42:03 DEBUG Read 1 exclude record from disk in 13,56 milliseconds 2023/05/11 16:42:03 INFO Excluding updates containing: ā€œDefenderā€ 2023/05/11 16:42:03 DEBUG Read 20 Setup event log records in 11,76 milliseconds 2023/05/11 16:42:03 DEBUG Read 95 Windows Update records in 242,34 milliseconds 2023/05/11 16:42:03 WARN KB:KB5007651 Date: 7-5-2023 15:21:09 HResult: -2145099769 Operation: uoInstallation UpdateID: a36e5357-13f8-403e-ac5b-c0e31fd6c907 2023/05/11 16:42:03 DEBUG Extracting KB numbers from update titles took 1,46 milliseconds 2023/05/11 16:42:03 DEBUG Building WUpdate object took 18,54 milliseconds 2023/05/11 16:42:03 DEBUG Building the list of updates took 28,03 milliseconds 2023/05/11 16:42:03 DEBUG Removing excluded items took 0,12 milliseconds 2023/05/11 16:42:09 DEBUG Checking GitHub for latest release. 2023/05/11 16:42:09 DEBUG Latest version is 0.5.4 released on 11-5-2023 2023/05/11 16:42:09 DEBUG A newer release (0.5.4) has been found. 2023/05/11 16:42:12 DEBUG Opening https://github.com/Timthreetwelve/WUView/releases/tag/v0.5.4 2023/05/11 16:45:07 INFO WUView is shutting down. Elapsed time: 0:03:04.45 2023/05/11 16:45:07 2023/05/11 16:47:59 INFO WUView (Windows Update Viewer) 0.5.4.0 is starting up 2023/05/11 16:47:59 INFO WUView Copyright Ā© 2023 Tim Kennedy 2023/05/11 16:47:59 DEBUG WUView Build date: 2023/05/10 00:24:25 (UTC) 2023/05/11 16:47:59 DEBUG WUView Commit ID: 3796942 2023/05/11 16:47:59 DEBUG Operating System version: Microsoft Windows 10.0.22621 2023/05/11 16:47:59 DEBUG .NET version: 6.0.16 2023/05/11 16:47:59 DEBUG Read 1 exclude record from disk in 0,33 milliseconds 2023/05/11 16:47:59 INFO Excluding updates containing: ā€œDefenderā€ 2023/05/11 16:47:59 DEBUG Read 20 Setup event log records in 12,48 milliseconds 2023/05/11 16:47:59 DEBUG Read 95 Windows Update records in 14,21 milliseconds 2023/05/11 16:47:59 WARN KB:KB5007651 Date: 7-5-2023 15:21:09 HResult: -2145099769 Operation: uoInstallation UpdateID: a36e5357-13f8-403e-ac5b-c0e31fd6c907 2023/05/11 16:47:59 DEBUG Extracting KB numbers from update titles took 1,08 milliseconds 2023/05/11 16:47:59 DEBUG Building WUpdate object took 13,49 milliseconds 2023/05/11 16:47:59 DEBUG Building the list of updates took 19,58 milliseconds 2023/05/11 16:47:59 DEBUG Removing excluded items took 0,04 milliseconds

`

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 24 (11 by maintainers)

Most upvoted comments

@CMTriX, great news! I’m glad it worked. Thank you for sticking with me while I got it working.

FYI 0.5.13.beta didn’t have any changes in Windows Update Viewer, just the installer.

Tim

@CMTriX, thanks for those two logs but what I really needed was the Setup_Log.txt like you posted on May 15th.

Try uninstalling Windows Update Viewer. When asked to delete the files, click the No button.

screenshot

Then reinstall the application using the standard installer. This time do not run the installer as Administrator. Please attach or copy/paste the Setup_Log.txt from this install.

Thanks, Tim

Well, this is disappointing. I really hoped that using runascurrentuser would work.

Could you please attach or copy/paste the Setup_Log.txt from the runascurrentuser install that failed with the 740? I would like to do a line-by-line comparison with a successful installation log.

Thanks, Tim

@CMTriX, never mind. I tried downloading them on another machine and Windows Defender says that they are trojans. Of course, they aren’t, but I don’t want to get a bad reputation, so I deleted the release.

I’ll keep looking…

@CMTriX I still don’t have an answer for this. I would be interested to know if it still occurs in the latest updates.

If anyone else is reading this because you have the same issue, please chime in so that I can get a sense of how widespread the issue is.

Thanks, Tim

Implemented in 0.5.5.

Which log, the application’s log, or the install log?

I’m sorry that this problem persists. It sounds like the problem happens only during installation. Is that correct?

If so, check your temp directory for a file with a name pattern like Setup Log <date> <sequence>.txt. If the file doesn’t exist, you can rerun the installer.

View that log file and verify that it is for WUView. The third line should have the name of the installer file.

Attach that log file to this issue and I will see if I can figure out the error.

Thanks