i have this problem… i did a personal messagebox… i put in a very funny way english and spanish… but i want my installer to display only one language… like… when i choose in the menu selector spanish… in that messagebox shows spanish… if a choose italian in the menu selector… let that messagebox show itallian.
[code]
function NextButtonClick1(PageId: Integer): Boolean;
begin
Result := True;
if (PageId = wpSelectDir) and not FileExists(ExpandConstant('{app}\xxx.exe')) then begin
MsgBox('"Thi App" does not seem to be installed in that folder. Please select the correct folder. [Selecciona la Carpeta de Instalación de la Aplicación]', mbError, MB_OK);
Result := False;
exit;
end;
end;
Use the
[CustomMessages]section and prefix the message names there with the internal name of the language like shown in the following script: