aboutsummaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorChuck Craft <bubbasnmp@gmail.com>2021-09-03 15:59:34 -0500
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2021-09-04 06:19:42 +0000
commiteb83421c96c486aab492a97315f8b56f6a7614ec (patch)
treeaab012bc8235b30389f1e2991c60b975819502f0 /packaging
parentfb02f423b13872e17740dd3f6a23efc2f48e2840 (diff)
NSIS: expand title area for long program names that wrap
Release candidates (rc blah blah hash) or if WIRESHARK_VERSION_EXTRA is set for the build, are wrapped/clipped to be unreadable.
Diffstat (limited to 'packaging')
-rw-r--r--packaging/nsis/uninstall.nsi2
-rw-r--r--packaging/nsis/wireshark.nsi2
2 files changed, 4 insertions, 0 deletions
diff --git a/packaging/nsis/uninstall.nsi b/packaging/nsis/uninstall.nsi
index 9d4f6cc36e..7b9d72705d 100644
--- a/packaging/nsis/uninstall.nsi
+++ b/packaging/nsis/uninstall.nsi
@@ -30,6 +30,8 @@ UninstallIcon "..\..\image\wiresharkinst.ico"
;UninstallText "This will uninstall ${PROGRAM_NAME}.\r\nBefore starting the uninstallation, make sure ${PROGRAM_NAME} is not running.\r\nClick 'Next' to continue."
!define MUI_UNFINISHPAGE_NOAUTOCLOSE
+!define MUI_WELCOMEPAGE_TITLE_3LINES
+!define MUI_FINISHPAGE_TITLE_3LINES
!insertmacro MUI_UNPAGE_WELCOME
!insertmacro MUI_UNPAGE_CONFIRM
diff --git a/packaging/nsis/wireshark.nsi b/packaging/nsis/wireshark.nsi
index e629a610d3..5f98869427 100644
--- a/packaging/nsis/wireshark.nsi
+++ b/packaging/nsis/wireshark.nsi
@@ -60,6 +60,7 @@ BrandingText "Wireshark${U+00ae} Installer"
!define MUI_COMPONENTSPAGE_SMALLDESC
!define MUI_FINISHPAGE_NOAUTOCLOSE
+!define MUI_WELCOMEPAGE_TITLE_3LINES
!define MUI_WELCOMEPAGE_TEXT "This wizard will guide you through the installation of ${PROGRAM_NAME}.$\r$\n$\r$\nBefore starting the installation, make sure ${PROGRAM_NAME} is not running.$\r$\n$\r$\nClick 'Next' to continue."
;!define MUI_FINISHPAGE_LINK "Install Npcap to be able to capture packets from a network."
;!define MUI_FINISHPAGE_LINK_LOCATION "https://nmap.org/npcap/"
@@ -68,6 +69,7 @@ BrandingText "Wireshark${U+00ae} Installer"
; the file's extension. "README.win32" won't work in most cases, because extension "win32"
; is usually not associated with an appropriate text editor. We should use extension "txt"
; for a text file or "html" for an html README file.
+!define MUI_FINISHPAGE_TITLE_3LINES
!define MUI_FINISHPAGE_SHOWREADME "$INSTDIR\NEWS.txt"
!define MUI_FINISHPAGE_SHOWREADME_TEXT "Show News"
!define MUI_FINISHPAGE_SHOWREADME_NOTCHECKED