Execute cura after installing.
parent
0c6c40c098
commit
b6e62387d4
|
@ -44,6 +44,11 @@ SetCompressor /SOLID lzma
|
||||||
!define MUI_FINISHPAGE_NOAUTOCLOSE
|
!define MUI_FINISHPAGE_NOAUTOCLOSE
|
||||||
!define MUI_UNFINISHPAGE_NOAUTOCLOSE
|
!define MUI_UNFINISHPAGE_NOAUTOCLOSE
|
||||||
|
|
||||||
|
;Run Cura after installing
|
||||||
|
!define MUI_FINISHPAGE_RUN
|
||||||
|
!define MUI_FINISHPAGE_RUN_TEXT "Start Cura ${VERSION}"
|
||||||
|
!define MUI_FINISHPAGE_RUN_FUNCTION "LaunchLink"
|
||||||
|
|
||||||
; Pages
|
; Pages
|
||||||
;!insertmacro MUI_PAGE_WELCOME
|
;!insertmacro MUI_PAGE_WELCOME
|
||||||
!insertmacro MUI_PAGE_DIRECTORY
|
!insertmacro MUI_PAGE_DIRECTORY
|
||||||
|
@ -95,6 +100,10 @@ Section "Cura ${VERSION}"
|
||||||
|
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
|
Function LaunchLink
|
||||||
|
ExecShell "" "$SMPROGRAMS\Cura ${VERSION}\Cura ${VERSION}.lnk"
|
||||||
|
FunctionEnd
|
||||||
|
|
||||||
Section "Install Arduino Drivers"
|
Section "Install Arduino Drivers"
|
||||||
; Set output path to the driver directory.
|
; Set output path to the driver directory.
|
||||||
SetOutPath "$INSTDIR\drivers\"
|
SetOutPath "$INSTDIR\drivers\"
|
||||||
|
|
Loading…
Reference in New Issue