When i add custom mesage enter link description here do not show percent onli name. How to show percent.
This is my setings
[CustomMessages]
Done=Завршено
procedure CurInstallProgressChanged(CurProgress, MaxProgress: Integer);
var
CurTick: DWORD;
begin
CurTick := GetTickCount;
PercentLabel.Caption :=ExpandConstant('{cm:Done}');
Format('Done: %.2f %%', [(CurProgress * 100.0) / MaxProgress]);
Done=Done %.2f %%
and in code then usePercentLabel.Caption := Format(ExpandConstant('{cm:Done}'), [(CurProgress * 100.0) / MaxProgress]);
. – TLama May 1 '14 at 22:13ExpandConstant
s with{cm:}
s without seeing the string values that are going to be formatted. Hence I would keep being lazy and let it be as it is :-) – TLama May 3 '14 at 17:59