Update branding text in Windows installer script
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good

- Reintroduced the branding text definition in `farmcontrol.nsi` to ensure the installer reflects the correct version and build number.
- This change enhances the visibility of versioning information during the installation process.
This commit is contained in:
Tom Butcher 2026-08-02 23:09:46 +01:00
parent 5c1ea30e5d
commit c48b8d72da

View File

@ -25,7 +25,6 @@ InstallDirRegKey HKLM "Software\Tom Butcher\Farm Control" "InstallDir"
RequestExecutionLevel admin
!define MUI_ABORTWARNING
!define MUI_BRANDINGTEXT "Farm Control v${VERSION}-b${BUILD_NUMBER} Installer"
!ifndef INSTALLER_ICON
!define INSTALLER_ICON "${NSISDIR}\Contrib\Graphics\Icons\modern-install.ico"
@ -43,6 +42,8 @@ UninstallIcon "${INSTALLER_ICON}"
!insertmacro MUI_UNPAGE_INSTFILES
!insertmacro MUI_LANGUAGE "English"
!define MUI_BRANDINGTEXT "Farm Control v${VERSION}-b${BUILD_NUMBER} Installer"
Function .onInit
${If} ${Silent}
SetAutoClose true