http://bugs.winehq.org/show_bug.cgi?id=29391
Bug #: 29391 Summary: SetupNgen.exe crashes while installing Paint.NET 2.5 Product: Wine Version: 1.3.35 Platform: x86-64 URL: http://www.oldversion.com/common/uploaded_files/softwa res/paintdotnet25.exe OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: RandomAccountName@mail.com Classification: Unclassified
Created attachment 38048 --> http://bugs.winehq.org/attachment.cgi?id=38048 Full terminal output
Twice while installing Paint.NET 2.5, it shows an error dialog with the following message, then produces a crash in SetupNgen.exe after dismissing it:
Failed to load resources from resource file Please check your Setup
The installer reports success in spite of this. It needs winetricks dotnet11 as a prerequisite.
Workaround: native wshom.ocx (winetricks wsh57)
http://bugs.winehq.org/show_bug.cgi?id=29391
A Wine user RandomAccountName@mail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dotnet, download, Installer
http://bugs.winehq.org/show_bug.cgi?id=29391
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |focht@gmx.net Summary|SetupNgen.exe crashes while |SetupNgen.exe crashes while |installing Paint.NET 2.5 |installing Paint.NET 2.5 | |(needs wshom.ocx | |WshShell3_get_SpecialFolder | |s implementation) Ever Confirmed|0 |1
--- Comment #1 from Anastasius Focht focht@gmx.net 2011-12-20 09:10:31 CST --- Hello,
confirming, it seems "WshShell3_get_SpecialFolders" stub is the culprit here.
--- snip --- 002f:Call KERNEL32.LoadLibraryExW(0033f052 L"C:\windows\system32\wshom.ocx",00000000,00000008) ret=58ba8e76 ... 002f:Ret KERNEL32.LoadLibraryExW() retval=51fe0000 ret=58ba8e76 ... 002f:Call wshom.ocx.DllGetClassObject(00159a2c,79236df4,0033f410) ret=58baac12 002f:Ret wshom.ocx.DllGetClassObject() retval=00000000 ret=58baac12 ... 002f:fixme:wshom:ClassFactory_QueryInterface (0x51fefa18)->({b196b28f-bab4-101a-b69c-00aa00341d07} 0x33f38c) 002f:fixme:wshom:WshShell3_QueryInterface Unknown iface {c3fcc19e-a970-11d2-8b5a-00a0c9b7c9c4} ... 002f:Call KERNEL32.MultiByteToWideChar(00000000,00000001,06af8a31 "get_SpecialFolders",ffffffff,0033e9a0,00000013) ret=791e3541 ... 002f:Call KERNEL32.MultiByteToWideChar(0000fde9,00000000,00535880 "IWshRuntimeLibrary.WshShellClass",ffffffff,0052b818,00000400) ret=791b7803 ... 002f:fixme:wshom:WshShell3_get_SpecialFolders (0x33f418) ... 002f:Call KERNEL32.RaiseException(e0434f4d,00000001,00000000,00000000) ret=7921020d 002f:trace:seh:raise_exception code=e0434f4d flags=1 addr=0x7b838b5b ip=7b838b5b tid=002f 002f:trace:seh:raise_exception eax=7b826171 ebx=7b8a97a8 ecx=00000000 edx=00000010 esi=0033f00c edi=0033ef80 002f:trace:seh:raise_exception ebp=0033ef68 esp=0033ef04 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00000246 002f:trace:seh:call_vectored_handlers calling handler at 0x2026de0e code=e0434f4d flags=1 ... 0030:Call user32.MessageBoxW(00000000,79289080 L"Failed to load resources from resource file\nPlease check your Setup",79289108 L"Setup Error",00000010) ret=7928b468 --- snip ---
Source of current stub:
http://source.winehq.org/git/wine.git/blob/cf2a4399472f7c4171c90c05a59582849...
$ sha1sum paintdotnet25.exe e03dde6f766de39b7a66c4c8f0742c32a2394129 paintdotnet25.exe
$ wine --version wine-1.3.35-43-gd9d4a06
Regards
http://bugs.winehq.org/show_bug.cgi?id=29391
--- Comment #2 from Anastasius Focht focht@gmx.net 2011-12-30 11:32:05 CST --- Hello,
WshShell3_get_SpecialFolders is no longer a stub, returning IWshCollection instance now.
http://source.winehq.org/git/wine.git/commitdiff/9fc38b723055ccc0faa490861dc...
It's still not enough because it needs IWshCollection.Item
Though it now overlaps with bug 28605 (which started from WshShell3_GetIDsOfNames).
--- snip --- 0035:trace:wshom:DllGetClassObject (CLSID_WshShell {00000001-0000-0000-c000-000000000046} 0x33f110) 0035:trace:wshom:ClassFactory_QueryInterface (0x2d919d9c)->(IID_IClassFactory 0x33f110) 0035:trace:wshom:ClassFactory_AddRef (0x2d919d9c) 0035:fixme:wshom:ClassFactory_QueryInterface (0x2d919d9c)->({b196b28f-bab4-101a-b69c-00aa00341d07} 0x33ef58) 0035:trace:wshom:WshShellFactory_CreateInstance ((nil) {00000000-0000-0000-c000-000000000046} 0x33ef70) 0035:trace:wshom:WshShell3_QueryInterface ({00000000-0000-0000-c000-000000000046}, 0x33ef70) 0035:trace:wshom:WshShell3_AddRef () 0035:trace:wshom:WshShell3_QueryInterface ({00000000-0000-0000-c000-000000000046}, 0x33ed18) 0035:trace:wshom:WshShell3_AddRef () 0035:trace:wshom:WshShell3_QueryInterface ({c3fcc19e-a970-11d2-8b5a-00a0c9b7c9c4}, 0x33ecc8) 0035:fixme:wshom:WshShell3_QueryInterface Unknown iface {c3fcc19e-a970-11d2-8b5a-00a0c9b7c9c4} 0035:trace:wshom:WshShell3_AddRef () 0035:trace:wshom:WshShell3_QueryInterface ({00000003-0000-0000-c000-000000000046}, 0x33eb3c) 0035:fixme:wshom:WshShell3_QueryInterface Unknown iface {00000003-0000-0000-c000-000000000046} 0035:trace:wshom:WshShell3_AddRef () 0035:trace:wshom:WshShell3_QueryInterface ({00000144-0000-0000-c000-000000000046}, 0x33ebb4) 0035:fixme:wshom:WshShell3_QueryInterface Unknown iface {00000144-0000-0000-c000-000000000046} 0035:trace:wshom:WshShell3_Release () 0035:trace:wshom:WshShell3_Release () 0035:trace:wshom:ClassFactory_Release (0x2d919d9c) 0035:trace:wshom:WshShell3_Release () 0035:trace:wshom:WshShell3_AddRef () 0035:trace:wshom:WshShell3_QueryInterface ({41904400-be18-11d3-a28b-00104bd35090}, 0x33f068) 0035:trace:wshom:WshShell3_AddRef () 0035:trace:wshom:WshShell3_Release () 0035:trace:wshom:WshShell3_AddRef () 0035:trace:wshom:WshShell3_get_SpecialFolders (0x33f190) 0035:trace:wshom:WshCollection_QueryInterface (0x151f98)->({00000000-0000-0000-c000-000000000046}, 0x33ea9c) 0035:trace:wshom:WshCollection_AddRef (0x151f98) ref = 2 0035:trace:wshom:WshCollection_QueryInterface (0x151f98)->({c3fcc19e-a970-11d2-8b5a-00a0c9b7c9c4}, 0x33ea4c) 0035:fixme:wshom:WshCollection_QueryInterface Unknown iface {c3fcc19e-a970-11d2-8b5a-00a0c9b7c9c4} 0035:trace:wshom:WshCollection_QueryInterface (0x151f98)->({b196b283-bab4-101a-b69c-00aa00341d07}, 0x33e92c) 0035:fixme:wshom:WshCollection_QueryInterface Unknown iface {b196b283-bab4-101a-b69c-00aa00341d07} 0035:trace:wshom:WshCollection_AddRef (0x151f98) ref = 3 0035:trace:wshom:WshCollection_QueryInterface (0x151f98)->({00000003-0000-0000-c000-000000000046}, 0x33e8c0) 0035:fixme:wshom:WshCollection_QueryInterface Unknown iface {00000003-0000-0000-c000-000000000046} 0035:trace:wshom:WshCollection_AddRef (0x151f98) ref = 4 0035:trace:wshom:WshCollection_QueryInterface (0x151f98)->({00000144-0000-0000-c000-000000000046}, 0x33e938) 0035:fixme:wshom:WshCollection_QueryInterface Unknown iface {00000144-0000-0000-c000-000000000046} 0035:trace:wshom:WshCollection_Release (0x151f98) ref = 3 0035:trace:wshom:WshCollection_Release (0x151f98) ref = 2 0035:trace:wshom:WshCollection_AddRef (0x151f98) ref = 3 0035:trace:wshom:WshCollection_QueryInterface (0x151f98)->({f935dc27-1cf0-11d0-adb9-00c04fd58a0b}, 0x33ed4c) 0035:trace:wshom:WshCollection_AddRef (0x151f98) ref = 4 0035:trace:wshom:WshCollection_Release (0x151f98) ref = 3 0035:trace:wshom:WshCollection_Release (0x151f98) ref = 2 0035:trace:wshom:WshCollection_Release (0x151f98) ref = 1 0035:trace:wshom:WshShell3_Release () 0035:trace:wshom:WshCollection_AddRef (0x151f98) ref = 2 0035:trace:wshom:WshCollection_QueryInterface (0x151f98)->({f935dc27-1cf0-11d0-adb9-00c04fd58a0b}, 0x33f058) 0035:trace:wshom:WshCollection_AddRef (0x151f98) ref = 3 0035:trace:wshom:WshCollection_Release (0x151f98) ref = 2 0035:trace:wshom:WshCollection_AddRef (0x151f98) ref = 3 0035:fixme:wshom:WshCollection_Item (0x151f98)->(0x33f194 0x33f16c): stub 0035:trace:seh:raise_exception code=e06d7363 flags=1 addr=0x7b838b5b ip=7b838b5b tid=0035 0035:trace:seh:raise_exception info[0]=19930520 0035:trace:seh:raise_exception info[1]=0033f130 0035:trace:seh:raise_exception info[2]=79f9acc4 0035:trace:seh:raise_exception eax=7b826171 ebx=7b8a97a8 ecx=79f9acc4 edx=0033f058 esi=00004000 edi=00000000 0035:trace:seh:raise_exception ebp=0033f090 esp=0033f02c cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00000207 ... Unhandled Exception: System.NotImplementedException: The method or operation is not implemented. at IWshRuntimeLibrary.IWshCollection.Item(Object& Index) at PaintDotNet.SetupNgen.Main(String[] args) wine: Unhandled exception 0xe0434f4d at address 0x7b838b5b (thread 0035), starting debugger... 0035:trace:seh:start_debugger Starting debugger "winedbg --auto 52 436" --- snip ---
$ wine --version wine-1.3.35-318-g8fc7a01
Regards
http://bugs.winehq.org/show_bug.cgi?id=29391
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com 2011-12-30 11:46:00 CST --- This case a bit different cause Item() is called directly here, without IDispatch . Bug 28605 however requires tweaked Invoke() implementation it seems, cause typelib definition is a bit broken to support it normally.
http://bugs.winehq.org/show_bug.cgi?id=29391
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|wine-bugs@winehq.org |bunglehead@gmail.com
--- Comment #4 from Nikolay Sivov bunglehead@gmail.com 2011-12-31 03:33:02 CST --- I have some patches to makes this work using mono 2.6, will send next week.
http://bugs.winehq.org/show_bug.cgi?id=29391
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com 2012-01-03 13:50:06 CST --- Some fixes are committed:
4a068c64d041cbdc11bd2a7ba44c67f5f6ec460e aa707ec270b825e7bee24f94ed1c63c6a01f36ac 7f2d4f2933345aeac7d5c5d419bc5ed6610fe28a 23fe903d9aded30f4f94165c1a212969ff32af88 9e7c1bd163cda52eda9627c6e4955ba4c7065f90 033c18fce9efe649e201a5afc01b6af641cfbd86 34f1811d1263dc9ac5cac34376dcc59782821b00 06c0b139f596cae83d498a55a9a0589e50400589
please retest.
http://bugs.winehq.org/show_bug.cgi?id=29391
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |4a068c64d041cbdc11bd2a7ba44 | |c67f5f6ec460e Status|NEW |RESOLVED Resolution| |FIXED Severity|minor |normal
--- Comment #6 from Anastasius Focht focht@gmx.net 2012-01-03 14:40:50 CST --- Hello,
looks good ...
--- snip --- 0034:trace:process:create_process_impl app L"C:\Program Files\Paint.NET\SetupNgen.exe" cmdline L""C:\Program Files\Paint.NET\SetupNgen.exe" /install DESKTOPSHORTCUT=1 PDNUPDATING=0 SKIPCLEANUP=0" ... 003b:trace:loaddll:load_native_dll Loaded L"C:\program files\paint.net\interop.iwshruntimelibrary.dll" at 0x6af0000: native ... 003b:trace:loaddll:load_builtin_dll Loaded L"C:\windows\system32\wshom.ocx" at 0x6b940000: builtin ... 003b:trace:wshom:WshShellFactory_CreateInstance ((nil) {00000000-0000-0000-c000-000000000046} 0x33f390) ... 003b:trace:wshom:WshShell3_get_SpecialFolders (0x33f418) ... 003b:trace:wshom:WshCollection_Item (0x157328)->({VT_BSTR: L"AllUsersDesktop"} 0x33f3f0) ... 003b:trace:wshom:WshShell3_get_SpecialFolders (0x33f418) ... 003b:trace:wshom:WshCollection_Item (0x157340)->({VT_BSTR: L"AllUsersPrograms"} 0x33f3f0) ... 003b:trace:wshom:WshShell3_CreateShortcut (L"C:\users\Public\Desktop\Paint.NET.lnk" 0x33f318) ... 003b:trace:wshom:WshShortcut_put_Description (0x159da0)->(L"Create, edit, scan, and print images and photographs.") 003b:trace:wshom:WshShortcut_put_WorkingDirectory (0x159da0)->(L"C:\Program Files\Paint.NET"): stub 003b:trace:wshom:WshShortcut_put_TargetPath (0x159da0)->(L"C:\Program Files\Paint.NET\PaintDotNet.exe") ... create shortcut: C:\users\Public\Desktop\Paint.NET.lnk 003b:trace:wshom:WshShortcut_Save (0x159da0) 003b:trace:process:create_process_impl app L"C:\windows\system32\winemenubuilder.exe" cmdline L"C:\windows\system32\winemenubuilder.exe -w "C:\users\Public\Desktop\Paint.NET.lnk"" ... 003b:trace:wshom:WshShell3_CreateShortcut (L"C:\users\Public\Start Menu\Programs\Paint.NET.lnk" 0x33f318) ... 003b:trace:wshom:WshShortcut_put_Description (0x159700)->(L"Create, edit, scan, and print images and photographs.") 003b:trace:wshom:WshShortcut_put_WorkingDirectory (0x159700)->(L"C:\Program Files\Paint.NET"): stub 003b:trace:wshom:WshShortcut_put_TargetPath (0x159700)->(L"C:\Program Files\Paint.NET\PaintDotNet.exe") ... create shortcut: C:\users\Public\Start Menu\Programs\Paint.NET.lnk 003b:trace:wshom:WshShortcut_Save (0x159700) ... 003b:trace:process:create_process_impl app L"C:\windows\system32\winemenubuilder.exe" cmdline L"C:\windows\system32\winemenubuilder.exe -w "C:\users\Public\Start Menu\Programs\Paint.NET.lnk"" ... --- snip ---
Thanks Nikolay.
Regards
http://bugs.winehq.org/show_bug.cgi?id=29391
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org 2012-01-13 13:50:15 CST --- Closing bugs fixed in 1.3.37.
https://bugs.winehq.org/show_bug.cgi?id=29391
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |wshom.ocx
https://bugs.winehq.org/show_bug.cgi?id=29391
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|bunglehead@gmail.com |wine-bugs@winehq.org
https://bugs.winehq.org/show_bug.cgi?id=29391
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.oldversion.com/c |https://web.archive.org/web |ommon/uploaded_files/softwa |/20210201124501/https://fil |res/paintdotnet25.exe |ehippo.com/download_paint-n | |et/2.5/post_download/