mirror of
https://github.com/lubosz/overte.git
synced 2025-08-08 03:08:00 +02:00
handle launch client option for client only
This commit is contained in:
parent
45d16731c3
commit
cfdf8c2588
1 changed files with 3 additions and 2 deletions
|
@ -893,7 +893,8 @@ Function HandlePostInstallOptions
|
||||||
${EndIf}
|
${EndIf}
|
||||||
${EndIf}
|
${EndIf}
|
||||||
|
|
||||||
${If} $LaunchServerNowState == ${BST_CHECKED}
|
${If} @SERVER_COMPONENT_CONDITIONAL@
|
||||||
|
${AndIf} $LaunchServerNowState == ${BST_CHECKED}
|
||||||
!insertmacro WriteInstallOption @SERVER_LAUNCH_NOW_REG_KEY@ YES
|
!insertmacro WriteInstallOption @SERVER_LAUNCH_NOW_REG_KEY@ YES
|
||||||
|
|
||||||
; both launches use the explorer trick in case the user has elevated permissions for the installer
|
; both launches use the explorer trick in case the user has elevated permissions for the installer
|
||||||
|
@ -907,7 +908,7 @@ Function HandlePostInstallOptions
|
||||||
Exec '"$WINDIR\explorer.exe" "$INSTDIR\@CONSOLE_INSTALL_SUBDIR@\@CONSOLE_WIN_EXEC_NAME@"'
|
Exec '"$WINDIR\explorer.exe" "$INSTDIR\@CONSOLE_INSTALL_SUBDIR@\@CONSOLE_WIN_EXEC_NAME@"'
|
||||||
${EndIf}
|
${EndIf}
|
||||||
|
|
||||||
${Else}
|
${ElseIf} @CLIENT_COMPONENT_CONDITIONAL@
|
||||||
!insertmacro WriteInstallOption @SERVER_LAUNCH_NOW_REG_KEY@ NO
|
!insertmacro WriteInstallOption @SERVER_LAUNCH_NOW_REG_KEY@ NO
|
||||||
|
|
||||||
; launch uses the explorer trick in case the user has elevated permissions for the installer
|
; launch uses the explorer trick in case the user has elevated permissions for the installer
|
||||||
|
|
Loading…
Reference in a new issue