[Bug 31350] T-Online Mediencenter Assistent (.NET 3.5 WPF app) installer fails ('dwmapi.dll' stubs insufficient in Vista/Win7 mode)

wine-bugs at winehq.org wine-bugs at winehq.org
Sun May 31 16:37:06 CDT 2015


https://bugs.winehq.org/show_bug.cgi?id=31350

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |dotnet, Installer
                 CC|                            |focht at gmx.net
            Summary|Cannot install T-Online     |T-Online Mediencenter
                   |mediencenter_assistent_setu |Assistent (.NET 3.5 WPF
                   |p.exe (entry point method)  |app) installer fails
                   |                            |('dwmapi.dll' stubs
                   |                            |insufficient in Vista/Win7
                   |                            |mode)

--- Comment #4 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

same as Austin's comment .. the initial problem about 'The entry point method
could not be loaded' is not present hence the bug likely evolved.

Prerequisites:

'winetricks -q dotnet35sp1' in clean 32-bit WINEPREFIX

The installer requests at least 'Windows Vista' setting which causes the inner
WPF based installer 'wdsetup.exe' to fail.

--- snip ---
...
fixme:ntdll:NtSecureConnectPort
(0x33b97c,L"\\BaseNamedObjects\\FontCachePort3.0.0.0",0x33b964,(nil),0x18f108,(nil),0x33b978,0x1189658,0x33b970),stub!
fixme:process:FlushProcessWriteBuffers : stub
fixme:shell:URL_ParseUrl failed to parse L"System.Xml"
fixme:shell:URL_ParseUrl failed to parse L"System.Drawing"
fixme:dwmapi:DwmIsCompositionEnabled 0x33dfb8
fixme:dwmapi:DwmGetTransportAttributes (0x33dde8, 0x33ddf0, 0x33ddec) stub
fixme:wer:WerRegisterMemoryBlock (0x5418ebf0 6144) stub
fixme:wer:WerRegisterMemoryBlock (0x5418ebe8 4) stub
fixme:dwmapi:DwmGetGraphicsStreamClient (0, 0x33ddf4) stub
fixme:dwmapi:DwmGetTransportAttributes (0x33ca60, 0x33ca68, 0x33ca64) stub
fixme:dwmapi:DwmGetGraphicsStreamClient (0, 0x33ca6c) stub
fixme:dwmapi:DwmGetTransportAttributes (0x33dbbc, 0x33dbc4, 0x33dbc0) stub
fixme:dwmapi:DwmGetGraphicsStreamClient (0, 0x33dbc8) stub

Unhandled Exception: System.Windows.Markup.XamlParseException:  Cannot have
nested BeginInit calls on the same instance.  Error in markup file
'MediencenterSetup;component/SetupWindow.xaml'. --->
System.InvalidOperationException: Cannot have nested BeginInit calls on the
same instance.
   at System.Windows.FrameworkElement.BeginInit()
   at System.Windows.Markup.BamlRecordReader.ElementInitialize(Object element,
String name)
   at
System.Windows.Markup.BamlRecordReader.BaseReadElementStartRecord(BamlElementStartRecord
bamlElementRecord)
   at
System.Windows.Markup.BamlRecordReader.ReadElementStartRecord(BamlElementStartRecord
bamlElementRecord)
   at System.Windows.Markup.BamlRecordReader.ReadRecord(BamlRecord bamlRecord)
   --- End of inner exception stack trace ---
   at System.Windows.Markup.XamlParseException.ThrowException(String message,
Exception innerException, Int32 lineNumber, Int32 linePosition, Uri baseUri,
XamlObjectIds currentXamlObjectIds, XamlObjectIds contextXamlObjectIds, Type
objectType)
   at System.Windows.Markup.XamlParseException.ThrowException(ParserContext
parserContext, Int32 lineNumber, Int32 linePosition, String message, Exception
innerException)
   at System.Windows.Markup.BamlRecordReader.ReadRecord(BamlRecord bamlRecord)
   at System.Windows.Markup.BamlRecordReader.Read(Boolean singleRecord)
   at System.Windows.Markup.TreeBuilderBamlTranslator.ParseFragment()
   at System.Windows.Markup.TreeBuilder.Parse()
   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.Run()
   at DTAG.Mediencenter.Installer.App.Main()
wine: Unhandled exception 0xe0434f4d in thread 40 at address 0x7b845511 (thread
0040), starting debugger...
--- snip ---

Likely related to 'dwmapi' stubs/insufficiencies.
Hard to tell where to begin ...

http://www.geoffchappell.com/studies/windows/win32/dwmapi/api/index.htm

The managed backtrace is misleading, it will error out this way in many error
cases.

The inner installer can be run in 'Windows XP' mode which succeeds (after
working around already known font/windowscodecs -> WPF issues).

$ sha1sum mediencenter_assistent_setup.exe 
103765f6a3aa4b2df990e5c114c12aa84dd3a75e  mediencenter_assistent_setup.exe

$ du -sh mediencenter_assistent_setup.exe 
13M    mediencenter_assistent_setup.exe

$ wine --version
wine-1.7.44

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list