Page 1 of 3

1202(Orig 1177): installer error on MMHelper.dll [388]

Posted: Fri May 23, 2008 5:04 am
by chrisjj
On 1177 and IIRC the >=5 successive previous releases, running the debug installer soon (e.g. 5s) after exiting the previous version of MM causes:

Code: Select all

after C:\Program Files\MediaMonkey\MMHelper.dll
An error occurred while trying to replace the existing file:
DeleteFile failed; code 5.
Access is denied.
Click Retry to try again, Ignore to skip this file (not recommended), or Abort to cancel installation.

Abort                   Retry                  Ignore
Failing workaround: wait 10s and click Retry.
Successful workaround: Click Abort and rerun the installer. EDIT: On 1244>1247, found failing on 8 of 9 attempts.
EDIT: Successful workaround on 1244>1247: `1) Run Process Explorer and CTRl+F MMHelper.DLL to ID handling apps 2) Terminate handling apps

EDIT: Note: on 1244>1247 instance of this problem, the two apps found handling MMHelper.DLL were some of the four hotkey-driven accessories running.

Previously tracked at http://www.ventismedia.com/mantis/view.php?id=388. Marked fixed.

Posted: Fri May 23, 2008 5:40 am
by Michel37
This happens not just with the latest beta, but with all other versions before. Another workaround is to delete the mmhelper.dll before installing.

Posted: Fri May 23, 2008 10:06 am
by Teknojnky
or restart.

typically this problem is caused by either MM still running (check task manager process) or that an anti-virus program has/had locked the dll for some reason.

Posted: Fri May 23, 2008 10:25 am
by chrisjj
Teknojnky wrote:or restart.
Restart OS??? Restart installer doesn't help.
typically this problem is caused by either MM still running (check task manager process)
Not here - MediaMonkey*.exe had gone from TM Processes
or that an anti-virus program has/had locked the dll for some reason.
Again not here.

I think it's due to MM keeping a grip on the clipboard because Process Monitor shows soon after MM exit:
Clipomatic.exe 2852 DLL C:\Program Files\MediaMonkey\MMHelper.dll
k-mania.exe 3000 DLL C:\Program Files\MediaMonkey\MMHelper.dll
and both are clipboard accessories. After a further 1min, these are gone.

Posted: Fri May 23, 2008 3:29 pm
by Peke
Have anyone tried old Windows trick File rename :) MMHelper.dll -> MMHelper.dll.old?

Posted: Fri May 23, 2008 4:11 pm
by Teknojnky
chrisjj wrote:
Teknojnky wrote:or restart.
Restart OS??? Restart installer doesn't help.
yes, restart os if you can't get it work
typically this problem is caused by either MM still running (check task manager process)
Not here - MediaMonkey*.exe had gone from TM Processes
or that an anti-virus program has/had locked the dll for some reason.
Again not here.

I think it's due to MM keeping a grip on the clipboard because Process Monitor shows soon after MM exit:
Clipomatic.exe 2852 DLL C:\Program Files\MediaMonkey\MMHelper.dll
k-mania.exe 3000 DLL C:\Program Files\MediaMonkey\MMHelper.dll
and both are clipboard accessories. After a further 1min, these are gone.
it is the same problem, an application (any app) locks the dll and prevents it from being overwritten.

Posted: Fri May 23, 2008 7:26 pm
by chrisjj
Teknojnky wrote:an application (any app) locks the dll and prevents it from being overwritten.
I wonder how two clipboard apps can even get to know about a MM DLL. Unless through something MM has left on the clipboard...

Posted: Fri May 23, 2008 7:49 pm
by Owyn
Yep. Back again (1175->1177). I had to reboot before to get rid of the lock on mmhelper, so did that again.

Could be a source of a lot of confusion if this persists into final release.

Re: 1177 minor: installer error on MMHelper.dll

Posted: Sun Dec 14, 2008 9:04 pm
by chrisjj
This issue recurs on 1202.

EDIT: And now the workaround fails. New successful workaround: Abort, rename the Program Files\MediaMonkey folder, rerun.

Re: 1177 minor: installer error on MMHelper.dll

Posted: Sun Dec 14, 2008 9:24 pm
by Owyn
Hmmm. I have not seen this error with 1198,1201 or 1202 installs on Vista. Used to see it frequently on XP.

Re: 1177 minor: installer error on MMHelper.dll

Posted: Sun Dec 14, 2008 9:34 pm
by chrisjj
My report is of instances on XP.

Re: 1177 minor: installer error on MMHelper.dll

Posted: Sun Dec 14, 2008 9:39 pm
by nynaevelan
I've seen it occasionally on Vista but it is usually when I've forgotten to close MM or haven't rebooted in a while, so I assumed there were still some lingering files in memory. But it hasn't happened enough to annoy me enough to post. I just hit the ignore button and the installation continues and since I never use the help file I have yet to run into any adverse affects from it.

Nyn

Re: 1177 minor: installer error on MMHelper.dll

Posted: Sun Dec 14, 2008 9:44 pm
by nohitter151
nynaevelan wrote:I've seen it occasionally on Vista but it is usually when I've forgotten to close MM or haven't rebooted in a while, so I assumed there were still some lingering files in memory. But it hasn't happened enough to annoy me enough to post. I just hit the ignore button and the installation continues and since I never use the help file I have yet to run into any adverse affects from it.

Nyn
Actually it's not the Help File (that's MediaMonkey.chm) - I'm not sure what MMhelper.dll actually does. If I had to guess though, I'd say it isn't changed from build to build often though. (i.e. probably safe to ignore)

Re: 1177 minor: installer error on MMHelper.dll

Posted: Sun Dec 14, 2008 9:45 pm
by nynaevelan
Aahh, I assumed helper meant it was a help file. :oops:

Nyn

Re: 1177 minor: installer error on MMHelper.dll

Posted: Sun Dec 14, 2008 9:56 pm
by Owyn
Found
388: MMHelper.dll sometimes prevents uninstallation/installation

Notes suggest that it is a Windows Problem.
Re-opened with Feedback.