Issue Details (XML | Word | Printable)

Key: PICARD-11
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Normal Normal
Assignee: Unassigned
Reporter: voiceinsideyou
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Picard

Solve UAC problems with running Picard from installer

Created: 12/Aug/11 03:53 AM   Updated: 07/Jun/12 08:33 PM   Resolved: 07/Jun/12 08:33 PM
Component/s: Other
Affects Version/s: 0.15.1
Fix Version/s: 1.1

Environment: Windows Vista, Windows 7


 Description  « Hide

Users often have problems with drag & drop after clicking "Run Picard" from the Windows installer. This is because the installer runs with admin privileges and thus Picard will then run with admin privileges, which intentionally breaks drag & drop due to UAC.

Even worse, I've seen anecdotal reports that sometimes if the user then uses Picard to rename/move files, it can end up creating files with only admin privileges and the user does not have write access from their regular user account without taking ownership of the files and mucking around with Windows privileges. This is not something most users want to do

One option to address this appears to be using the NSIS UAC plugin from http://nsis.sourceforge.net/UAC_plug-in which the installer runs two processes; one with user-level privileges as a wrapper (and for launching), and another with privileged escalation.

Some investigation would be required to see if this is a worthy trade-off and whether it affects things negatively for Windows XP installation.



voiceinsideyou added a comment - 12/Aug/11 04:07 AM

Didn't see this prior to creating this, but essentially moved from http://bugs.musicbrainz.org/ticket/5473


voiceinsideyou added a comment - 13/Aug/11 05:41 AM

Example of someone who has come across problems, presumably after tagging as Administrator from installer: http://forums.musicbrainz.org/viewtopic.php?id=2973


Lukáš Lalinský added a comment - 03/Jun/12 06:39 PM

Isn't simply removing the checkbox from the installer the best option? I don't use Windows regularly, but do installers still typically provide such a checkbox?


Michael Wiencek added a comment - 04/Jun/12 06:06 PM

From what I know many installers do, but it's only a very small convenience, so IMO not worth the effort required to fix. (Not that I know anything about windows dev.)


Cerdd Eightythree added a comment - 07/Jun/12 07:40 PM

I'd go along with ditching the checkbox also. Vista and 7 (the two OS's that use UAC) both highlight newly installed programs on the Start Menu, so it should be easy enough for a user to run the program the first time.



Lukáš Lalinský made changes - 07/Jun/12 08:33 PM
Field Original Value New Value
Status Open [ 1 ] Closed [ 6 ]
Fix Version/s 1.0.1 [ 10144 ]
Resolution Fixed [ 1 ]