View Single Post
Old 26th February 2019, 06:43   #2
JasonFriday13
Major Dude
 
JasonFriday13's Avatar
 
Join Date: May 2005
Location: New Zealand
Posts: 891
If you have nsis 3, try this:

!define IHUB_PRODUCT_NAME "OpenText Magellan BI & Reporting System Console 16.6"
!define IHUB_PRODUCT_NAME_DA "OpenText Magellan BI && Reporting System Console 16.6"

Name "${IHUB_PRODUCT_NAME}" "${IHUB_PRODUCT_NAME_DA}"

Name has an optional parameter for using doubled ampersands.

Also, you can use defines within defines:

!define IHUB_PRODUCT_VERSION "16.6"
!define IHUB_PRODUCT_NAME "OpenText Magellan BI & Reporting System Console ${IHUB_PRODUCT_VERSION}"
!define IHUB_PRODUCT_NAME_DA "OpenText Magellan BI && Reporting System Console ${IHUB_PRODUCT_VERSION}"

"Only a MouseHelmet will save you from a MouseTrap" -Jason Ross (Me)
NSIS 3 POSIX Ninja
Wiki Profile
JasonFriday13 is offline   Reply With Quote