WineHQ
Bug Tracking Database – Bug 34637

 Bugzilla

 

Last modified: 2021-12-05 05:42:50 UTC  

WinLaunch 0.4.6.1 (OSX Style free Launcher) needs IShellDispatch5 (.NET shell32 COM interop XP vs. Vista)

Bug 34637 - WinLaunch 0.4.6.1 (OSX Style free Launcher) needs IShellDispatch5 (.NET shell32 COM interop XP vs. Vista)
WinLaunch 0.4.6.1 (OSX Style free Launcher) needs IShellDispatch5 (.NET shell...
Status: CLOSED FIXED
AppDB: Show Apps affected by this bug
Product: Wine
Classification: Unclassified
Component: shell32
1.7.3
x86 Linux
: P2 normal
: ---
Assigned To: Mr. Bugs
https://web.archive.org/web/202107261...
: dotnet, download
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2013-10-01 16:05 UTC by AdeC
Modified: 2021-12-05 05:42 UTC (History)
1 user (show)

See Also:
Regression SHA1:
Fixed by SHA1: 7b0c231f8e1199154b138225b738e752fd37305c
Distribution: ---
Staged patchset:


Attachments
Winlaunch attachment (4.05 KB, text/plain)
2013-10-01 16:05 UTC, AdeC
Details
terminal output/backtrace (6.83 KB, text/plain)
2013-10-02 15:33 UTC, Austin English
Details

Note You need to log in before you can comment on or make changes to this bug.
Description AdeC 2013-10-01 16:05:32 UTC
Created attachment 46163 [details]
Winlaunch attachment

Winlaunch OSX style launcher for windows.

Does not run at all. Attached error log
Comment 1 Austin English 2013-10-02 15:26:22 UTC
Comment on attachment 46163 [details]
Winlaunch attachment

Please use .txt in the future.
Comment 2 Austin English 2013-10-02 15:33:01 UTC
Confirming, needs winetricks dotnet40 to see the crash.

austin@aw25 ~ $ wine --version
wine-1.7.3-66-g7ffb9b7
austin@aw25 ~ $ sha1sum WinLaunch.zip 
5d79fb1d160354a04548fc7bba1a78012800c59c  WinLaunch.zip
austin@aw25 ~ $ du -h WinLaunch.zip 
20M	WinLaunch.zip
Comment 3 Austin English 2013-10-02 15:33:17 UTC
Created attachment 46172 [details]
terminal output/backtrace
Comment 4 Austin English 2013-10-16 03:44:04 UTC
Now that bug 30745 is fixed, I tried this again, but it's still present, no change.

wine-1.7.4-95-g953359c
Comment 5 Anastasius Focht 2013-11-12 09:00:39 UTC
Hello folks,

confirming.

Prerequisite: 'winetricks -q dotnet40'

Managed backtrace:

--- snip ---
$ wine ./WinLaunch.exe
...
fixme:shell:ShellDispatch_QueryInterface not implemented for {c3fcc19e-a970-11d2-8b5a-00a0c9b7c9c4} (unknown)
fixme:shell:ShellDispatch_QueryInterface not implemented for {b196b283-bab4-101a-b69c-00aa00341d07} (unknown)
fixme:shell:ShellDispatch_QueryInterface not implemented for {00000003-0000-0000-c000-000000000046} (unknown)
fixme:shell:ShellDispatch_QueryInterface not implemented for {00000144-0000-0000-c000-000000000046} (unknown)
fixme:shell:ShellDispatch_QueryInterface not implemented for {866738b9-6cf2-4de8-8767-f794ebe74f4e} (unknown)
fixme:shell:ShellDispatch_QueryInterface not implemented for {866738b9-6cf2-4de8-8767-f794ebe74f4e} (unknown)
 
Unhandled Exception: System.Windows.Markup.XamlParseException: The invocation of the constructor on type 'WinLaunch.MainWindow' that matches the specified binding constraints threw an exception. ---> System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to interface type 'Shell32.Shell'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{866738B9-6CF2-4DE8-8767-F794EBE74F4E}' failed due to the following error: Exception from HRESULT: 0x80004002 (E_NOINTERFACE).
   at WinLaunch.MainWindow..ctor()
   --- End of inner exception stack trace ---
   at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)
   at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
   at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
   at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
   at System.Windows.Application.LoadBamlStreamWithSyncInfo(Stream stream, ParserContext pc)
   at System.Windows.Application.LoadComponent(Uri resourceLocator, Boolean bSkipJournaledProperties)
   at System.Windows.Application.DoStartup()
   at System.Windows.Application.<.ctor>b__1(Object unused)
...
--- snip ---

The app queries this Vista+ Interface despite WinVer 'Windows XP' setting.

If you search for CLSID '866738b9-6cf2-4de8-8767-f794ebe74f4e' you find many hits with Windows apps using Shell32 COM object with IShellDispatch5 (Vista+) vs. IShellDispatch4 (XP).

$ sha1sum WinLaunch.zip 
5d79fb1d160354a04548fc7bba1a78012800c59c  WinLaunch.zip

$ du -sh WinLaunch.zip 
20M	WinLaunch.zip

$ wine --version
wine-1.7.6-136-gde0928a

Regards
Comment 6 Nikolay Sivov 2013-11-13 12:22:04 UTC
Ok, I'll send something for that.
Comment 7 Anastasius Focht 2013-11-14 16:20:44 UTC
Hello folks,

this is fixed by commit http://source.winehq.org/git/wine.git/commitdiff/7b0c231f8e1199154b138225b738e752fd37305c

Thanks Nikolay

Regards
Comment 8 Alexandre Julliard 2013-11-22 12:50:33 UTC
Closing bugs fixed in 1.7.7.


Privacy Policy
If you have a privacy inquiry regarding this site, please write to [email protected]

Hosted By CodeWeavers