mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-02 10:24:11 +01:00
Windows installer: add option to run GCS after installation
This commit is contained in:
parent
0f7fc8168e
commit
3e0bb8a876
@ -107,6 +107,11 @@
|
|||||||
!define MUI_LANGDLL_REGISTRY_VALUENAME "Installer Language"
|
!define MUI_LANGDLL_REGISTRY_VALUENAME "Installer Language"
|
||||||
!define MUI_LANGDLL_ALWAYSSHOW
|
!define MUI_LANGDLL_ALWAYSSHOW
|
||||||
|
|
||||||
|
;--------------------------------
|
||||||
|
; Settings for MUI_PAGE_FINISH
|
||||||
|
!define MUI_FINISHPAGE_RUN
|
||||||
|
!define MUI_FINISHPAGE_RUN_FUNCTION "RunApplication"
|
||||||
|
|
||||||
;--------------------------------
|
;--------------------------------
|
||||||
; Pages
|
; Pages
|
||||||
|
|
||||||
@ -123,8 +128,6 @@
|
|||||||
!insertmacro MUI_UNPAGE_INSTFILES
|
!insertmacro MUI_UNPAGE_INSTFILES
|
||||||
!insertmacro MUI_UNPAGE_FINISH
|
!insertmacro MUI_UNPAGE_FINISH
|
||||||
|
|
||||||
; !define MUI_FINISHPAGE_RUN "$INSTDIR\bin\openpilotgcs.exe"
|
|
||||||
|
|
||||||
;--------------------------------
|
;--------------------------------
|
||||||
; Supported languages, license files and translations
|
; Supported languages, license files and translations
|
||||||
|
|
||||||
@ -280,3 +283,12 @@ Function un.onInit
|
|||||||
!insertmacro MUI_UNGETLANGUAGE
|
!insertmacro MUI_UNGETLANGUAGE
|
||||||
|
|
||||||
FunctionEnd
|
FunctionEnd
|
||||||
|
|
||||||
|
;--------------------------------
|
||||||
|
; Function to run the application from installer
|
||||||
|
|
||||||
|
Function RunApplication
|
||||||
|
|
||||||
|
Exec '"$INSTDIR\bin\openpilotgcs.exe"'
|
||||||
|
|
||||||
|
FunctionEnd
|
||||||
|
Loading…
Reference in New Issue
Block a user