toe_head2001 Posted April 4, 2017 Author Share Posted April 4, 2017 Oh... I didn't mean for you to copy and paste all ~3600 lines into the post; just attach the file. Anyways, it looks like it's an issue with 'SetupNgen.exe'. Quote MSI (s) (74:FC) [11:32:24:540]: Note: 1: 1722 2: _577D73A5_8502_4A32_A3DC_26C3DEF80357 3: C:\Program Files\paint.net\SetupNgen.exe 4: /install DESKTOPSHORTCUT=1 PDNUPDATING=0 SKIPCLEANUP=0 "PROGRAMSGROUP=" QUEUENGEN=0 MSI (s) (74:FC) [11:32:24:540]: Note: 1: 2262 2: Error 3: -2147287038 MSI (c) (68:80) [11:32:24:571]: Font created. Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action _577D73A5_8502_4A32_A3DC_26C3DEF80357, location: C:\Program Files\paint.net\SetupNgen.exe, command: /install DESKTOPSHORTCUT=1 PDNUPDATING=0 SKIPCLEANUP=0 "PROGRAMSGROUP=" QUEUENGEN=0 MSI (s) (74:FC) [11:32:35:879]: Note: 1: 2262 2: Error 3: -2147287038 MSI (s) (74:FC) [11:32:35:879]: Product: paint.net -- Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action _577D73A5_8502_4A32_A3DC_26C3DEF80357, location: C:\Program Files\paint.net\SetupNgen.exe, command: /install DESKTOPSHORTCUT=1 PDNUPDATING=0 SKIPCLEANUP=0 "PROGRAMSGROUP=" QUEUENGEN=0 I don't know how to fix that, as we haven't had any luck troubleshooting it in the past. 'SetupNgen.exe' is supposed to create it's own log file in the Windows Temporary directory, but in cases like this, that log doesn't get created. You can check for it though, just in case it's there. %temp%\pdnSetupNgenInstall.log Other things you may want to try: - Reinstall the .NET Framework - Go into Windows Safe Mode and try to install paint.net from there (September 25th, 2023) Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
jamesampm Posted April 4, 2017 Share Posted April 4, 2017 Oh and I typed all that out too! Tried using both the powershell and command lines to reinstall .net but get error 0x800f0813 Link to comment Share on other sites More sharing options...
wkearney99 Posted June 9, 2017 Share Posted June 9, 2017 The last snippet of my log read: Quote 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... Quote Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\CLSID\{D292F82A-50BE-4351-96CC-E86F3F8049DA}] [HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{D292F82A-50BE-4351-96CC-E86F3F8049DA}] [HKEY_CLASSES_ROOT\paint.net.1\ShellEx\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}] [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{D292F82A-50BE-4351-96CC-E86F3F8049DA}] [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Wow6432Node\CLSID\{D292F82A-50BE-4351-96CC-E86F3F8049DA}] [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\paint.net.1\ShellEx\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}] [HKEY_CURRENT_USER\Software\Classes\CLSID\{D292F82A-50BE-4351-96CC-E86F3F8049DA}] [HKEY_USERS\.DEFAULT\Software\Classes\CLSID\{D292F82A-50BE-4351-96CC-E86F3F8049DA}] But that did not help. The log doesn't show any errors but it still fails with a 1603. Diag details: Quote Application paint.net 4.0.12 (Final 4.12.6099.39434) Build Date Monday, September 12, 2016 Hardware accelerated rendering (GPU) True Animations True DPI 96.00 (1.00x scale) Language en-US 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. 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. Link to comment Share on other sites More sharing options...
Nickie Posted November 20, 2017 Share Posted November 20, 2017 > Line 1185: MSI (s) (E4:3C) [21:03:26:455]: Executing op: ComponentRegister(ComponentId={47EE30AF-4A7F-D715-D304-E2AAF2975F71},KeyPath=20:\.tga\Content Type,State=3,,Disk=1,SharedDllRefCount=0,BinaryType=1) > Line 1186: MSI (s) (E4:3C) [21:03:26:455]: Executing op: ComponentRegister(ComponentId={C15EA751-6964-6BD5-94A1-CE1EE5B8B13E},KeyPath=20:\.tga\PerceivedType,State=3,,Disk=1,SharedDllRefCount=0,BinaryType=1) > Line 1187: MSI (s) (E4:3C) [21:03:26:456]: Executing op: ComponentRegister(ComponentId={7F5E22C8-B0B5-21E4-E52D-412FB80F43AC},KeyPath=20:\.tga\,State=3,,Disk=1,SharedDllRefCount=0,BinaryType=1) > Line 1188: MSI (s) (E4:3C) [21:03:26:456]: Executing op: ComponentRegister(ComponentId={A0658B02-FEEA-7A1C-20BE-CC36D1B4AEB3},KeyPath=20:\paint.net.ThumbnailProvider.1\,State=3,,Disk=1,SharedDllRefCount=0,BinaryType=1) > Line 1189: MSI (s) (E4:3C) [21:03:26:456]: Executing op: ComponentRegister(ComponentId={5A78060E-BBFF-F1F9-9235-0160386A5570},KeyPath=20:\paint.net.ThumbnailProvider.1\CLSID\,State=3,,Disk=1,SharedDllRefCount=0,BinaryType=1) > Line 1190: MSI (s) (E4:3C) [21:03:26:456]: Executing op: ComponentRegister(ComponentId={039413BC-4FCA-AC29-C129-D2396FAF5A30},KeyPath=20:\paint.net.ThumbnailProvider.1\CLSID\,State=3,,Disk=1,SharedDllRefCount=0,BinaryType=1) > Line 1191: MSI (s) (E4:3C) [21:03:26:457]: Executing op: ComponentRegister(ComponentId={C4C97771-2FBA-C4BA-F29F-B1079508F5A0},KeyPath=22:\Software\paint.net\,State=3,,Disk=1,SharedDllRefCount=0,BinaryType=1) > Line 1192: MSI (s) (E4:3C) [21:03:26:457]: Executing op: ComponentRegister(ComponentId={65513189-3039-DD8A-A5B6-B82B2ADAF3C5},KeyPath=22:\Software\paint.net\CHECKFORBETAS,State=3,,Disk=1,SharedDllRefCount=0,BinaryType=1) > Line 1193: MSI (s) (E4:3C) [21:03:26:457]: Executing op: ComponentRegister(ComponentId={04A31B5A-BEB5-40F5-D2E4-693F0016DE8B},KeyPath=22:\Software\paint.net\CHECKFORUPDATES,State=3,,Disk=1,SharedDllRefCount=0,BinaryType=1) The weird thing to note here is that paint.net installation worked perfectly fine when I updated my windows OS, but I had to recover my previous version of windows due to the update breaking several other things that I need. Thanks for any help. Link to comment Share on other sites More sharing options...
toe_head2001 Posted November 20, 2017 Author Share Posted November 20, 2017 Hi @Nickie, in this case you'll need to attach the full log file. (September 25th, 2023) Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
d3av2id1 Posted October 19, 2018 Share Posted October 19, 2018 https://pastebin.com/d0H9C6cw this is what I got, I really need this fixed Link to comment Share on other sites More sharing options...
Pixey Posted October 19, 2018 Share Posted October 19, 2018 Hello @d3av2id1 and Welcome to the forum Please try removing all traces with this tool and then try to re-install paint.net: https://support.microsoft.com/en-us/help/17588/fix-problems-that-block-programs-from-being-installed-or-removed How I made Jennifer & Halle in Paint.net My Gallery | My Deviant Art "Rescuing one animal may not change the world, but for that animal their world is changed forever!" anon. Link to comment Share on other sites More sharing options...
d3av2id1 Posted October 19, 2018 Share Posted October 19, 2018 Thank you, it worked. Link to comment Share on other sites More sharing options...
toe_head2001 Posted October 19, 2018 Author Share Posted October 19, 2018 It seems someone completely ignored "Note 1" in the first post. Well, I've edited the post to make it more difficult to ignore. (September 25th, 2023) Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
MegalexActevum Posted November 16, 2018 Share Posted November 16, 2018 Here's my error: > Line 1224: MSI (s) (18:00) [15:59:22:021]: Note: 1: 2262 2: Error 3: -2147287038 > Line 1225: MSI (s) (18:00) [15:59:22:022]: Product: paint.net -- Error 1316. The specified account already exists. > Line 1226: > Line 1227: > Line 1228: Action ended 15:59:22: PublishProduct. Return value 3. > Line 1229: MSI (s) (18:00) [15:59:22:066]: Note: 1: 2265 2: 3: -2147287035 > Line 1230: MSI (s) (18:00) [15:59:22:067]: Machine policy value 'DisableRollback' is 0 > Line 1231: MSI (s) (18:00) [15:59:22:067]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 > Line 1232: MSI (s) (18:00) [15:59:22:068]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 > Line 1231: MSI (s) (18:00) [15:59:22:067]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 > Line 1232: MSI (s) (18:00) [15:59:22:068]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 > Line 1233: MSI (s) (18:00) [15:59:22:069]: No System Restore sequence number for this installation. > Line 1234: MSI (s) (18:00) [15:59:22:069]: Unlocking Server > Line 1235: Action ended 15:59:22: INSTALL. Return value 3. > Line 1236: Property(S): UpgradeCode = {04A40F40-A207-4B48-AED7-6AA532E43275} > Line 1237: Property(S): TARGETDIR = C:\Users\AlexTJ\Downloads\New folder\ > Line 1238: Property(S): SourceDir = C:\Users\AlexTJ\Desktop\PaintDotNetMsi\ > Line 1239: Property(S): _5B4D6794473B40CEAAF9CE9A4F94922A = C:\Users\AlexTJ\Downloads\New folder\Native.x86\ > Line 1368: Property(S): PrimaryVolumeSpaceRemaining = 0 > Line 1369: Property(S): INSTALLLEVEL = 1 > Line 1370: Property(S): SOURCEDIR = C:\Users\AlexTJ\Desktop\PaintDotNetMsi\ > Line 1371: Property(S): SourcedirProduct = {C61DDD8B-027D-40E1-A8E1-84E9613B9147} > Line 1372: MSI (s) (18:00) [15:59:22:308]: MainEngineThread is returning 1603 > Line 1373: MSI (s) (18:E8) [15:59:22:313]: RESTART MANAGER: Session closed. > Line 1374: MSI (s) (18:E8) [15:59:22:313]: No System Restore sequence number for this installation. > Line 1375: MSI (s) (18:E8) [15:59:22:318]: User policy value 'DisableRollback' is 0 > Line 1376: MSI (s) (18:E8) [15:59:22:318]: Machine policy value 'DisableRollback' is 0 > Line 1379: MSI (s) (18:E8) [15:59:22:319]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 > Line 1380: MSI (s) (18:E8) [15:59:22:320]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1 > Line 1381: MSI (s) (18:E8) [15:59:22:321]: Destroying RemoteAPI object. > Line 1382: MSI (s) (18:9C) [15:59:22:321]: Custom Action Manager thread ending. > Line 1383: MSI (c) (50:DC) [15:59:22:324]: Back from server. Return value: 1603 > Line 1384: MSI (c) (50:DC) [15:59:22:325]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1 > Line 1385: Action ended 15:59:22: INSTALL. Return value 3. > Line 1386: Property(C): UpgradeCode = {04A40F40-A207-4B48-AED7-6AA532E43275} > Line 1387: Property(C): VSDFrameworkVersion = ANY > Line 1381: MSI (s) (18:E8) [15:59:22:321]: Destroying RemoteAPI object. > Line 1382: MSI (s) (18:9C) [15:59:22:321]: Custom Action Manager thread ending. > Line 1383: MSI (c) (50:DC) [15:59:22:324]: Back from server. Return value: 1603 > Line 1384: MSI (c) (50:DC) [15:59:22:325]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1 > Line 1385: Action ended 15:59:22: INSTALL. Return value 3. > Line 1386: Property(C): UpgradeCode = {04A40F40-A207-4B48-AED7-6AA532E43275} > Line 1387: Property(C): VSDFrameworkVersion = ANY > Line 1388: Property(C): VSDAllowLaterFrameworkVersions = False > Line 1389: Property(C): ProductName = paint.net > Line 1493: MSI (c) (50:DC) [15:59:22:340]: Note: 1: 2262 2: Error 3: -2147287038 > Line 1494: MSI (c) (50:DC) [15:59:22:340]: Note: 1: 2262 2: Error 3: -2147287038 > Line 1495: MSI (c) (50:DC) [15:59:22:340]: Product: paint.net -- Configuration failed. > Line 1496: > Line 1497: MSI (c) (50:DC) [15:59:22:341]: Windows Installer reconfigured the product. Product Name: paint.net. Product Version: 4.1.4. Product Language: 1033. Manufacturer: dotPDN LLC. Reconfiguration success or error status: 1603. > Line 1498: > Line 1499: MSI (c) (50:DC) [15:59:22:361]: Grabbed execution mutex. > Line 1500: MSI (c) (50:DC) [15:59:22:361]: Cleaning up uninstalled install packages, if any exist > Line 1501: MSI (c) (50:DC) [15:59:22:364]: MainEngineThread is returning 1603 > Line 1497: MSI (c) (50:DC) [15:59:22:341]: Windows Installer reconfigured the product. Product Name: paint.net. Product Version: 4.1.4. Product Language: 1033. Manufacturer: dotPDN LLC. Reconfiguration success or error status: 1603. > Line 1498: > Line 1499: MSI (c) (50:DC) [15:59:22:361]: Grabbed execution mutex. > Line 1500: MSI (c) (50:DC) [15:59:22:361]: Cleaning up uninstalled install packages, if any exist > Line 1501: MSI (c) (50:DC) [15:59:22:364]: MainEngineThread is returning 1603 > Line 1502: === Verbose logging stopped: 16/11/2018 15:59:22 === > Line 1503: > -EOF- Link to comment Share on other sites More sharing options...
toe_head2001 Posted November 16, 2018 Author Share Posted November 16, 2018 Too many people are ignoring my note at the very top of the first post. Therefore, I've removed everything else, and have locked this topic. This tool has outlived its usefulness. (September 25th, 2023) Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
Recommended Posts