Windows: Run Clementine after installation with normal user privileges.

This commit is contained in:
Andreas 2013-06-13 18:08:18 +02:00
parent 006887d242
commit eeb54a4684
1 changed files with 7 additions and 1 deletions

View File

@ -32,7 +32,9 @@ SetCompressor /SOLID lzma
!define MUI_ICON "clementine.ico"
!define MUI_COMPONENTSPAGE_SMALLDESC
!define MUI_FINISHPAGE_RUN $INSTDIR/clementine.exe
!define MUI_FINISHPAGE_RUN
!define MUI_FINISHPAGE_RUN_TEXT "Run Clementine"
!define MUI_FINISHPAGE_RUN_FUNCTION "RunClementine"
; Installer pages
!insertmacro MUI_PAGE_WELCOME
@ -54,6 +56,10 @@ ShowInstDetails show
ShowUnInstDetails show
RequestExecutionLevel admin
Function RunClementine
ShellExecAsUser::ShellExecAsUser "" "$INSTDIR/clementine.exe"
FunctionEnd
Section "Delete old files" oldfiles
; Delete files from older versions
; 0.3