View Issue Details

IDProjectCategoryView StatusLast Update
0007269MMW v4Framework: Scripts/Extensionspublic2011-01-31 13:27
Reporterzvezdan Assigned To 
PrioritynoneSeverityminorReproducibilityalways
Status resolvedResolutionno change required 
Product Version4.0 
Summary0007269: Uninstall of old version of scripts/skins during installation of new version doesn't work always
DescriptionIt doesn't work if you want to install the new version into different folder than before, e.g. you have installed the old version in the global folder and now you want to install the new version into local folder -> you will end up with two installed version of the same script.

During installation of the new version of script/skin, the program itself should uninstall the old version of the same script/skin, not matter if it is previously installed in local or global folder and not matter of the current user choice of the installation folder.
Additional Informationhttp://www.mediamonkey.com/forum/viewtopic.php?p=285427#p285427
TagsNo tags attached.
Fixed in build

Relationships

related to 0006710 closedLudek Non-Admin users can't install plugins 
related to 0007273 closedLudek If a script is presented as both local and global then it is running twice 

Activities

Ludek

2011-01-31 13:03

developer   ~0022718

Last edited: 2011-01-31 13:18

I think that the current approach is OK.

As implemented in 0006710: If the same plugin is presented in both plugin folders then the plugin from the LOCAL user's folder is loaded and the GLOBAL is ignored. This is all right, don't forgot that user needn't to have enough rights to uninstall the GLOBAL plugin.

The problem here is, that the approach doesn't work for auto-scripts, reported as:
0007273: If an auto-script is presented as both local and global script then it is running twice

zvezdan

2011-01-31 13:22

updater   ~0022719

I don't think that scripts from global folder are ignored. If I put Magic Nodes or Play History & Stats scripts in global and local folders I would get those nodes twice in the Tree panel. I think that Eyal had similar problem with its script described on the mentioned thread which is not related to Tree panel.

Ludek

2011-01-31 13:25

developer   ~0022720

yes, it is tracked as 0007273

zvezdan

2011-01-31 13:27

updater   ~0022721

Well, I saw just now that you edited your comment.

How could you call such approach "resolved" if it doesn't work with auto scripts? You approach none of existing installation packages for auto script would be compatible with MM4, all such packages would require modifications of Install.ini file.