View Issue Details

IDProjectCategoryView StatusLast Update
0017549MMW v4Framework: Scripts/Extensionspublic2021-02-14 08:52
Reporterzvezdan Assigned To 
PrioritynoneSeverityminorReproducibilityalways
Status newResolutionopen 
Summary0017549: Uninstall.vbs is not executed on the second or subsequent uninstalls
DescriptionFirst time when I apply Uninstall from the Extensions dialog box, the Uninstall.vbs is executed normally. If I install the same add-on again without restart the program, even if it is a different version of the same add-on, and if I try to uninstall it again, the Uninstall.vbs will not be executed. This leaves bunch of lines in the MediaMonkey.ini that are not needed anymore (especially with Magic Nodes masks and RegExp Find & Replace presets) and unwanted tables in the database (e.g. created by Advanced Find & Fix or Backup) which is all cleaned up by Uninstall.vbs of the related add-ons. There are also leftovers in the menu and the tree which are non-functioning and causing errors when you click on them, until restart of the program, which is also all cleaned up by the respective Uninstall.vbs of the add-ons.

Tried my add-ons, also Advanced Find & Fix, Tagging Inconsistencies and several other add-on by other scripters.

The Uninstall.ini contains as usual:
[Execute]
File=Uninstall.vbs

[Delete]
...

and its Delete section is applied fine on the uninstall removing all specified files and the respective Extensions sub-folder is normally removed after uninstall. The only thing is that the Uninstall.vbs is not executed.
Steps To Reproduce1. Install Magic Nodes (or any other add-on having Uninstall.vbs in its package which removes some visible stuff on the uninstall like menu items and Ini keys);
2. uninstall it -> Uninstall.vbs is executed;
3. install again the same add-on without restart of the program;
4. uninstall it again - Uninstall.vbs is not executed.
TagsNo tags attached.
Fixed in build

Activities

There are no notes attached to this issue.