From 653d49ab3cf361ce5f3331ba519754c8ae31aa29 Mon Sep 17 00:00:00 2001 From: sledgehammer999 Date: Sun, 27 Jan 2013 20:59:08 +0200 Subject: [PATCH] Offer to launch qbt after installation. --- src/windows/options.nsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/windows/options.nsi b/src/windows/options.nsi index b5bdb6c94..2a47b4f7a 100644 --- a/src/windows/options.nsi +++ b/src/windows/options.nsi @@ -18,6 +18,8 @@ XPStyle on !define CSIDL_LOCALAPPDATA '0x1C' ;Local Application Data path !define PROG_VERSION "3.0.3" +!define MUI_FINISHPAGE_RUN "$INSTDIR\qbittorrent.exe" +!define MUI_FINISHPAGE_RUN_TEXT "Launch qBittorrent" ; The name of the installer Name "qBittorrent ${PROG_VERSION}" @@ -66,6 +68,7 @@ RequestExecutionLevel admin !insertmacro MUI_PAGE_COMPONENTS !insertmacro MUI_PAGE_DIRECTORY !insertmacro MUI_PAGE_INSTFILES +!insertmacro MUI_PAGE_FINISH ;-------------------------------- ;Uninstaller Pages