If anyone knows, could you tell me how to assign 2 paths to this directive?
I declared this path here at the beginning, but it only receives 1
[setup]
DefaultDirName=C:\mygame\TEST
[code]
function InitializeSetup(): Boolean;
begin
if (FileExists(ExpandConstant('C:\mygame\TEST\install.exe'))) then
begin
Result := true;
end
else if (FileExists(ExpandConstant('D:\mygame\TEST\install.exe'))) then
begin
Result := true;
end
else
begin
Result := false;
end
end;