http://bugs.winehq.org/show_bug.cgi?id=15533
Summary: iTunes 8.0 fails to install Product: Wine Version: 1.1.5 Platform: Other URL: http://www.itunes.com OS/Version: other Status: NEW Keywords: Installer Severity: normal Priority: P2 Component: msi AssignedTo: wine-bugs@winehq.org ReportedBy: m.b.lankhorst@gmail.com
Created an attachment (id=16500) --> (http://bugs.winehq.org/attachment.cgi?id=16500) Relevant information found from WINEDEBUG=+msi,+relay,+snoop,warn+all
Installing the latest version of iTunes seems to fail on a bug in msi. I tried isolating it, and it seems to try to read through a table which wine declares invalid, and then it aborts completely. Relevant log lines attached.
http://bugs.winehq.org/show_bug.cgi?id=15533
--- Comment #1 from Maarten Lankhorst m.b.lankhorst@gmail.com 2008-10-06 08:53:12 --- Created an attachment (id=16501) --> (http://bugs.winehq.org/attachment.cgi?id=16501) Last 40000 lines of WINEDEBUG=+msi,+relay,+snoop,warn+all
http://bugs.winehq.org/show_bug.cgi?id=15533
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.itunes.com | Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=15533
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://www.itunes.com
--- Comment #2 from Austin English austinenglish@gmail.com 2008-10-06 14:06:56 --- Didn't mean to remove the url...
http://bugs.winehq.org/show_bug.cgi?id=15533
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #3 from Dan Kegel dank@kegel.com 2008-10-23 07:23:25 --- The appdb has a hack to work around this: http://appdb.winehq.org/objectManager.php?sClass=version&iId=13739 It hacks ITERATE_Actions to report success in one case, and hacks ITERATE_StartService to always report success. Hopefully that narrows it down a bit.
http://bugs.winehq.org/show_bug.cgi?id=15533
--- Comment #4 from Maarten Lankhorst m.b.lankhorst@gmail.com 2008-10-23 09:50:41 --- I know of that hack, but it is not a good one, because for example if you run out of hard disk space it will still complet the installation, thinking nothing went wrong.
http://bugs.winehq.org/show_bug.cgi?id=15533
--- Comment #5 from Dan Kegel dank@kegel.com 2008-10-23 09:52:12 --- That's what it's called a hack.
http://bugs.winehq.org/show_bug.cgi?id=15533
EA Durbin ead1234@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ead1234@hotmail.com
--- Comment #6 from EA Durbin ead1234@hotmail.com 2008-10-23 12:19:29 --- The first error is in read_table_from_storage row_size resolves to 19 and rawsize resolves to 20, perhaps one of these numbers gets the wrong count? Commenting out goto err allows installation to pass this error.
warn:msidb:read_table_from_storage Table size is invalid 20/19 warn:msidb:TABLE_CreateView table not found
if( rawsize % row_size ) { WARN("Table size is invalid %d/%d\n", rawsize, row_size ); goto err; }
err: msi_free( rawdata ); return ERROR_FUNCTION_FAILED;
after bypassing this error it fails in ITERATE_StartService on starting the Bonjour service
http://bugs.winehq.org/show_bug.cgi?id=15533
--- Comment #7 from EA Durbin ead1234@hotmail.com 2008-10-23 14:06:00 --- Created an attachment (id=16827) --> (http://bugs.winehq.org/attachment.cgi?id=16827) last 7500 lines of +msi,+msidb
tail of +msi,+msidb containing "WixFirewallException"
http://bugs.winehq.org/show_bug.cgi?id=15533
--- Comment #8 from EA Durbin ead1234@hotmail.com 2008-12-06 10:41:36 --- As of todays wine the bonjour error is no longer relevant, just the above read_table_from_storage error.
http://bugs.winehq.org/show_bug.cgi?id=15533
Reece Dunn msclrhd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |msclrhd@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=15533
--- Comment #9 from Dan Kegel dank@kegel.com 2009-01-06 10:48:39 --- today's itunes (8.0.2.20?) still fails the same way with today's git: err:msi:ITERATE_Actions Execution halted, action L"WixSchedFirewallExceptionsUninstall" returned 1603
http://bugs.winehq.org/show_bug.cgi?id=15533
--- Comment #10 from Reece Dunn msclrhd@gmail.com 2009-01-06 11:30:58 --- MSI error 1603 is a generic "something went wrong" error.
WiX is an open source MSI installer creator by Microsoft, available on sourceforge. Using the power of Google, I suspect that this functionality is mentioned in http://www.joyofsetup.com/2008/05/17/new-wix-feature-firewall-extension/.
It looks like iTunes is trying to query the Windows Firewall services and is failing because Wine does not implement this interface yet (bug 15563, bug 12876 and others).
Do you know if the logs mention trying to CoCreate {304ce942-6e39-40d8-943a-b913c40c9cd4} (CSLID_NetFwMgr)? If it does, then this seems the most likely scenario.
http://bugs.winehq.org/show_bug.cgi?id=15533
Cheba chebatron@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |chebatron@gmail.com
--- Comment #11 from Cheba chebatron@gmail.com 2009-01-07 17:04:20 --- (In reply to comment #10)
Do you know if the logs mention trying to CoCreate {304ce942-6e39-40d8-943a-b913c40c9cd4} (CSLID_NetFwMgr)? If it does, then this seems the most likely scenario.
Yes it tries. I see this lines in terminal:
err:ole:CoGetClassObject class {304ce942-6e39-40d8-943a-b913c40c9cd4} not registered err:ole:CoGetClassObject no class object {304ce942-6e39-40d8-943a-b913c40c9cd4} could be created for context 0x1
http://bugs.winehq.org/show_bug.cgi?id=15533
Felix Möller felix@derklecks.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |felix@derklecks.de
--- Comment #12 from Felix Möller felix@derklecks.de 2009-02-10 02:02:33 --- this is still there with wine-1.1.14-1.1 on openSUSE.
http://bugs.winehq.org/show_bug.cgi?id=15533
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|msi |-unknown
--- Comment #13 from Dan Kegel dank@kegel.com 2009-02-10 03:20:17 --- Changing category away from msi, since perhaps the problem is just that we need a stub firewall API.
http://bugs.winehq.org/show_bug.cgi?id=15533
Jaime Rave jaimerave@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jaimerave@gmail.com
--- Comment #14 from Jaime Rave jaimerave@gmail.com 2009-02-15 13:09:35 --- This bug is affecting Windows Live Messenger 2009 installer.
http://bugs.winehq.org/show_bug.cgi?id=15533
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |17456
http://bugs.winehq.org/show_bug.cgi?id=15533
Julian W. Speedator@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Speedator@gmx.de
http://bugs.winehq.org/show_bug.cgi?id=15533
PGNet pgnet.trash+wine@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pgnet.trash+wine@gmail.com
--- Comment #15 from PGNet pgnet.trash+wine@gmail.com 2009-03-28 16:51:26 ---
Changing category away from msi, since perhaps the problem is just that we need a stub firewall API.
when this changed, did discussion/work continue elsewhere? e.g., _is_ there a solution in HEAD, or a related bug?
http://bugs.winehq.org/show_bug.cgi?id=15533
--- Comment #16 from Jeffrey Finkelstein jeffrey.finkelstein@gmail.com 2009-05-08 21:37:32 --- Created an attachment (id=20979) --> (http://bugs.winehq.org/attachment.cgi?id=20979) Output to stderr from attempting to install iTunes
http://bugs.winehq.org/show_bug.cgi?id=15533
Jeffrey Finkelstein jeffrey.finkelstein@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeffrey.finkelstein@gmail.co | |m
--- Comment #16 from Jeffrey Finkelstein jeffrey.finkelstein@gmail.com 2009-05-08 21:37:32 --- Created an attachment (id=20979) --> (http://bugs.winehq.org/attachment.cgi?id=20979) Output to stderr from attempting to install iTunes
--- Comment #17 from Jeffrey Finkelstein jeffrey.finkelstein@gmail.com 2009-05-08 21:38:22 --- Using iTunesSetup.exe fails to install, confirmed on Ubuntu 9.10 with iTunes 8.1.
Attached terminal output.
http://bugs.winehq.org/show_bug.cgi?id=15533
--- Comment #18 from Jeffrey Finkelstein jeffrey.finkelstein@gmail.com 2009-05-09 06:21:55 --- (In reply to comment #17)
Using iTunesSetup.exe fails to install, confirmed on Ubuntu 9.10 with iTunes 8.1.
Attached terminal output.
Ugh sorry, I meant 9.04 and wine 1.1.20.
http://bugs.winehq.org/show_bug.cgi?id=15533
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hans@meelstraat.net
--- Comment #19 from Hans Leidekker hans@meelstraat.net 2009-07-31 06:36:14 --- This patch set makes the WixSchedFirewallExceptionsUninstall custom action succeed: http://www.winehq.org/pipermail/wine-patches/2009-July/076494.html
http://bugs.winehq.org/show_bug.cgi?id=15533
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hans@meelstraat.net
--- Comment #19 from Hans Leidekker hans@meelstraat.net 2009-07-31 06:36:14 --- This patch set makes the WixSchedFirewallExceptionsUninstall custom action succeed: http://www.winehq.org/pipermail/wine-patches/2009-July/076494.html
--- Comment #20 from Hans Leidekker hans@meelstraat.net 2009-07-31 07:00:15 --- Created an attachment (id=22729) --> (http://bugs.winehq.org/attachment.cgi?id=22729) msi: Fix column width calculation.
A table from one of the subinstallers has a field specified as 'i1', which native seems to treat as 'i2', i.e two bytes at storage level.
http://bugs.winehq.org/show_bug.cgi?id=15533
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hans@meelstraat.net
--- Comment #19 from Hans Leidekker hans@meelstraat.net 2009-07-31 06:36:14 --- This patch set makes the WixSchedFirewallExceptionsUninstall custom action succeed: http://www.winehq.org/pipermail/wine-patches/2009-July/076494.html
--- Comment #20 from Hans Leidekker hans@meelstraat.net 2009-07-31 07:00:15 --- Created an attachment (id=22729) --> (http://bugs.winehq.org/attachment.cgi?id=22729) msi: Fix column width calculation.
A table from one of the subinstallers has a field specified as 'i1', which native seems to treat as 'i2', i.e two bytes at storage level.
--- Comment #21 from Hans Leidekker hans@meelstraat.net 2009-07-31 07:09:11 --- Created an attachment (id=22730) --> (http://bugs.winehq.org/attachment.cgi?id=22730) setupapi: Add stub implementations of CM_Get_Device_ID_ListW and CM_Enumerate_Classes
This patch prevents a crash and allows the iTunes installer to run to completion.
http://bugs.winehq.org/show_bug.cgi?id=15533
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hans@meelstraat.net
--- Comment #19 from Hans Leidekker hans@meelstraat.net 2009-07-31 06:36:14 --- This patch set makes the WixSchedFirewallExceptionsUninstall custom action succeed: http://www.winehq.org/pipermail/wine-patches/2009-July/076494.html
--- Comment #20 from Hans Leidekker hans@meelstraat.net 2009-07-31 07:00:15 --- Created an attachment (id=22729) --> (http://bugs.winehq.org/attachment.cgi?id=22729) msi: Fix column width calculation.
A table from one of the subinstallers has a field specified as 'i1', which native seems to treat as 'i2', i.e two bytes at storage level.
--- Comment #21 from Hans Leidekker hans@meelstraat.net 2009-07-31 07:09:11 --- Created an attachment (id=22730) --> (http://bugs.winehq.org/attachment.cgi?id=22730) setupapi: Add stub implementations of CM_Get_Device_ID_ListW and CM_Enumerate_Classes
This patch prevents a crash and allows the iTunes installer to run to completion.
--- Comment #22 from Jaime Rave jaimerave@gmail.com 2009-08-05 20:48:04 --- All these patches get into GIT, is this still a problem??
http://bugs.winehq.org/show_bug.cgi?id=15533
Cam Cope maccam94@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |maccam94@gmail.com
--- Comment #23 from Cam Cope maccam94@gmail.com 2009-08-05 23:05:18 --- I just installed Wine from git, killed my ~.wine directory, and installed iTunes 8.2. It's still not working totally correctly, but it's a lot better than it was before. In order to install it before I had to use an msi patch included in the iTunes AppDB entry, but that is no longer necessary.
http://bugs.winehq.org/show_bug.cgi?id=15533
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #24 from Dan Kegel dank@kegel.com 2009-08-05 23:20:54 --- Sounds like it's fixed, then. Please open new bugs for problems running it (if we don't already have them open).
http://bugs.winehq.org/show_bug.cgi?id=15533
Bug 15533 depends on bug 17456, which changed state.
Bug 17456 Summary: Implement windows firewall http://bugs.winehq.org/show_bug.cgi?id=17456
What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
http://bugs.winehq.org/show_bug.cgi?id=15533
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #25 from Alexandre Julliard julliard@winehq.org 2009-08-07 12:30:28 --- Closing bugs fixed in 1.1.27.
https://bugs.winehq.org/show_bug.cgi?id=15533
Freeme ryanaranha8@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ryanaranha8@gmail.com