UAC

75 views
Skip to first unread message

Felix Zumstein

unread,
Sep 22, 2012, 1:01:54 PM9/22/12
to winp...@googlegroups.com
Pierre,

Apart from the drag and drop issue, there's something else to consider with the exe files: From an account with no admin rights, they can't be started. And on an account with admin rights, Windows 7 is still always annoying with the UAC popup (if not disabled, of course).

However, when I start spyder etc with the batch file from the Winpython/scripts folder, then all works fine: no UAC and fully functional even on a non-admin account.

The exe files from the portablepyhton distribution don't seem to have that problem: they don't call UAC and also work from non-admin accounts.

thx
- Felix

Pierre Raybaut

unread,
Sep 22, 2012, 1:57:42 PM9/22/12
to winp...@googlegroups.com
2012/9/22 Felix Zumstein <fzum...@gmail.com>:
> Pierre,
>
> Apart from the drag and drop issue, there's something else to consider with
> the exe files: From an account with no admin rights, they can't be started.
> And on an account with admin rights, Windows 7 is still always annoying with
> the UAC popup (if not disabled, of course).

I think I can solve this one by telling Windows to run the executable
as a simple user.
I've just commit this changeset to fix this:
http://code.google.com/p/winpython/source/detail?r=867925ba4fc2996f395450442e711e909be09cc8

> However, when I start spyder etc with the batch file from the
> Winpython/scripts folder, then all works fine: no UAC and fully functional
> even on a non-admin account.

That's because the default requested execution level with NSIS
executables is the admin level.

> The exe files from the portablepyhton distribution don't seem to have that
> problem: they don't call UAC and also work from non-admin accounts.

Here is a launcher test which should fix this (for 32-bit WinPython):
http://winpython.googlecode.com/files/Spyder_UAC_test.exe

-Pierre

> thx
> - Felix
>
> --
> You received this message because you are subscribed to the Google Groups
> "WinPython" group.
> To unsubscribe from this group, send email to
> winpython+...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Felix Zumstein

unread,
Sep 22, 2012, 3:53:09 PM9/22/12
to winp...@googlegroups.com
This fixes it indeed - awesome!

Pierre Raybaut

unread,
Sep 22, 2012, 4:19:45 PM9/22/12
to winp...@googlegroups.com
Ok, great, so this will be fixed in RC2. 
Reply all
Reply to author
Forward
0 new messages