From ce68a8d0e18b975e351b2cbd3cbd9469b40edf26 Mon Sep 17 00:00:00 2001 From: Rim Date: Sat, 16 Dec 2023 16:22:19 -0500 Subject: [PATCH] Customize installer a bit --- tools/Contrib/Language files/English.nlf | 4 ++-- tools/Contrib/Language files/English.nsh | 10 +++++----- tools/Examples/nsDialogs/welcome.nsi | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/tools/Contrib/Language files/English.nlf b/tools/Contrib/Language files/English.nlf index feb69cb..5a85c6d 100644 --- a/tools/Contrib/Language files/English.nlf +++ b/tools/Contrib/Language files/English.nlf @@ -12,7 +12,7 @@ NLF v6 - # Translation by ..... (any credits should go here) # ^Branding -Nullsoft Install System %s +t7x Installer - Free and Open Source Software # ^SetupCaption $(^Name) Setup # ^UninstallCaption @@ -100,7 +100,7 @@ Select components to uninstall: # ^UnComponentsSubText2 Or, select the optional components you wish to uninstall: # ^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 Destination Folder # ^DirBrowseText diff --git a/tools/Contrib/Language files/English.nsh b/tools/Contrib/Language files/English.nsh index 4da2e09..05295ca 100644 --- a/tools/Contrib/Language files/English.nsh +++ b/tools/Contrib/Language files/English.nsh @@ -4,12 +4,12 @@ !insertmacro LANGFILE "English" "English" "English" "English" ; See \Include\LangFile.nsh for a description of these parameters !ifdef MUI_WELCOMEPAGE - ${LangFileString} MUI_TEXT_WELCOME_INFO_TITLE "Welcome to $(^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_TITLE "Welcome to the $(^NameDA) Setup" + ${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 !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" !endif @@ -53,8 +53,8 @@ !endif !ifdef MUI_DIRECTORYPAGE - ${LangFileString} MUI_TEXT_DIRECTORY_TITLE "Choose Install Location" - ${LangFileString} MUI_TEXT_DIRECTORY_SUBTITLE "Choose the folder in which to install $(^NameDA)." + ${LangFileString} MUI_TEXT_DIRECTORY_TITLE "Choose Game Location" + ${LangFileString} MUI_TEXT_DIRECTORY_SUBTITLE "Choose your Call of Duty: Black Ops 3 game folder in which to install $(^NameDA)." !endif !ifdef MUI_UNDIRECTORYPAGE diff --git a/tools/Examples/nsDialogs/welcome.nsi b/tools/Examples/nsDialogs/welcome.nsi index d8c2cd7..b8287af 100644 --- a/tools/Examples/nsDialogs/welcome.nsi +++ b/tools/Examples/nsDialogs/welcome.nsi @@ -127,7 +127,7 @@ FunctionEnd 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 EnableWindow $0 0