http://bugs.winehq.org/show_bug.cgi?id=12116
Summary: Progress bar does not appear during installation Product: Wine Version: 0.9.57. Platform: Other OS/Version: other Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: chris@chrobis.com
On some program installations, the progress bar does not move during the installation (leading perhaps to the false assumption that the installation has frozen), although files are being copied and registry values written.
I have noticed this a few times during various installations; the only one I can currently document is Star Trek: Legacy, but I will add other applications to the list as I re-test them under newer Wine versions.
http://bugs.winehq.org/show_bug.cgi?id=12116
--- Comment #1 from Lei Zhang thestig@google.com 2008-03-19 20:29:16 --- Try to find programs with downloadable demos that have this problem.
There was a bug like this before: bug 6171.
http://bugs.winehq.org/show_bug.cgi?id=12116
--- Comment #2 from Chris Wales chris@chrobis.com 2008-03-23 13:00:12 --- I'm going to keep looking for downloadable demos with this problem; in the meantime, I've noted that the installer for The Sims 2 suffers the same problem. Not only does the progress bar not move; this time, there is a percentage installed (0%) written underneath which does not move from zero.
http://bugs.winehq.org/show_bug.cgi?id=12116
--- Comment #3 from Chris Wales chris@chrobis.com 2008-03-24 16:03:34 --- Bizarrely, although The Sims 2 suffers with this problems, The Sims 2 demo (http://www.strategyinformer.com/pc/thesims2/demo/8855.html) does not. I will keep searching for other demos...
http://bugs.winehq.org/show_bug.cgi?id=12116
--- Comment #4 from Chris Wales chris@chrobis.com 2008-03-25 06:34:51 --- Safari 3.1 for Windows suffers the same problem (http://www.apple.com/safari/download/)
http://bugs.winehq.org/show_bug.cgi?id=12116
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |download
--- Comment #5 from Lei Zhang thestig@google.com 2008-03-25 10:55:54 --- confirmed, I see it in the safari installer.
http://bugs.winehq.org/show_bug.cgi?id=12116
--- Comment #6 from Chris Wales chris@chrobis.com 2008-04-04 13:53:18 --- Confirming still present in Wine 0.9.59
http://bugs.winehq.org/show_bug.cgi?id=12116
Kari refic@psimerion.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |refic@psimerion.org
--- Comment #7 from Kari refic@psimerion.org 2008-05-25 11:34:34 --- Confirming still present in 1.0-rc2.
http://bugs.winehq.org/show_bug.cgi?id=12116
--- Comment #8 from Chris Wales chris@chrobis.com 2008-07-16 04:09:26 --- Confirming still present in Wine 1.1.1 (Star Trek Legacy)
http://bugs.winehq.org/show_bug.cgi?id=12116
--- Comment #9 from Chris Wales chris@chrobis.com 2008-07-16 04:37:27 --- Also still present in Safari 3.1.2 for Windows installer
http://bugs.winehq.org/show_bug.cgi?id=12116
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Installer
http://bugs.winehq.org/show_bug.cgi?id=12116
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ombinde@gmail.com
--- Comment #10 from Austin English austinenglish@gmail.com 2008-08-04 15:32:06 --- *** Bug 14759 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=12116
--- Comment #11 from Chris Wales chris@chrobis.com 2008-10-26 17:46:19 --- Confirming still present in Wine 1.1.7 (tested application: The Sims 2)
http://bugs.winehq.org/show_bug.cgi?id=12116
Julian W. Speedator@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Speedator@gmx.de
http://bugs.winehq.org/show_bug.cgi?id=12116
--- Comment #12 from Chris Wales chris@chrobis.com 2009-04-25 06:03:51 --- Confirming still present in Wine 1.1.19 (tested application: Star Trek Legacy)
http://bugs.winehq.org/show_bug.cgi?id=12116
--- Comment #13 from Chris Wales chris@chrobis.com 2009-05-13 17:00:37 --- Confirming still present in Wine 1.1.21 (tested application: Star Trek Legacy)
http://bugs.winehq.org/show_bug.cgi?id=12116
Sjors Gielen dazjorz@dazjorz.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dazjorz@dazjorz.com
--- Comment #14 from Sjors Gielen dazjorz@dazjorz.com 2009-05-24 14:24:23 --- Seems to work fine with Safari 3.2.3 in Wine 1.1.22. How is Star Trek Legacy?
http://bugs.winehq.org/show_bug.cgi?id=12116
Jaime Rave jaimerave@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jaimerave@gmail.com
--- Comment #15 from Jaime Rave jaimerave@gmail.com 2009-07-01 12:04:46 --- Still a problem in SimCity 4 Deluxe. Using Wine 1.1.24.
http://bugs.winehq.org/show_bug.cgi?id=12116
Brayden Hull brayden.hull@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |brayden.hull@gmail.com
--- Comment #16 from Brayden Hull brayden.hull@gmail.com 2009-07-31 23:52:46 --- I can confirm this is present in Wine 1.1.26 with SimCity 4 Deluxe Edition.
http://bugs.winehq.org/show_bug.cgi?id=12116
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wylda@volny.cz
--- Comment #17 from Wylda wylda@volny.cz 2009-10-21 15:29:11 --- Hi, i can confirm this problem in Sim City 4 Deluxe installer. All the following versions have same progress bar problem:
0.9.50, 0.9.60, 1.0.1, 1.1.5, 1.1.10, 1.1.13, 1.1.16, 1.1.19, 1.1.22, 1.1.24, 1.1.26, 1.1.28, 1.1.29, 1.1.30, 1.1.31
So it probably never worked.
http://bugs.winehq.org/show_bug.cgi?id=12116
--- Comment #18 from Wylda wylda@volny.cz 2009-10-22 01:58:34 --- Created an attachment (id=24275) --> (http://bugs.winehq.org/attachment.cgi?id=24275) Sim city 4 deluxe - console log
Installer also shows a number in percent telling you the progress. So it's not only about showing blue dots moving ahead as it makes progress. Looks like wine has a problem with adding to zero ;) because the number is always 0.00%
Anyway i owe you console output...
http://bugs.winehq.org/show_bug.cgi?id=12116
--- Comment #19 from Wylda wylda@volny.cz 2009-11-15 03:13:10 --- Created an attachment (id=24755) --> (http://bugs.winehq.org/attachment.cgi?id=24755) Installation log from wine-1.1.33
Flatout 2 also has installation's progress bar issue. Flatout 2 uses InstallShield.
All the following version have reported issue: 0.9.49, 1.0.1, 1.1.10, 1.1.33
http://bugs.winehq.org/show_bug.cgi?id=12116
--- Comment #20 from Wylda wylda@volny.cz 2009-12-18 07:29:09 ---
Still not fixed in wine-1.1.34-588-g6b78e24 (tested on Sim City).
http://bugs.winehq.org/show_bug.cgi?id=12116
--- Comment #21 from Wylda wylda@volny.cz 2010-02-27 08:36:49 ---
Still not fixed in wine-1.1.39-163-g583f0f0 (tested on Sim City).
http://bugs.winehq.org/show_bug.cgi?id=12116
cjvennes@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |cjvennes@gmail.com
--- Comment #22 from cjvennes@gmail.com 2010-08-09 16:40:26 --- Bug still confirmed on SimCity 4 Deluxe Edition. Wine version 1.2
http://bugs.winehq.org/show_bug.cgi?id=12116
spoonie sexy_b14@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sexy_b14@hotmail.com
--- Comment #23 from spoonie sexy_b14@hotmail.com 2010-12-29 10:56:04 CST --- have the same problem with the installers for NFSPH 2010 http://appdb.winehq.org/objectManager.php?sClass=version&iId=22036 and AVP2 http://appdb.winehq.org/objectManager.php?sClass=version&iId=7898
did testing today with wine 1.3.10
thanks guys.
http://bugs.winehq.org/show_bug.cgi?id=12116
Alex Xu alex_y_xu@yahoo.ca changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alex_y_xu@yahoo.ca
--- Comment #24 from Alex Xu alex_y_xu@yahoo.ca 2011-03-05 12:05:38 CST --- Still broken in SimCity 4 Deluxe on wine-1.2.2 on Ubuntu 10.10.
http://bugs.winehq.org/show_bug.cgi?id=12116
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Component|-unknown |msi Summary|Progress bar does not |Multiple MSI-based |appear during installation |installers fail to advance | |progress bar in | |InstallFiles action | |(schedule_install_files | |already moves and clamps to | |max value + MSI integer | |overflow)
--- Comment #25 from Anastasius Focht focht@gmx.net 2011-06-16 10:20:43 CDT --- Hello,
the "Need for Speed: Underground" installer also suffers from this.
WINEDEBUG=+tid,+seh,+loaddll,+process,+msi wine /media/NFSUndercover/EASetup.exe
I added additional diagnostics - the internal progress bar control "max" and "current" values (float type) to the progress trace message to show the problem:
Initial setting of progress:
--- snip --- ... 0023:trace:msi:MSI_ProcessMessage (nil) (nil) (nil) 0 800 L"1: 0 2: -1782320276 3: 0 4: 0 " 0023:trace:msi:ControlEvent_FireSubscribedEvent Firing Event L"SetProgress" 0023:trace:msi:msi_dialog_handle_event progress: func 0, val 2512647020, pbar max 100.000000, pbar cur 0.000000 0023:trace:msi:msi_dialog_handle_event progress: func 0, val 2512647020, pbar max 2512646912.000000, pbar cur 0.000000 0023:trace:msi:msiobj_release object 0x638260 destroyed 0023:trace:msi:MSIDialog_WndProc 0x0084 0023:trace:msi:MSIDialog_WndProc 0x0020 0023:trace:msi:MSIDialog_WndProc 0x0200 0023:trace:msi:ACTION_InstallValidate Feature: L"MainGameFeature" Installed 2 Request 3 Action 3 0023:trace:msi:ACTION_InstallValidate Feature: L"MainApplicationFeature" Installed 2 Request 3 Action 3 0023:trace:msi:ACTION_InstallValidate Feature: L"InstallPb" Installed 2 Request 3 Action 3 0023:trace:msi:MSI_ProcessMessage 4000000 0023:trace:msi:MSI_ProcessMessage (nil) (nil) (nil) 0 10 L"Action ended 16:36:05: InstallValidate. Return value 0." ... --- snip ---
First problem: MSI Integer overflow, use a datatype that can handle large values (possibly 64 bit). The accumulated size of all files is ~6.8 GiB.
At this point, the first part of "InstallFiles" action starts: determining install state and resolving target paths -> schedule_install_files
--- snip --- ... 0023:trace:msi:MSI_ProcessMessage (nil) (nil) (nil) 0 10 L"Action start 16:36:05: InstallFiles." 0023:trace:msi:msiobj_release object 0x640c50 destroyed 0023:trace:msi:MSI_ProcessMessage a000000 0023:trace:msi:MSI_ProcessMessage (nil) (nil) (nil) 0 800 L"1: 1 2: 1 3: 0 4: 0 " 0023:trace:msi:ControlEvent_FireSubscribedEvent Firing Event L"SetProgress" 0023:trace:msi:msi_dialog_handle_event progress: func 1, val 1, pbar max 2512646912.000000, pbar cur 0.000000 0023:trace:msi:msi_dialog_handle_event progress: func 1, val 1, pbar max 2512646912.000000, pbar cur 0.000000 0023:trace:msi:msiobj_release object 0x171ba8 destroyed 0023:trace:msi:calculate_install_state file L"pbag" is missing 0023:trace:msi:MSI_ProcessMessage a000000 0023:trace:msi:MSI_ProcessMessage (nil) (nil) (nil) 0 800 L"1: 2 2: 57344 3: 0 4: 0 " 0023:trace:msi:ControlEvent_FireSubscribedEvent Firing Event L"SetProgress" 0023:trace:msi:msi_dialog_handle_event progress: func 2, val 57344, pbar max 2512646912.000000, pbar cur 0.000000 0023:trace:msi:msi_dialog_handle_event progress: func 2, val 57344, pbar max 2512646912.000000, pbar cur 57344.000000 0023:trace:msi:msiobj_release object 0x171ba8 destroyed 0023:trace:msi:calculate_install_state file L"pbcl" is missing ... 0023:trace:msi:MSI_ProcessMessage (nil) (nil) (nil) 0 800 L"1: 2 2: 77548712 3: 0 4: 0 " 0023:trace:msi:ControlEvent_FireSubscribedEvent Firing Event L"SetProgress" 0023:trace:msi:msi_dialog_handle_event progress: func 2, val 77548712, pbar max 2512646912.000000, pbar cur 2479472640.000000 0023:trace:msi:msi_dialog_handle_event progress: func 2, val 77548712, pbar max 2512646912.000000, pbar cur 2512646912.000000 0023:trace:msi:msiobj_release object 0x171ba8 destroyed 0023:trace:msi:calculate_install_state file L"MOVIESStorey_02_english_ntsc_vp6" is missing 0023:trace:msi:MSI_ProcessMessage a000000 0023:trace:msi:MSI_ProcessMessage (nil) (nil) (nil) 0 800 L"1: 2 2: 6106332 3: 0 4: 0 " 0023:trace:msi:ControlEvent_FireSubscribedEvent Firing Event L"SetProgress" 0023:trace:msi:msi_dialog_handle_event progress: func 2, val 6106332, pbar max 2512646912.000000, pbar cur 2512646912.000000 0023:trace:msi:msi_dialog_handle_event progress: func 2, val 6106332, pbar max 2512646912.000000, pbar cur 2512646912.000000 0023:trace:msi:msiobj_release object 0x171ba8 destroyed 0023:trace:msi:calculate_install_state file L"MOVIESStorey_03_english_ntsc_vp6" is missing ... --- snip ---
Note how the progress indicator already moved in this phase (nothing was extracted/copied yet). Worse, due to integer overflow the progress value stays clamped.
After the install state is determined and all the target paths are resolved, the real extraction/copying of files starts:
--- snip --- ... 0023:trace:msi:ACTION_InstallFiles copying L"Z:\media\NFSUndercover\PB\pbag.dll" to L"C:\Program Files\EA Games\Need for Speed Undercover\PB\pbag.dll" 0023:trace:msi:MSI_DatabaseOpenViewW L"SELECT * FROM `ActionText` WHERE `Action` = 'InstallFiles'" 0x33ef88 0023:trace:msi:MSI_ParseSQL Parse returned 0 0023:trace:msi:MSI_ViewExecute 0x640db0 (nil) 0023:trace:msi:MSI_ViewFetch 0x640db0 0x33ef8c 0023:trace:msi:msi_view_get_row 0x133468 0x641558 0 0x33ef8c 0023:trace:msi:MSI_ViewClose 0x640db0 0023:trace:msi:msiobj_release object 0x640db0 destroyed 0023:trace:msi:msiobj_release object 0x641598 destroyed 0023:trace:msi:MSI_FormatRecordW 0x14ac58 0x6412e0 0x33efc8 0x33f7c8 0023:trace:msi:MSI_FormatRecordW (L"Datei: [1], Verzeichnis: [9], Gr\00f6\00dfe: [6]") 0023:trace:msi:MSI_ProcessMessage 9000000 0023:trace:msi:MSI_ProcessMessage (nil) (nil) (nil) 0 200 L"Datei: pbag.dll, Verzeichnis: PBFolder, Gr\00f6\00dfe: 57344" 0023:trace:msi:ControlEvent_FireSubscribedEvent Firing Event L"ActionData" 0023:trace:msi:msiobj_release object 0x16f958 destroyed 0023:trace:msi:msiobj_release object 0x6412e0 destroyed 0023:trace:msi:MSI_ProcessMessage a000000 0023:trace:msi:MSI_ProcessMessage (nil) (nil) (nil) 0 800 L"1: 2 2: 57344 3: 0 4: 0 " 0023:trace:msi:ControlEvent_FireSubscribedEvent Firing Event L"SetProgress" 0023:trace:msi:msi_dialog_handle_event progress: func 2, val 57344, pbar max 2512646912.000000, pbar cur 2512646912.000000 0023:trace:msi:msi_dialog_handle_event progress: func 2, val 57344, pbar max 2512646912.000000, pbar cur 2512646912.000000 0023:trace:msi:msiobj_release object 0x16f958 destroyed ... --- snip ---
Because the progress bar is already clamped from the first phase of "InstallFiles" action, nothing happens.
Code:
http://source.winehq.org/git/wine.git/blob/1ae309f98194f56b3734943cd63d8a798...
If you really want to track both phases with progress bar you need to reset the bar and (re)set max value again.
---
As sidestory, I found an example code snippet, demonstrating progress message handling using "MsiSetExternalUI":
MSDN: http://msdn.microsoft.com/en-us/library/aa368786.aspx
This could be useful for improving msi_dialog_handle_event a bit, for instance handling action info and direction.
Maybe
http://bugs.winehq.org/show_bug.cgi?id=12116
--- Comment #26 from Hans Leidekker hans@meelstraat.net 2011-06-24 01:41:57 CDT --- This should work better now.
http://bugs.winehq.org/show_bug.cgi?id=12116
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #27 from Hans Leidekker hans@meelstraat.net 2011-12-02 06:08:08 CST --- Fixed by ac994860afe2e695254e1a9531f6678c81551667 and 0b2bd0c903517952526378e30e7b957adb28c625.
http://bugs.winehq.org/show_bug.cgi?id=12116
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #28 from Alexandre Julliard julliard@winehq.org 2011-12-02 13:33:49 CST --- Closing bugs fixed in 1.3.34.
http://bugs.winehq.org/show_bug.cgi?id=12116
--- Comment #29 from Wylda wylda@volny.cz 2011-12-03 08:56:17 CST ---
Hi Hans, this unfortunately did not fixed the SimCity 4, so i opened 29232 for all who are interested.
http://bugs.winehq.org/show_bug.cgi?id=12116
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |ac994860afe2e695254e1a9531f | |6678c81551667
--- Comment #30 from Anastasius Focht focht@gmx.net 2011-12-03 11:36:24 CST --- Hello,
filling fields...
Regards
http://bugs.winehq.org/show_bug.cgi?id=12116
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://www.oldapps.com/appl | |e_safari.php?old_safari=6 Hardware|Other |x86 OS|other |Linux