https://bugs.winehq.org/show_bug.cgi?id=40129
Bug ID: 40129 Summary: MSI Reading and Writing Behaves differently than Windows Product: Wine Version: 1.9.1 Hardware: x86 OS: Mac OS X Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: agrothberg@yahoo.com
Created attachment 53618 --> https://bugs.winehq.org/attachment.cgi?id=53618 Corrupt MSI
I am using Python `bdist_msi` to create an MSI and then https://github.com/activescott/lessmsi to inspect the MSI. When using Wine, I can create an MSI and then successfully inspect it. However if I try to install the MSI that was created under Wine on Windows machine, in stall fails. Further using the same lessmsi tool above but running it on Windows fails. A complete write up is here:
http://stackoverflow.com/questions/35004900/using-wine-to-build-msi-for-pyth...
but it appears that the Property table on the MSI is corrupt. Attached is the msi.
https://bugs.winehq.org/show_bug.cgi?id=40129
--- Comment #1 from Alex Rothberg agrothberg@yahoo.com --- Potentially an issue with the `msi` component.
https://bugs.winehq.org/show_bug.cgi?id=40129
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
https://bugs.winehq.org/show_bug.cgi?id=40129
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hans@meelstraat.net
https://bugs.winehq.org/show_bug.cgi?id=40129
--- Comment #2 from Hans Leidekker hans@meelstraat.net --- (In reply to Alex Rothberg from comment #1)
Potentially an issue with the `msi` component.
So this installer would install on Windows if it was created on Windows? If so, please attach one created like that using the same inputs and attach it here.
https://bugs.winehq.org/show_bug.cgi?id=40129
--- Comment #3 from Alex Rothberg agrothberg@yahoo.com --- Created attachment 53622 --> https://bugs.winehq.org/attachment.cgi?id=53622 Working MSI
https://bugs.winehq.org/show_bug.cgi?id=40129
--- Comment #4 from Hans Leidekker hans@meelstraat.net --- (In reply to Alex Rothberg from comment #3)
Created attachment 53622 [details] Working MSI
Thanks. Here's a diff of the Property table:
--- /home/hans/tmp/Property.idt 2016-02-12 11:57:19.696897758 +0100 +++ /home/hans/tmp/Property-wine.idt 2016-02-12 11:56:22.836952586 +0100 @@ -1,9 +1,9 @@ Property Value -s72 l0 +s72 l1 Property Property UpgradeCode {9089B45A-754D-11E5-A79D-C03496548060} ProductName alex -ProductCode {76755B63-ADCA-49DB-93FC-DD03EB787814} +ProductCode {955278E8-44FB-41C9-A956-734231F430C1} ProductVersion 1.0.0 Manufacturer Alex Rothberg ProductLanguage 1033
The table definition difference (l1 vs. l0) could be the cause. Other tables such as Control are affected too.
https://bugs.winehq.org/show_bug.cgi?id=40129
--- Comment #5 from Hans Leidekker hans@meelstraat.net --- Created attachment 53632 --> https://bugs.winehq.org/attachment.cgi?id=53632 patch
Can you try this patch?
https://bugs.winehq.org/show_bug.cgi?id=40129
--- Comment #6 from Alex Rothberg agrothberg@yahoo.com --- That worked. The MSI generated will now install on windows.
https://bugs.winehq.org/show_bug.cgi?id=40129
--- Comment #7 from Alex Rothberg agrothberg@yahoo.com --- Created attachment 53633 --> https://bugs.winehq.org/attachment.cgi?id=53633 MSI Built on Wine that Works
https://bugs.winehq.org/show_bug.cgi?id=40129
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Component|-unknown |msi Ever confirmed|0 |1
--- Comment #8 from Hans Leidekker hans@meelstraat.net --- Thanks.
https://bugs.winehq.org/show_bug.cgi?id=40129
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=40129
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |7b21373bf112aed3cce495f1ef5 | |1334cf51224bc Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #9 from Hans Leidekker hans@meelstraat.net --- Fixed by 7b21373bf112aed3cce495f1ef51334cf51224bc.
https://bugs.winehq.org/show_bug.cgi?id=40129
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mstefani@redhat.com Target Milestone|--- |1.8.x
https://bugs.winehq.org/show_bug.cgi?id=40129
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.4.
https://bugs.winehq.org/show_bug.cgi?id=40129
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.8.x |---
--- Comment #11 from Michael Stefaniuc mstefani@redhat.com --- Removing 1.8.x milestone from bugs included in 1.8.2.