Archive: LangString not set in language table...


LangString not set in language table...
already looked and found similar post, but still same warning.
ok it's a warning but i'm curious what is causing it.
just upgraded nsis 207.
"AppName" is not a reserved word so why compiler complains ?...
just to know.


compiler abstract:

Processed 1 file, writing output:
Adding plug-ins initializing function... Done!
Processing pages... Done!
Removing unused resources... Done!
Generating language tables... warning: LangString "AppName" is not set in language table of language 1033
warning: LangString "AppName" is not set in language table of language 1033
warning: LangString "AppName" is not set in language table of language 1033
warning: LangString "AppName" is not set in language table of language 1033
warning: LangString "AppName" is not set in language table of language 1033
warning: LangString "AppName" is not set in language table of language 1033
Done!
Generating uninstaller... Done!


...and the test code:

Name "pippo"
OutFile "pippo.exe"
!include "MUI.nsh"
!define AppName "pippo"
!insertmacro MUI_LANGUAGE "English"
InstallDir "$WINDIR"
InstallDirRegKey HKLM "Software\$(AppName)" ""
ShowInstDetails nevershow

Section "pippo"
SetOverWrite ifnewer
SetOutPath "$INSTDIR"
File "c:\sources\myapp.exe"
WriteRegStr HKLM "Software\$(AppName)" "" $INSTDIR
WriteUninstaller "$INSTDIR\myappUninstall.exe"
SectionEnd

Section "Uninstall"
Delete "$INSTDIR\myapp.exe"
Delete "$INSTDIR\myappUninstall.exe"
DeleteRegKey /ifempty HKLM "Software\$(AppName)"
SectionEnd


You are using AppName as if it was a LangString, not a define. Use curly brackets not parenthesis.


thanks
ok: now i'm absolutely sure i do have to go to the doctor and check my glasses...
tks.