Bug Reports

An error occurs when trying to remove certain programs from Software Updater.

Bug report typeNon-fatal bug
Program affectedSoftware Updater (v1.0 Build 02)
Details

When you try to remove certain programs from Software Updater that were not added by you, you get the following error:

An unhandled error has occured.
Error details:
System.ArgumentException: Cannot delete a subkey tree because the subkey does not exist.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at Microsoft.Win32.RegistryKey.DeleteSubKeyTree(String subkey)
[...]

The error occurs because Software Updateris trying to remove a program registered in the All Users registry (HKEY_LOCAL_MACHINE), to which an unprivilaged user does not have access to.

Updated 29 Apr 2011: The previous explanation for why the error occurs was inaccurate.

Steps to reproduce
  1. Open the Software Updater main window.
  2. Select one of the programs not added by you (e.g. Software Updater or Project Nelson).
  3. Click Remove.
Workaround

Start Registry Editor and navigate to HKEY_LOCAL_MACHINE\Software\MarkKB\Software Updater. Right-click the key that represents the software you want to delete, and click Delete. When a dialog appears, click Yes.

StatusFIXED in v1.0 Build 03.
Copyright © 2004-2011 Mark Kéy-Balchin.