Archive: change text near checkbox on finishpage


change text near checkbox on finishpage
Hi,
I `ve got one further problem:

I`ve coded an multilingual installer, which should run a program after finish page if the "run APPLICATIONNAME" checkbox is checked.
Dafault value is run + APPLICATIONNAME, but I want the app another text to show eg. "run hello world"

I know that there`s a var called MUI_FINISHPAGE_RUN_TEXT but it doesn`t work!?!

;--------------------------------
;Folder defines

!define ROOTDIR "C:\NSIS Projects\${MUI_PRODUCT} ${MUI_VERSION}"
!define GERDIR "${ROOTDIR}\insdir\German"
!define ENGDIR "${ROOTDIR}\insdir\English"

;--------------------------------
;Page defines

!define MUI_FINISHPAGE_RUN_TEXT "Konfigurationsmanager starten"
!define MUI_FINISHPAGE_RUN "$INSTDIR\S7OPCCfg.exe"

;--------------------------------
;Modern UI Configuration

;Remember the installer language
!define MUI_LANGDLL_REGISTRY_ROOT "HKLM"

;if the language have been selected once it`ll be saved here further setups could use this
;predefined language
;!define MUI_LANGDLL_REGISTRY_KEY "Software\Softing\Products\22"
!define MUI_LANGDLL_REGISTRY_VALUENAME "Installer Language"


!define MUI_ABORTWARNING

;--------------------------------
;Pages

!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_LICENSE
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_FINISH

!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES
could someone help me please?!
greetings
Michael

Have you tried using the latest CSV version of NSIS. I tested the '!define MUI_FINISHPAGE_RUN_TEXT "Konfigurationsmanager starten"' command and it worked fine. :)

Vytautas


You have te put the !defines above the !insertmacro of the FINISHPAGE like:

!define MUI_FINISHPAGE_RUN "$INSTDIR\start.exe"
!define MUI_FINISHPAGE_RUN_TEXT "Start my program"

!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_blablabla
!insertmacro MUI_PAGE_blablabla
!insertmacro MUI_PAGE_blablabla
!insertmacro MUI_PAGE_FINISH