View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006710 | MMW v4 | Install/Config | public | 2010-11-18 11:56 | 2022-11-14 13:45 |
Reporter | Ludek | Assigned To | |||
Priority | immediate | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 3.2.2 | ||||
Target Version | 4.0 | Fixed in Version | 4.0 | ||
Summary | 0006710: Non-Admin users can't install plugins | ||||
Description | The problem has been already resolved for Scripts and Skins as part of the issue 0004912 The same should work for plugins. i.e. user should be able to install plugin without admin rights too, this can be resolved by adding '[x] Install for the current user only (doesn't require admin rights)' checkbox during installation of a plugin and ticking this checkbox causes the plugin to be copied to C:\Documents and Settings\<user>\Application Data\MediaMonkey\Plugins\ instead of C:\Program Files\MediaMonkey\Plugins\ Also new scripting method should be added: SDBApplication::LocalPluginsPath -> C:\Documents and Settings\<user>\Application Data\MediaMonkey\Plugins\ in addition to current SDBApplication::PluginsPath -> C:\Program Files\MediaMonkey\Plugins\ | ||||
Tags | todoc-help | ||||
Fixed in build | 1327 | ||||
related to | 0004912 | closed | Ludek | MMW v4 | Non-Admin users can't install scripts |
related to | 0007269 | resolved | Ludek | MMW v4 | Uninstall of old version of scripts/skins during installation of new version doesn't work always |
related to | 0007273 | closed | Ludek | MMW v4 | If a script is presented as both local and global then it is running twice |
related to | 0007303 | closed | Ludek | MMW v4 | SDB.RegisterIcon: Should support Global and user paths |
related to | 0007435 | closed | Ludek | MMW v4 | SDBFileSystem: Tweaks |
related to | 0019455 | assigned | rusty | MMW v4 | iOS 17 support for MM4 |
|
Added in build 1327. Note that plugins installer should be a MMIP package that uses our [copy] file section. Then it automatically converts global plugins path to the local plugin path. This resolves backward compatibility issues and following [Copy] Src=gen_LastFMScrobbler.dll Tgt={app}\Plugins\gen_LastFMScrobbler.dll still works and if user checked the '[x] Install for the current user only' then the DLL is copied to the user's plugin folder otherwise it is copied to the global plugins folder. Note that I also added some new path variables: {gpf} - Global Plugins Folder {lpf} - Local Plugins Folder {gsf} - Global Scripts Folder {lsf} - Local Scripts Folder it means that Tgt={app}\Plugins\gen_LastFMScrobbler.dll is the very same as Tgt={gpf}\gen_LastFMScrobbler.dll {lpf} and {lsf} shouldn't be needed, because MediaMonkey automatically converts {gpf} to {lpf} if needed as described above. |
|
Re-opened due to some tweaks: 1. There is a need for SDBApplication::CurrentAddonInstallRoot that will return folder based on the selected type of installation, i.e. C:\Documents and Settings\<user>\Application Data\MediaMonkey\ OR C:\Program Files\MediaMonkey\ 2. If the same plugin is presented in both plugin folders then the plugin from the current user's folder should be loaded and the other ignored |
|
Fixed in build 1327. |
|
Verified 1335 |