6/9/2017 10:20:11 AM - shellExtensionPaths[0] = C:\Program Files\paint.net\ShellExtension_x64.dll
6/9/2017 10:20:11 AM - shellExtensionPaths[1] = C:\Program Files\paint.net\ShellExtension_x86.dll
6/9/2017 10:20:11 AM - ... unregister shell extension
6/9/2017 10:20:11 AM - ... 0: CLSID\{D292F82A-50BE-4351-96CC-E86F3F8049DA}
6/9/2017 10:20:11 AM - Exception while deleting: 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, Boolean throwOnMissingSubKey)
at PaintDotNet.SetupNgen.RegisterShellExtensions(Boolean delete) in D:\src\pdn\src\SetupNgen\SetupNgen.cs:line 1017
6/9/2017 10:20:11 AM - about to register static details for Default Programs
6/9/2017 10:20:11 AM - finished Default Programs registration
6/9/2017 10:20:11 AM - Closing log
So I went into regedit and found no Key by that name in HKEY_CLASSES_ROOT\CLSID.
I created one, just an empty key, and re-ran the installer. It failed again, this time throwing an error:
Quote
6/9/2017 10:33:12 AM - ... 1: Wow6432Node\CLSID\{D292F82A-50BE-4351-96CC-E86F3F8049DA}
6/9/2017 10:33:12 AM - Exception while deleting: 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, Boolean throwOnMissingSubKey)
at PaintDotNet.SetupNgen.RegisterShellExtensions(Boolean delete) in D:\src\pdn\src\SetupNgen\SetupNgen.cs:line 1017
Ok, so I created that key too, and re-ran the installer, it failed again, this time reporting:
Quote
6/9/2017 10:41:16 AM - ... paint.net.1\ShellEx\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}
6/9/2017 10:41:16 AM - Exception while deleting: System.ArgumentException: Cannot delete a subkey tree because the subkey does not exist.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at Microsoft.Win32.RegistryKey.DeleteSubKey(String subkey, Boolean throwOnMissingSubKey)
at PaintDotNet.SetupNgen.RegisterShellExtensions(Boolean delete) in D:\src\pdn\src\SetupNgen\SetupNgen.cs:line 1025
Oy, it clearly doesn't like the fact that 'something' is missing with Explorer shell handler. Fine, I re-created that key too. Yet another missing key:
Quote
6/9/2017 10:46:56 AM - ... 0: CLSID\{D292F82A-50BE-4351-96CC-E86F3F8049DA}
6/9/2017 10:46:56 AM - Exception while deleting: 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, Boolean throwOnMissingSubKey)
at PaintDotNet.SetupNgen.RegisterShellExtensions(Boolean delete) in D:\src\pdn\src\SetupNgen\SetupNgen.cs:line 1017
Eventually I tracked down all of the missing keys...
OS Windows 7 Service Pack 1 (6.1.7601.65536)
.NET Runtime 4.0.30319.42000
Physical Memory 32,657 MB
CPU Intel(R) Core(TM) i7-6700T CPU @ 2.80GHz
Architecture x64 (64-bit)
Process Mode 64-bit
Speed ~2808 MHz
Cores / Threads 4 / 8
Features DEP, SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, XSAVE
Video Card Intel(R) HD Graphics 530
Dedicated Video RAM 192 MB
Dedicated System RAM 0 MB
Shared System RAM 1,632 MB
Vendor ID 0x8086
Device ID 0x1912
Subsystem ID 0x30D017AA
Revision 6
LUID 0x00008342
Flags None
Outputs 1
Ok, so this isn't working. I tried to use the installer... it likewise fails. So I tried using Windows to remove the program. It complains I have to use the Wizard.
1603 Error - diagnostic tool
in Troubleshooting & Bug Reports
Posted
The last snippet of my log read:
So I went into regedit and found no Key by that name in HKEY_CLASSES_ROOT\CLSID.
I created one, just an empty key, and re-ran the installer. It failed again, this time throwing an error:
Ok, so I created that key too, and re-ran the installer, it failed again, this time reporting:
Oy, it clearly doesn't like the fact that 'something' is missing with Explorer shell handler. Fine, I re-created that key too. Yet another missing key:
Eventually I tracked down all of the missing keys...
But that did not help. The log doesn't show any errors but it still fails with a 1603.
Diag details:
Ok, so this isn't working. I tried to use the installer... it likewise fails. So I tried using Windows to remove the program. It complains I have to use the Wizard.
So I ran the Microsoft tool. https://support.microsoft.com/en-us/help/17588/fix-problems-that-block-programs-from-being-installed-or-removed
It apparently found something, fixed it and then removed the .12 version of paint.net.
I could then run the .16 installer successfully.