C#, UAC, installer, Windows 7 -
i have client-side app downloads nullsoft installer server , runs installer external process verb set "runas". nullsoft installer has line in script requests elevated privileges. on windows 7, works -- windows displays uac dialog, clicking ok allows installer run. other times, uac dialog never shows , result installer never launches. if manually double-click same installer, works, i.e. uac dialog shows up, etc. confusing part behavior being inconsistent, on same machine exact same uac settings works , hangs other times. have tried different uac levels too, still hit-or-miss. ideas?
what did set requestexecutionlevel to? setting "requestexecutionlevel admin" should enough, no need use runas verb, start process shellexecute. (requestexecutionlevel deals vista , later when uac on, use userinfo nsis plugin cover other cases)
Comments
Post a Comment