patch by jerry - fixes ShellExecAsUser usage
This commit is contained in:
parent
65b8f480e8
commit
87380937da
|
@ -28,6 +28,8 @@
|
||||||
!define icon "..\res\synergy.ico"
|
!define icon "..\res\synergy.ico"
|
||||||
!define controlPanelReg "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"
|
!define controlPanelReg "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"
|
||||||
|
|
||||||
|
!addplugindir "..\res"
|
||||||
|
|
||||||
!define MUI_ICON ${icon}
|
!define MUI_ICON ${icon}
|
||||||
!define MUI_UNICON ${icon}
|
!define MUI_UNICON ${icon}
|
||||||
|
|
||||||
|
@ -243,10 +245,7 @@ SectionEnd
|
||||||
|
|
||||||
Function .onInstSuccess
|
Function .onInstSuccess
|
||||||
|
|
||||||
; TODO: makensis won't accept this any more for some reason.
|
; relies on !addplugindir
|
||||||
; start the GUI automatically.
|
ShellExecAsUser::ShellExecAsUser "" "$INSTDIR\synergy.exe" SW_SHOWNORMAL
|
||||||
;ShellExecAsUser::ShellExecAsUser "" "$INSTDIR\synergy.exe" SW_SHOWNORMAL
|
|
||||||
|
|
||||||
Exec "$INSTDIR\synergy.exe"
|
|
||||||
|
|
||||||
FunctionEnd
|
FunctionEnd
|
||||||
|
|
Loading…
Reference in New Issue