Hello, I have to get my installation destination directory from Windows register. The result is saved in a vairaible in [Code] section. Then my question is how to use this variable as my DestDir in [Files] section?
For example, I wrote DestDir : {code: MyVariable} without success. Then writing a function like this:
function GetDestDir(): String;
begin
Result := ExpandConstant(MyVariable);
end;
writing DestDir: {code: GetDestDir} is still unluck.
Any help are appreciated.