$(^NameDA) not found for uninstaller.
Hi, i'm a newbie, recently, i took over an NSIS project done by another programmer. The project uses MUI.
For 2 days, I've been trying in vain to find out how to solve a bug in which the "program name" does not appear in the uninstaller. The problem does not affect the installer and the software appears ok in Windows Add/Remove dialog as well.
My investigations led me to the variable $(^NameDA) in the file English.nlf.
For example, the line
"$(^NameDA) will be uninstalled from the following folder."
will appear as
" will be uninstalled from the following folder." in my uninstaller.
Here's some code, hope someone can give me a tip on where to look. Would appreciate a lot. :)
#####################
# Uninstaller pages #
#####################
!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES
########################
# Installer attributes #
########################
Name "$_ShortName"
OutFile "installer\bin\${DEFAULT_SETUP_FILENAME}" ; Installer output file
InstallDir "$PROGRAMFILES\$_CombinedVar" ; Default installation directory
InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" ""
BrandingText "$_CompanyName" ; Text at the bottom of the install window
ShowInstDetails hide ; Details are not shown by default
ShowUnInstDetails hide ; Details are not shown by default
XPStyle on ; XP controls styles
CRCCheck on ; The installer performs a CRC check before installing
;SetCompressor lzma
VIProductVersion "0.0.0.0"
VIAddVersionKey ProductName ""
VIAddVersionKey ProductVersion ""
VIAddVersionKey CompanyName ""
VIAddVersionKey CompanyWebsite ""
VIAddVersionKey FileVersion ""
VIAddVersionKey FileDescription ""
VIAddVersionKey LegalCopyright "?2006. All rights reserved."