First try to warn user it should close Clementine before if upgrading it
This commit is contained in:
parent
1c3cee8719
commit
80ce992c9c
|
@ -38,6 +38,7 @@ SetCompressor /SOLID lzma
|
|||
; Installer pages
|
||||
!insertmacro MUI_PAGE_WELCOME
|
||||
!insertmacro MUI_PAGE_DIRECTORY
|
||||
Page custom CustomPageFunctionWarning
|
||||
!insertmacro MUI_PAGE_INSTFILES
|
||||
!insertmacro MUI_PAGE_FINISH
|
||||
|
||||
|
@ -56,6 +57,10 @@ ShowUnInstDetails show
|
|||
@NORMAL@RequestExecutionLevel admin
|
||||
@PORTABLE@RequestExecutionLevel user
|
||||
|
||||
Function CustomPageFunctionWarning ;Display a warning message to ask user to check Clementine is closed before installing a new version
|
||||
!insertmacro MUI_INSTALLOPTIONS_DISPLAY "warning.ini"
|
||||
FunctionEnd
|
||||
|
||||
Function RunClementine
|
||||
ShellExecAsUser::ShellExecAsUser "" "$INSTDIR/clementine.exe" ""
|
||||
FunctionEnd
|
||||
|
|
Loading…
Reference in New Issue