View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005072 | MMW v4 | Framework: Scripts/Extensions | public | 2008-12-20 09:50 | 2009-06-11 23:40 |
Reporter | Assigned To | ||||
Priority | immediate | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 3.1 | ||||
Fixed in Version | 3.1 | ||||
Summary | 0005072: Pre-test for Admin (warning for add-ons installation) | ||||
Description | I have switched to normally NOT Running as Administrator on Vista to get Drag & Drop to work. However, Adding or Removing an extension (mmip) requires Admin and can fail with partial changes to MM. MM should pre-test for Admin (if possible) on Vista before executing the action, and, if not in the correct mode, present a user warning message. | ||||
Additional Information | http://www.mediamonkey.com/forum/viewtopic.php?f=6&t=35134 | ||||
Tags | No tags attached. | ||||
Fixed in build | 1219 | ||||
|
Possible warning: 'To install an add-on you must be logged in as administrator.' |
|
To install or remove... |
|
Hmmm. "To install or remove an add-on on Windows Vista you must Run MediaMonkey as Administrator" |
|
You can test for correct mode by trying to create (or modify) a file in the MM %Program Files% folder. |
|
I added IsUserAdmin() to Utils.pas, so we can easily implement it. I'd use "To install or remove an add-on you must Run MediaMonkey as Administrator" and show it for Vista+ only (based on isVista variable). |
|
Fixed in build 1210. |
|
We're seeing problems with uninstalling extensions (receiving "To install or remove an add-on you must Run MediaMonkey as Administrator" whether MM is opened as admin or not). I also received an exception when attempting to install an extension. http://www.mediamonkey.com/forum/viewtopic.php?f=6&t=35988&p=185385#p185385 |
|
Jiri, could you look into this as you wrote the IsUserAdmin() function and I have not Vista installed. |
|
The fix should be based on http://msdn.microsoft.com/cs-cz/magazine/cc163486(en-us).aspx |
|
Reminder sent to: petr Fixed in build 1213. Tested on XP. Petr, please test it on Vista, should work fine now. |
|
Verified in Vista. |
|
Reopened, because here: http://www.mediamonkey.com/forum/viewtopic.php?f=6&t=35988 is reported: I start MM without admin privileges and attempt to install a script I get "Product installation error" and not the "You must run MediaMonkey as admin" message. Petr, could you please re-test without admin privilegies whether the IsUserAdmin() function I rewritten works fine on Vista? |
|
Fixed in 1214 |
|
As reported here: http://www.mediamonkey.com/forum/viewtopic.php?f=6&t=35988 it is problem for Win XP too.ยด i.e. I've noted that on XP, extension installation info is written to C:\Documents and Settings\All Users\Application Data\MediaMonkey\Extensions.ini which I suppose does not work unless you're admin on the machine. We should select one of these items: a) change the path to C:\Documents and Settings\<User>\Application Data\MediaMonkey\Extensions.ini b) change the path to C:\Program Files\MediaMonkey\Extensions.ini c) give user the same warning as for Vista |
|
Chosen c) for now (build 1219), a) & b) tracked in 0004912. |
|
Closing Other future issues will be tracked over 0004912 and 0003702 |