Highest seems to be good to me. If a user is admin (which most users are by default on windows [silly indeed 8-) but anyway]) then they should install to Program Files\ and if not, they will install to C:\ users. I think that people smart enough to run with a user level account and who wish to have it in program files will know to run as an admin. Those with user accounts will still be able to install, and those with admin accounts (as a large portion of windows users are) will install to Program Files.
I took the time to check that if I compiled it as highest, it would work as expected. When I got it to compile, I ran without using "run as admin". Windows 7 UAC prompted me to continue. When I did, it ran as expected and wanted to install to the proper "Program Files" directory. I don't have a "user" account on this machine and am without a virtual machine (for right now, my lan file server should be coming online in a few days and i can check then) so if anyone with access to a vm can check, I'd appreciate it.
On vista, as expected using a admin account prompted to install to program files. Using a user account, it prompted to install to C:\users\bob (yup, that's what I used).
On 5/23/2010 6:44 AM, Enrico Tröger wrote:
On Sat, 15 May 2010 01:08:05 -0500, Oliver wrote:
I managed to install Vista in a virtual machine (touch and go, didn't think it would work for a minute or 5). Anyway, if I don't choose run as administrator, it will install it to C:\Users.
This is most likely related to "RequestExecutionLevel user" be changing and testing it for you guys, when I get a chance.
I just had a quick look at this again and found some documentation for it:
http://nsis.sourceforge.net/Docs/Chapter4.html#4.8.1.32
I think "user" is actually correct in theory but most users probably want to install it globally with admin rights anyway. So maybe, "highest" is more suitable for us.
What do you think?
Regards, Enrico
Geany mailing list Geany@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany