Page 1 of 1
1384 Unregistering events doesn't work [#7934]
Posted: Sun Jun 05, 2011 2:54 pm
by Steegy
During uninstallation of the script
LinkedTracks, ScriptControl's method
UnRegisterAllEvents is called, but this has no effect. The OnPlay event handler that was registered in the running script is still called, even when it is explicitly unregistered using ScriptControl's
UnRegisterHandler method.
On MM3 the methods work fine (but this is on 32 bit Windows XP).
Sorry, for some reason DebugView is logging
nothing at all.
I'm using MM 4.0 build 1384, on 64 bit Windows 7 all normal setup.
Re: 1384 Unregistering events doesn't work
Posted: Sun Jun 05, 2011 4:07 pm
by nohitter151
Steegy wrote:During uninstallation of the script
LinkedTracks, ScriptControl's method
UnRegisterAllEvents is called, but this has no effect. The OnPlay event handler that was registered in the running script is still called, even when it is explicitly unregistered using ScriptControl's
UnRegisterHandler method.
On MM3 the methods work fine (but this is on 32 bit Windows XP).
Sorry, for some reason DebugView is logging
nothing at all.
Maybe you didn't install the debug build?
Re: 1384 Unregistering events doesn't work
Posted: Mon Jun 06, 2011 4:03 pm
by Steegy
It's the debug version, I double-checked and even re-downloaded/installed.
But I'm more concerned about unregistering the events.
Re: 1384 Unregistering events doesn't work
Posted: Mon Jun 06, 2011 7:10 pm
by Bex
I'm not sure it'll help but what if you create a separate Uninstall.vbs containing the stuff you want to happen on an uninstall, which you then reference from the uninstall.ini?
Re: 1384 Unregistering events doesn't work
Posted: Tue Jun 07, 2011 5:15 am
by Ludek
Re: 1384 Unregistering events doesn't work
Posted: Tue Jun 07, 2011 9:24 am
by Ludek
Re: 1384 Unregistering events doesn't work [#7934]
Posted: Wed Jun 08, 2011 1:34 pm
by Steegy
Verified: Fixed in build 1385.