gui execute as non-admin on installer finish

This commit is contained in:
Nick Bolton 2012-07-28 14:38:59 +00:00
parent 86bb49aeae
commit 49c1a5e9a1
2 changed files with 1 additions and 4 deletions

BIN
res/ShellExecAsUser.dll Normal file

Binary file not shown.

View File

@ -246,9 +246,6 @@ SectionEnd
Function .onInstSuccess Function .onInstSuccess
; start the GUI automatically. ; start the GUI automatically.
Exec "$INSTDIR\synergy.exe" ShellExecAsUser::ShellExecAsUser "" "$INSTDIR\synergy.exe" SW_SHOWNORMAL
; HACK: wait 5 secs for the GUI to take focus.
Sleep 5000
FunctionEnd FunctionEnd