Archive: 'run this program as an administrator' and windows 7


'run this program as an administrator' and windows 7
I have an installer that installs a shortcut in the user's startup folder.

In some Windows 7 admin accounts (about 2 of the 10 I've tested), the shortcut ends up with the 'run this program as an administrator' checkbox checked and grayed out.

This is not the behavior I intended and its non-functional: a startup item that's forced to elevate fails silently, since no interaction is available at startup.

I don't know why these admin accounts are different than the others.

Anyone have any ideas?


I know that NSIS itself does not contain any code to set that checkbox so I don't know how it is getting set, maybe some kind of auto compatibility stuff


http://answers.microsoft.com/en-us/w...2-e64b3d24d798