http://bugs.winehq.org/show_bug.cgi?id=11414
Summary: msidb:STREAMS_modify 0x1c2178 3 0x12d2aa0 - mode not implemented Product: Wine Version: unspecified Platform: Other OS/Version: other Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: msi AssignedTo: wine-bugs@winehq.org ReportedBy: jdahlin@async.com.br
To be able to test this you need to install mono on win32. I used the 1.2.6 version. I installed the latest beta of WiX, 3.0.2925 available from wix.sourceforge.net.
First light.exe needs to be run on product.wxs on the examples/public/first/product.wxs, this generated product.wixobj.
After that I run, with only builtin dlls:
wine ../light.exe "-cultures:en-us" product.wixobj
fixme:msidb:STREAMS_modify 0x1c2178 3 0x12d2aa0 - mode not implemented light.exe : error LGHT0001 : Some sort of w32 error occurred: 120
Exception Type: System.ComponentModel.Win32Exception
Stack Trace: [mono backtrace cut]
http://bugs.winehq.org/show_bug.cgi?id=11414
Johan Dahlin jdahlin@async.com.br changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |11411
http://bugs.winehq.org/show_bug.cgi?id=11414
--- Comment #1 from Johan Dahlin jdahlin@async.com.br 2008-01-31 04:15:10 --- I forgot to mention that I applied the patch from bug 11411 in my wine tree first, otherwise WiX would bail out much earlier.
http://bugs.winehq.org/show_bug.cgi?id=11414
--- Comment #2 from James Hawkins truiken@gmail.com 2008-02-03 12:37:46 --- I can't reproduce the reported bug because light.exe fails to create product.wixobj:
wix-bin$ wine light.exe examples/first/product.wxs fixme:actctx:parse_depend_manifests Could not find dependent assembly L"mergemod" Microsoft (R) Windows Installer Xml Linker version 3.0.2925.0 Copyright (C) Microsoft Corporation 2003. All rights reserved.
Z:\home\truiken\wix-bin\examples\first\product.wxs : error LGHT0107 : Schema validation failed with the following error: XmlSchema error: Element declaration for http://schemas.microsoft.com/wix/2006/wi:Wix is missing. XML URI: file:///Z:/home/truiken/wix-bin/examples/first/product.wxs . Line 7, Position 2
http://bugs.winehq.org/show_bug.cgi?id=11414
--- Comment #3 from James Hawkins truiken@gmail.com 2008-02-03 19:17:08 --- Created an attachment (id=10601) --> (http://bugs.winehq.org/attachment.cgi?id=10601) streams patch
Can you please apply this patch and see if it works now?
http://bugs.winehq.org/show_bug.cgi?id=11414
--- Comment #4 from Johan Dahlin jdahlin@async.com.br 2008-02-03 19:36:29 --- Created an attachment (id=10602) --> (http://bugs.winehq.org/attachment.cgi?id=10602) log with patch applied
James: With the patch applied I do not get the same error any longer. However I get another error message. I've attached the +msi log of the output. It does not go as far as the native msi dlls (which still fails later on).
For testing this, you need to grab the sources and find product.wxs, not the examples shipped with the binary distribution, which seems to be out of date.
http://bugs.winehq.org/show_bug.cgi?id=11414
--- Comment #5 from James Hawkins truiken@gmail.com 2008-02-03 19:50:40 --- I just needed to know if *this* bug is fixed by the patch. The bug is that STREAMS_modify is not implemented for MSIMODIFY_ASSIGN.
I can't reproduce this using either the example files in wix-bin or wix-src with the version you specified. I get the error I posted in comment #2. Please post exact steps for reproducing this bug, including wget'ing the wix source, etc.
http://bugs.winehq.org/show_bug.cgi?id=11414
--- Comment #6 from Johan Dahlin jdahlin@async.com.br 2008-02-03 20:00:53 --- Download this file: http://ufpr.dl.sourceforge.net/sourceforge/wix/wix-3.0.2925.0-sources.zip unzip wix-3.0.2925.0-sources.zip (careful, does not create a toplevel directory) cd examples/public/first wine candle.exe product.wxs (ignore warnings in output) wine light.exe "-cultures:en-us" product.wixobj, which should results in:
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"mergemod" Microsoft (R) Windows Installer Xml Linker version 3.0.2925.0 Copyright (C) Microsoft Corporation 2003. All rights reserved.
fixme:msidb:STREAMS_modify 0x15b930 3 0x15b998 - mode not implemented light.exe : error LGHT0001 : Some sort of w32 error occurred: 120
Exception Type: System.ComponentModel.Win32Exception
Stack Trace: at Microsoft.Tools.WindowsInstallerXml.Msi.View.Modify (ModifyView type, Microsoft.Tools.WindowsInstallerXml.Msi.Record record) [0x00000] at Microsoft.Tools.WindowsInstallerXml.Binder.GenerateDatabase (Microsoft.Tools.WindowsInstallerXml.Output output, System.String databaseFile) [0x00000] at Microsoft.Tools.WindowsInstallerXml.Binder.BindDatabase (Microsoft.Tools.WindowsInstallerXml.Output output, System.String databaseFile) [0x00000] at Microsoft.Tools.WindowsInstallerXml.Binder.Bind (Microsoft.Tools.WindowsInstallerXml.Output output, System.String file) [0x00000] at Microsoft.Tools.WindowsInstallerXml.Tools.Light.Run (System.String[] args) [0x00000] Binder temporary directory located at 'c:\windows\temp\13c7874\22fc8170'. Validator temporary directory located at 'c:\windows\temp\21eb0c0c\20d67eef'.
http://bugs.winehq.org/show_bug.cgi?id=11414
--- Comment #7 from James Hawkins truiken@gmail.com 2008-02-03 20:07:45 --- candle.exe is not in the sources, so there is a step or two missing in your repro.
http://bugs.winehq.org/show_bug.cgi?id=11414
--- Comment #8 from Johan Dahlin jdahlin@async.com.br 2008-02-03 20:09:00 --- Looking into the log again it appears that the fix is correct. Since the log file attached reveals an error in attempting to parse an SQL query.
Sorry for the noise.
http://bugs.winehq.org/show_bug.cgi?id=11414
--- Comment #9 from James Hawkins truiken@gmail.com 2008-02-03 20:10:29 --- I still need the repro steps so I can work on the next bug.
http://bugs.winehq.org/show_bug.cgi?id=11414
--- Comment #10 from Johan Dahlin jdahlin@async.com.br 2008-02-03 20:15:14 --- light.exe and candle.exe is available from the binary distribution, you need to substitute the path, so:
cd /tmp mkdir wix-bin cd wix-bin wget http://ufpr.dl.sourceforge.net/sourceforge/wix/wix-3.0.2925.0-binaries.zip unzip wix-3.0.2925.0-binaries.zip
cd /tmp mkdir wix-src cd wix-src wget http://ufpr.dl.sourceforge.net/sourceforge/wix/wix-3.0.2925.0-sources.zip unzip wix-3.0.2925.0-sources.zip
cd /tmp/wix-src/examples/public/first wine /tmp/wix-bin/candle.exe product.wxs wine /tmp/wix-bin/light.exe "-cultures:en-us" product.wixobj
http://bugs.winehq.org/show_bug.cgi?id=11414
Bug 11414 depends on bug 11411, which changed state.
Bug 11411 Summary: GetFileVersionInfoSizeW returns wrong error code if file has no version (affects WiX) http://bugs.winehq.org/show_bug.cgi?id=11411
What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
http://bugs.winehq.org/show_bug.cgi?id=11414
Johan Dahlin jdahlin@async.com.br changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #11 from Johan Dahlin jdahlin@async.com.br 2008-02-05 13:01:06 --- This is fixed in latest GIT, closing.
http://bugs.winehq.org/show_bug.cgi?id=11414
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Dan Kegel dank@kegel.com 2008-02-12 00:07:03 --- All bugs in state FIXED should be closed each time we do a release to mark the fact that the fix is now released. If the bug is somehow not really fixed, the individual bug should be reopened.
https://bugs.winehq.org/show_bug.cgi?id=11414
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |normal Keywords| |download URL| |https://web.archive.org/web | |/20210315115200/https://raw | |.githubusercontent.com/Casa | |DeRobison/wixtoolset-codepl | |ex/master/archived-stable-v | |ersions/WiX%20Toolset%20v3. | |6%20Stable/WiX36.exe Fixed by SHA1| |146e34e662b299b0644ba4a3af0 | |b58c65b5e61ac Version|unspecified |0.9.54. Hardware|Other |x86 CC| |focht@gmx.net OS|other |Linux