change "License Agreement" to "Terms of Service"?
Is there a way to change the License Agreement page type to use "Terms of Service" wording instead?
16 posts
so the easiest way is to create your own "english1.nsh" and link to it this way.Section -post
; When Modern UI is installed:
; * Always install the English language file
File "..\Contrib\Modern UI\Language files\English.nsh "
...
LoadLanguageFile "${NSISDIR}\Contrib\Language files\English.nlf "it's similar to this methodI don't know the words you want to use or if you want to use an "Agree" button, a checkbox or radio buttons so you may need to make some changes to this code. The MUI ReadMe describes how to make these changes.!define MUI_PAGE_HEADER_TEXT "Terms of Service"
!define MUI_PAGE_HEADER_SUBTEXT "Please review the terms of service before installing $(^NameDA)."
!define MUI_LICENSEPAGE_TEXT_TOP "Press Page Down to see the rest of the terms."
!define MUI_LICENSEPAGE_TEXT_BOTTOM "If you accept the terms of service, click the check box below. You must accept these terms to install $(^NameDA). $_CLICK"
!define MUI_LICENSEPAGE_CHECKBOX
!define MUI_LICENSEPAGE_CHECKBOX_TEXT "I &accept the terms of service"
!insertmacro MUI_PAGE_LICENSE "${NSISDIR}\Contrib\Modern UI\License.txt"
The MUI ReadMe explains how to handle language selection (using MUI_LANGDLL_DISPLAY etc)!define MUI_PAGE_HEADER_TEXT "$(TOS_HEADER_TEXT)"
!define MUI_PAGE_HEADER_SUBTEXT "$(TOS_HEADER_SUBTEXT)"
!define MUI_LICENSEPAGE_TEXT_TOP "$(TOS_TEXT_TOP)"
!define MUI_LICENSEPAGE_TEXT_BOTTOM "$(TOS_TEXT_BOTTOM)"
!define MUI_LICENSEPAGE_CHECKBOX
!define MUI_LICENSEPAGE_CHECKBOX_TEXT "$(TOS_CHECKBOX_TEXT)"
!insertmacro MUI_PAGE_LICENSE "${NSISDIR}\Contrib\Modern UI\License.txt"
...
...
!insertmacro MUI_LANGUAGE "English"
!insertmacro MUI_LANGUAGE "French"
!insertmacro MUI_LANGUAGE "German"
...
...
LangString TOS_HEADER_TEXT ${LANG_ENGLISH} "Terms of Service"
LangString TOS_HEADER_SUBTEXT ${LANG_ENGLISH} "Please review the terms of service before installing $(^NameDA)."
(etc)
LangString TOS_HEADER_TEXT ${LANG_FRENCH} "(French) Terms of Service"
LangString TOS_HEADER_SUBTEXT ${LANG_FRENCH} "(French) Please review the terms of service before installing $(^NameDA)."
(etc)
LangString TOS_HEADER_TEXT ${LANG_GERMAN} "(German) Terms of Service"
LangString TOS_HEADER_SUBTEXT ${LANG_GERMAN} "(German) Please review the terms of service before installing $(^NameDA)."
(etc)