Skip to content

Commit

Permalink
Add "Run VXMusic" option to installer. Clean up some text.
Browse files Browse the repository at this point in the history
  • Loading branch information
Soapwood committed Jul 4, 2024
1 parent ba1de69 commit 6cbbce2
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions Installer/VXMusic.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,12 @@ Caption "VXMusic Installer"

# MUI Settings
!define MUI_ABORTWARNING
!define MUI_ABORTWARNING_TEXT "Are you sure you want to exit the ${PRODUCT_NAME} installation?"
!define MUI_ICON "${SOURCE_PATH}\VXMusicDesktop\Images\VXLogoIcon.ico"
!define MUI_UNICON "${SOURCE_PATH}\VXMusicDesktop\Images\VXLogoIcon.ico"

!define MUI_PRODUCT "VXMusic"

!define MUI_HEADERIMAGE
!define MUI_HEADERIMAGE_BITMAP "${SOURCE_PATH}\VXMusicDesktop\Images\Installer\HeaderBranding.bmp"
!define MUI_HEADERIMAGE_UNBITMAP "${SOURCE_PATH}\VXMusicDesktop\Images\Installer\HeaderBranding.bmp"
Expand All @@ -76,8 +79,10 @@ Caption "VXMusic Installer"
!define MUI_INSTFILESPAGE_COLORS "FFFFFF E8E9EB"

# Welcome page settings
!define MUI_WELCOMEPAGE_TITLE "Welcome to the VXMusic Installation Wizard"
!define MUI_WELCOMEPAGE_TEXT "Thank you for using VXMusic! This installer will guide you through installation.$\r$\n$\r$\nVXMusic Version ${PRODUCT_VERSION}$\r$\n$\r$\nIf you need any assistance, please reach out on Discord.$\r$\n$\r$\nClick Next to continue."
!define MUI_WELCOMEPAGE_TITLE "${PRODUCT_VERSION} ${PRODUCT_VERSION} Installation Wizard"
!define MUI_WELCOMEPAGE_TEXT "Thank you for using VXMusic! This installer will guide you through the installation.$\r$\n$\r$\nVXMusic v${PRODUCT_VERSION}$\r$\n$\r$\nIf you need any assistance, please reach out on Discord.$\r$\n$\r$\nClick Next to continue."
!define MUI_WELCOMEPAGE_LINK "Join the Discord!"
!define MUI_WELCOMEPAGE_LINK_LOCATION "https://t.co/Z2eSKfYpfs"
!define MUI_WELCOMEFINISHPAGE_BITMAP "${SOURCE_PATH}\VXMusicDesktop\Images\Installer\LeftBarBranding.bmp"
!define MUI_WELCOMEFINISHPAGE_BITMAP_NOSTRETCH

Expand All @@ -93,11 +98,14 @@ Caption "VXMusic Installer"
!define MUI_UNWELCOMEFINISHPAGE_UNBITMAP "${SOURCE_PATH}\VXMusicDesktop\Images\Installer\LeftBarBranding.bmp"
!define MUI_UNWELCOMEFINISHPAGE_BITMAP_NOSTRETCH

!define MUI_FINISHPAGE_TEXT "${PRODUCT_NAME} ${PRODUCT_VERSION} has been successfully installed!$\r$\n$\r$\nNewer versions can be installed directly from the Desktop Client."
!define MUI_FINISHPAGE_RUN_TEXT "Run ${PRODUCT_NAME}"
!define MUI_FINISHPAGE_RUN "$INSTDIR\VXMusicDesktop.exe"

!define MUI_FINISHPAGE_LINK "Follow me on Twitter!"
!define MUI_FINISHPAGE_LINK_LOCATION "https://twitter.com/Soapwood_"
!define MUI_FINISHPAGE_LINK_COLOR 0000FF

!define MUI_PRODUCT "VXMusic"
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_LICENSE "${SOURCE_PATH}\license.txt"
!insertmacro MUI_PAGE_DIRECTORY
Expand Down

0 comments on commit 6cbbce2

Please sign in to comment.