Customize installer a bit

This commit is contained in:
Rim 2023-12-16 16:22:19 -05:00
parent bcdfab7f57
commit ce68a8d0e1
3 changed files with 8 additions and 8 deletions

View File

@ -12,7 +12,7 @@ NLF v6
- -
# Translation by ..... (any credits should go here) # Translation by ..... (any credits should go here)
# ^Branding # ^Branding
Nullsoft Install System %s t7x Installer - Free and Open Source Software
# ^SetupCaption # ^SetupCaption
$(^Name) Setup $(^Name) Setup
# ^UninstallCaption # ^UninstallCaption
@ -100,7 +100,7 @@ Select components to uninstall:
# ^UnComponentsSubText2 # ^UnComponentsSubText2
Or, select the optional components you wish to uninstall: Or, select the optional components you wish to uninstall:
# ^DirText # ^DirText
Setup will install $(^NameDA) in the following folder. To install in a different folder, click Browse and select another folder. $_CLICK Setup will install $(^NameDA) in the following folder. Input the path to your Call of Duty: Black Ops III game folder, or click Browse and select the game folder. $_CLICK
# ^DirSubText # ^DirSubText
Destination Folder Destination Folder
# ^DirBrowseText # ^DirBrowseText

View File

@ -4,12 +4,12 @@
!insertmacro LANGFILE "English" "English" "English" "English" ; See \Include\LangFile.nsh for a description of these parameters !insertmacro LANGFILE "English" "English" "English" "English" ; See \Include\LangFile.nsh for a description of these parameters
!ifdef MUI_WELCOMEPAGE !ifdef MUI_WELCOMEPAGE
${LangFileString} MUI_TEXT_WELCOME_INFO_TITLE "Welcome to $(^NameDA) Setup" ${LangFileString} MUI_TEXT_WELCOME_INFO_TITLE "Welcome to the $(^NameDA) Setup"
${LangFileString} MUI_TEXT_WELCOME_INFO_TEXT "Setup will guide you through the installation of $(^NameDA).$\r$\n$\r$\nIt is recommended that you close all other applications before starting Setup. This will make it possible to update relevant system files without having to reboot your computer.$\r$\n$\r$\n$_CLICK" ${LangFileString} MUI_TEXT_WELCOME_INFO_TEXT "Setup will guide you through the installation of the $(^NameDA) Client for Call of Duty Black Ops III.$\r$\n$\r$\nIt is recommended that you close all other applications before installing.$\r$\n$\r$\nYou will not need to restart your computer after installation.$\r$\n$\r$\n$_CLICK"
!endif !endif
!ifdef MUI_UNWELCOMEPAGE !ifdef MUI_UNWELCOMEPAGE
${LangFileString} MUI_UNTEXT_WELCOME_INFO_TITLE "Welcome to $(^NameDA) Uninstall" ${LangFileString} MUI_UNTEXT_WELCOME_INFO_TITLE "$(^NameDA) Uninstaller"
${LangFileString} MUI_UNTEXT_WELCOME_INFO_TEXT "Setup will guide you through the uninstallation of $(^NameDA).$\r$\n$\r$\nBefore starting the uninstallation, make sure $(^NameDA) is not running.$\r$\n$\r$\n$_CLICK" ${LangFileString} MUI_UNTEXT_WELCOME_INFO_TEXT "Setup will guide you through the uninstallation of $(^NameDA).$\r$\n$\r$\nBefore starting the uninstallation, make sure $(^NameDA) is not running.$\r$\n$\r$\n$_CLICK"
!endif !endif
@ -53,8 +53,8 @@
!endif !endif
!ifdef MUI_DIRECTORYPAGE !ifdef MUI_DIRECTORYPAGE
${LangFileString} MUI_TEXT_DIRECTORY_TITLE "Choose Install Location" ${LangFileString} MUI_TEXT_DIRECTORY_TITLE "Choose Game Location"
${LangFileString} MUI_TEXT_DIRECTORY_SUBTITLE "Choose the folder in which to install $(^NameDA)." ${LangFileString} MUI_TEXT_DIRECTORY_SUBTITLE "Choose your Call of Duty: Black Ops 3 game folder in which to install $(^NameDA)."
!endif !endif
!ifdef MUI_UNDIRECTORYPAGE !ifdef MUI_UNDIRECTORYPAGE

View File

@ -127,7 +127,7 @@ FunctionEnd
Function nsDialogsDirectory Function nsDialogsDirectory
!insertmacro MUI_HEADER_TEXT "Choose Install Location" "Choose the folder in which to install $(^NameDA)." !insertmacro MUI_HEADER_TEXT "Choose Game Location" "Choose your Call of Duty: Black Ops 3 game folder in which to install $(^NameDA)."
GetDlgItem $0 $HWNDPARENT 1 GetDlgItem $0 $HWNDPARENT 1
EnableWindow $0 0 EnableWindow $0 0