View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0013410 | MMW v4 | General | public | 2016-07-11 14:55 | 2016-08-05 22:53 |
Reporter | peke | Assigned To | |||
Priority | urgent | Severity | feature | Reproducibility | N/A |
Status | closed | Resolution | fixed | ||
Target Version | 5.0.0 | Fixed in Version | 4.1.14 | ||
Summary | 0013410: Installing: Ability that Installer force close MM Service and started processes | ||||
Description | Currently if service is set and some devices access it over DLNA MMW Installer can't install new version until service is forcefully closed. In Addition to that and if MM is started there should be a way to force close all other instances and proceed with install. | ||||
Additional Information | GRP-342-55554 | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Fixed in build | 1803 | ||||
|
Peke, this has been already fixed in 4.1 as 0010873 Installer calls "sc stop MediaMonkeyService" before installing so there shouldn't be any such issues. I see that it was verified by you in 1640. Could you re-test and specify steps to reproduce the issue? BTW: The user from #GRP-342-55554 indicated that he didn't install the service. |
|
Yes service is closed but in case of multiple MediaMonkey.exe and helper exe started Installer complains. Where along normal Service stop it should send CLOSE to running UI and if fail send KILL process command. In MM5 it can happen that playback process thread is still playing while UI is crashed. In MM4 and MM5 All MMW processes should be Killed on Install and Close All existing processes should be killed/Force closed |
|
I guess that killing all processes should be the last option and should be done only after a prompt accepted by user. Currently if any of the files to re-write are used by some apps/proesses then Inno setup (in case of MM5) shows the attached prompt (inno.png) which is fine and expected. The problem is (based on my current tests) that it seem to fail to close all the apps/processes. So we should improve this to force close them after the prompt is approved |
|
Based on my further testing the situation is a bit different in MM4. MM4 install shows the prompt on the attached MM4.png image and doesn't allow to proceed until all MM instances are _manually_ closed. |
|
As a quick fix for 4.1.14 and MM5 (without a need to introduce new messages to translate -- those on the screenshots are Inno's defaults) I would suggest to: a) automatically close MM once install is opened (at the same time we already auto-close the MM service -- 0010873 ) b) force close MM on first file copy operation, i.e. after user already agreed with the user license agreement and install proceeds (at that time MM should be already closed successfully in 99.9% of cases because of a) |
|
Fixed in 4.1.14.1803 and merged to 5.0.0.2028 |
|
Verified 1803 |